Auto-Video Site Using Wordpress

Status
Not open for further replies.
phpBay 3.0.8

The phpBay conflict should now be fixed and to think it was only 3 lines of code that needed to be chanted to solve the issue, such a small solution for such the effect.

However I'm still having an issue with the pBL button in the HTML editor when using it in conjunction with RealVMS, but it still works if you manually enter

[phpbay]keywords, 10[/phpbay]

I'll spend a little more time trying to determine why the button no longer works in conjunction with RealVMS, it works fine when RealVMS is active and when you manually create a post but when you are adding a post via RealVMS it seems to effect there button.

I'm asuming it has to do with the manipulation I do to the WP backend but anyway yeah the issue you were having should now be solved.

I'm just testing the automation feature really good and then I'll toss everyone a link again and see who is still having issues and go from there, however I'm pretty sure all the current issues should be solved (Can't be 100% sure until it gets tested on multiple hosting accounts).
 


Scratch that last post,

Changed a few more things and so far everything is working perfectly fine with the phpBay plugin.
 
NEW UPDATE NEED ADDITIONAL TESTS

Hey everyone,

Here is a link to version 1.2 of the plug and a description of how to upgrade properly, what to expect and what should be fixed, however there are probably still a few bugs floating around it but let me know of anything you experience or think is wrong - I'll be doing more updates and adding more functionality this week as well.

CLICK HERE TO DOWNLOAD NEW UPDATE - VERSION 1.2

UPGRADE INSTRUCTIONS

1) Deactivate your current RealVMS installation

2)
Remove the old RealVMS folder from your plugin directory

3) Upload the new version 1.2 files to your plugin directory

4) Re-activate the plugin and test

ADDITIONAL INSTALL NOTE

There is a chance that when you re-activate the table structure will fail to upgrade, I've got it to a point where I've tested about 20 successful times in a row so I don't think it'll be a problem but I'm curious to see what happens on other hosting environments.

Also if you re-activate and don't see any initial errors but when you use the plugin something doesn't seem to work, you may want to (If you know how) deactivate the plugin again, go into your phpMyAdmin panel and remove the realvms tables, you might have the following in your database.

realvms_options
realvms_automate
realvms_api_settings - No Longer required
realvms_social_services - No longer required

Then reactivate the plugin from there. There is a good chance you won't have to do this but just in case I thought I would mention it, additionally if you dont know how to do this let me know any problem your having and I'll help you out with the step.

BUG FIXES

I fixed a fair bit of bugs in this release and this one should be a hell of a lot more stable then version 1.0 and 1.1 here is what I fixed up and added

1) Plugin should now work fine in conjunction with the phpBay Plugin

2) Fixed some issues with the tagging features (Mainly with the automate feature)

3) Fixed the issues with posts having the same titles

4) Fixed some bugs with posts not going into there correct categories

5) Added some additional features to prevent duplicate entries

6) Videos you view via the manual add tab should all play for you, you shouldn't see any videos saying "This video is not avail in your area" or similar messages, you may get a few but 98% of them are cut out

7) In the manual tab you'll now see two buttons below the images 1 is add to site the other is preview, when you click the preview link a new window should pop-up which will have the video ready to be played in it, the other button well click and find out ;)

8) I've added a way to edit any current automation features you may have setup so you dont have to delete them and re-add them.

9) I removed the auto bookmark feature for Magnolia because they are having some serious site issues right now and will probably be down for awhile once they are back up and going strong I'll re-add them into it.

10) I've fixed up a lot of the automation problems people were having and also you can now choose to automatically add your posts to Delicious and Faves.com via the automation feature - BE WARNED ADDING 50,000 bookmarks per day will lead to an account ban on these sites so don't say I didn't warn you.

11) For anyone looking at the code you'll notice a lot more comments and it'll be a lot cleaner to read - figured I'd do a bit of cleanup this time around

12) In the automation feature you can now specify a YouTube category to pull videos from and I let you sort those results returned by the API

I think that covers most of the issues people were having.

ADDITIONAL NOTES

I was going to wait a few more days to release this because I wanted to clean up the design and add some more control over the comments (making them more natural) and add in some more features.

I figured I'd give you what I got now because it will allow you guys to test and keep an eye open for any new or current bugs you see so that I can fix them as I go along with new features ect....

Also as always I want to hear about anything that you think can make it better.

Anyway test this version out and let me know.......I know there are still some fixes to be made but one step at a time.
 
might i just say to all the tards who will inevitably post here crying about something... READ THE FUCKING MANUAL (or rather the post above).

as always - great plugin!
 
Aequitas,

I ran into something interesting. I was playing around with the Manual Posting function and it froze up on me. It actually froze up the whole WP control panel. Even after I hit the stop button in my browser to stop the process, I wasn't able to do get anywhere in the admim panel. I had to wait a few minutes and come back to it.

I was searching for the term: affiliate summit. No quotes. All categories. Sorted by relevance.

When I searched for SEO, no quotes, it returned results in seconds.

Just for shits and giggles, I tried searching for affiliate summit at youtube directly and found results with the same settings. Here's the search: YouTube - affiliate summit
 
Aequitas,

I ran into something interesting. I was playing around with the Manual Posting function and it froze up on me. It actually froze up the whole WP control panel. Even after I hit the stop button in my browser to stop the process, I wasn't able to do get anywhere in the admim panel. I had to wait a few minutes and come back to it.

I was searching for the term: affiliate summit. No quotes. All categories. Sorted by relevance.

When I searched for SEO, no quotes, it returned results in seconds.

Just for shits and giggles, I tried searching for affiliate summit at youtube directly and found results with the same settings. Here's the search: YouTube - affiliate summit

Hmm that is interesting, mine didn't freeze up but it seemed like it was in an endless loop.

There might be something with the YouTube feed results for that term that my code is fucking up on, I'll investigate this into more detail.

Have you had a chance to try out the automation feature?
 
Hi Aequitas,
you said :
2) Fixed some issues with the tagging features (Mainly with the automate feature)
I assume you are talking about the "-" character that was being appended to tags that were pulled from youtube ?

I was just wondering, is there a way to quickly fix all the tags that have been created already ? Because I have about 200 post and most of them have tags with "-", and assuming that the plugin is now fixed and that i get the automation feature to work (sent you a pm bout it), how do i remove all the "-" from the tags easily ?
 
Hi Aequitas,
you said :

I assume you are talking about the "-" character that was being appended to tags that were pulled from youtube ?

I was just wondering, is there a way to quickly fix all the tags that have been created already ? Because I have about 200 post and most of them have tags with "-", and assuming that the plugin is now fixed and that i get the automation feature to work (sent you a pm bout it), how do i remove all the "-" from the tags easily ?

Hey sent you a message about the automation issues the plug is still having as for this I'll do up a quick little script which will take care of that for you and send it to you in a PM.
 
Aequitas,

I ran into something interesting. I was playing around with the Manual Posting function and it froze up on me. It actually froze up the whole WP control panel. Even after I hit the stop button in my browser to stop the process, I wasn't able to do get anywhere in the admim panel. I had to wait a few minutes and come back to it.

I was searching for the term: affiliate summit. No quotes. All categories. Sorted by relevance.

When I searched for SEO, no quotes, it returned results in seconds.

Just for shits and giggles, I tried searching for affiliate summit at youtube directly and found results with the same settings. Here's the search: YouTube - affiliate summit

So I dug deeper into that term and for some really fucked up reason the actual YouTube API result does NOT return anything for the term Affiliate Summit when the category is set to All

You can check that out from the link below

YouTube Videos matching query: Affiliate Summit

Additionally I wen't ahead and continued to play with the categories and if you set categories to Education and them do the same search it actually returns results just fine and that can be seen from the link below

YouTube Videos matching query: Affiliate Summit

I'm actually really glad you discovered this because it lead me to find a new bug in my YouTube class which I just fixed up.

However I'm now going to have to write up a little bit of extra documentation letting users know that if they can't find a broad search term while using the all category then they should try to choose another category to search from.

But yeah its strange that the actual YouTube API would return videos under specific categories but display nothing when its under the all category.

Also when I looked even deeper when you exclude the category paramater all together then the YouTube API still return results fine just as it would return results just fine if you were to search under the Education category.

YouTube Videos matching query: Affiliate Summit

I wonder if its a bug they don't know about (It wouldn't be the first time I've seen a bug or hole in there systems).
 
Also just so everyone knows I'm going to release another update on Friday which will include the following.

1) Various Design, Documentation, & Troubleshooting Upgrades Built Directly Into The plugin.

2) Various Bug Fixes - It appears that a lot of people are still having issues with the automation feature and I did just fix a few small bugs and I'm going to go through it with a fine tooth comb but I think some of the issues are with some people who don't know how to properly setup there own cron job.

With that said the update on Friday will include a new type of Cron system, one which is as easy as setting a time and clicking a button directly from inside of the plugin.

Yes I finally got the wordpress cron system to work on a stable basis now.

Also for those of you who with to use your hosts cron system that will still be a full option for you, this is just going to give everyone one additional option to choose from for the automation section of the plugin.

3) The project will be added to a subversion type system soon (After this next update) so when there is a new update it will just automatically tell you in your wordpress admin panel instead of you having to come to me for a new download each time.

4) Also I think I'll have a bit of time to include a more naturally commenting system as well as a more natural looking automation - one which enables you to say something along the lines of post 3 comments a day (at random times in the day) for 30 days (or until the max number of comments you want to post are reached).

And for the natural video posting I'm trying to incorporate a system which enables you to say post 2 videos a day at random times (Or one in the morning and one at night - and/or at a specific time setup by you) and do this for a max of 30 days or until I have a certain number of videos for this category, ect...

I would also love to hear additional input into any ideas you have on ways to make these blog comments and video posting appear to be much more natural in the way they are being added to the websites.

There are lots more coming with this plugin so just hang in there through the inital bug fixes, it will be 100% stable soon - well I never like to say 100% so I'll say 97% stable.
 
NEW UPDATE NEED ADDITIONAL TESTS

Here is a link to version 1.3

CLICK HERE TO DOWNLOAD NEW UPDATE - VERSION 1.3

UPGRADE INSTRUCTIONS

1) Deactivate your current RealVMS installation

2)
Remove the old RealVMS folder from your plugin directory

3) Upload the new version 1.3 files to your plugin directory

4) Re-activate the plugin and test

ADDITIONAL INSTALL NOTE

I changed the location of the automate.php file back to the main directory so its no longer in the /includes/ folder so you'll probably have to change up your CRON job again.

I promise that is the very last time that file will be moved, I was doing a bunch of organization so its easier to do future updates with so now everything is fairly organized and there is no need to move that file around anymore.

BUG FIXES AND CHANGES

1) Fixed a bug with the manually add videos section, it was a tag bug for some reason the tags were not being added to the post when using the manual feature but now they will be.

2) Cleaned up the design a little bit and added a little bit more troubleshooting tips

3) Fixed an issue from Version 1.2 in the manual add and automate feature which was when you enter in a term like "Affiliate Marketing" with the category "All" selected it would go into an everlasting loop but that is now fixed.

4) Fixed a bug in the YouTube class which wen't into another everlasting loop should there be less then a certain number of results returned.

5) Under the automation section you'll now see an option which enables you to avoid using a CRON job if you don't want to, this system is built upon the Wordpress CRON system.

ADDITIONAL NOTES

If you use the built in Wordpress CRON system (From the automate section) and you don't get any traffic to your site then the CRON will NOT FIRE.

It fires only when a visitor comes to your site (But tests show it doesn't slow down your website if you keep your automation under 10 posts each time).

Basically it works like this you setup a time for it to fire say 12pm and if a user comes to your site after that time then the posts get added but if there are no users then your posts won't get added until someone visits the site after that timeframe.

If you don't know how to setup your own CRON job provided by your hosting provider I encourage you to use the built in one, but if you wish to continue using the CRON by your hosting provider for more flexability then it won't hurt anything, you can even use the 2 in combination with each other.

Finally I'm in the process of re-writing the documentation on the RealVMS website but to use the automation feature successfully just do the following.

1) Click the automation tab

2) Enter in a search term, and choose the other options from the bottom form and save it (Once saved you should see it in the right hand sidebar)

3) From the top form (Main form) select a time to start the automation at and click the start button, if you wish to stop it after then click the stop button.

Also here is a different quick easy to use plug I did up which goes through all of the tags in your database and fixes any errors they may have, in version 1.0 and 1.1 of RealVMS some of the added tags would result in a URL error but just run this plugin and it'll fix any issues with your tags you may have.

TAG CLEANER DOWNLOAD

ACTIVATION INSTRUCTIONS FOR THE TAG CLEANER

1) Extract and copy to your plugin directory

2) Activate from your admin panel

3) Under the tools tab you'll see a link called Tag Cleaner, click that

4) Press the "Start Cleanup" button and your all done.

Additionally let me know if you still have issues or see any more bugs.
 
  • Like
Reactions: Vox
HI Aequitas,
There is something weird going on,
Sometimes your plugin will add video post that dont seem to have any relation with the keywords i typed, i understand this could be because for some reason it found a relation to the video based on the video description or comments, but anyways, the point is that when i go to the Edit post page in wordpress, i manually delete some of these unrelated posts, however as soon as the post is deleted, the page refreshes and i see it there again... I dont know if this happened with all the post i deleted in the past but i just noticed it now while trying to delete the 2 latest posts.

The solution i could find is to put the post in "unpublished" mode...

As for the tag cleaning plugin, i think it worked partly, i see alot of tags that are now written like this : keyword" or "keyword or ""keyword ...
Maybe this is because i ran the cleaning more than once...
Another thing is that although i think most of the tags name were cleaned, the tag slug stayed the same , so the tag url looks like this : www.domain.com/tag/-keyword

Thanks again for the great plugin, i think automation is working now, although the post were being put into the "uncategorized" category, but that might have been my mistake, i redid the automation task and will see if it works for sure in the next few hours.
 
Hey Aequitas,

Just downloaded the 1.3V plugin and encountered this error when I went to activate:

Code:
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/.giacometti/xxxxxxxx/xxxxxxxxx.com/wp-content/plugins/RealVMS/classes/YouTube.php on line 4

This is on a Dreamhost account.

I get the same error on a different dedicated server too.

Thanks.
 
HI Aequitas,
There is something weird going on,
Sometimes your plugin will add video post that dont seem to have any relation with the keywords i typed, i understand this could be because for some reason it found a relation to the video based on the video description or comments, but anyways, the point is that when i go to the Edit post page in wordpress, i manually delete some of these unrelated posts, however as soon as the post is deleted, the page refreshes and i see it there again... I dont know if this happened with all the post i deleted in the past but i just noticed it now while trying to delete the 2 latest posts.

The solution i could find is to put the post in "unpublished" mode...

As for the tag cleaning plugin, i think it worked partly, i see alot of tags that are now written like this : keyword" or "keyword or ""keyword ...
Maybe this is because i ran the cleaning more than once...
Another thing is that although i think most of the tags name were cleaned, the tag slug stayed the same , so the tag url looks like this : www.domain.com/tag/-keyword

Thanks again for the great plugin, i think automation is working now, although the post were being put into the "uncategorized" category, but that might have been my mistake, i redid the automation task and will see if it works for sure in the next few hours.

Thanks for your input and I'm well aware of the issue of post deletion, you see I'm faced with a hard choice with this one, if I keep the system the way it is now the problem is exactly as you stated, if you delete a post then that post will just get re-added again.

The solution to this is when we delete the post we keep some info in the database letting us know not to re-add this post (Very simple to do) however the problem comes when someone deletes posts that they then want to re-add, they won't be able to because that result will no longer come up in the searches.

So its one of those things, but I'm going to be choosing the lesser of the two evils until I figure something solid out for it and the lesser of the two evils in this case is the second solution I just talked about.

As for the Tag Cleaner, that is my bad I didn't make it check for any double quotes in the tag slugs, however the sanitize_title function I was using should have taken care of them, I'll do a few more tag checks with it on my own as well and give you an updated version.

I'm glad to hear the automation feature is starting to work, and as for them going into the uncategorized category well just before I released this version I noticed something unexpected and a little bit unexplained about the automation feature.

You see I have code set up which takes the category ID (Well name) you select and put it directly into the database, and I quadrupal checked that this value was correct a fraction of a second before it was being added to the database and then guess what the values that were continuously being added to my database were NOT the right ones, it made and still makes zero sense to me at this point.

It was inserting the uncategorized number into the database, so after awhile I figured it out, it was because (For some odd reason) the tag tables in the database were a bit off center.

So I completely emptied the 3 tag database and re-tesed and re-worked some things and after that everything started working perfectly fine.

But it is something I'm aware about and it is something which can easily happen to the database of others so I'm looking at a work around.

Just know if it continually adds your posts to the uncategorized category then your facing the problem and I'm working hard to find a proper fix for it.
 
Hey Aequitas,

Just downloaded the 1.3V plugin and encountered this error when I went to activate:

Code:
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/.giacometti/xxxxxxxx/xxxxxxxxx.com/wp-content/plugins/RealVMS/classes/YouTube.php on line 4
This is on a Dreamhost account.

I get the same error on a different dedicated server too.

Thanks.

Let me guess your only using a strict PHP 4 based environment, thanks for letting me know I'll go through and see if I can replicate what your experiencing.
 
Hey Aequitas,

Just downloaded the 1.3V plugin and encountered this error when I went to activate:

Code:
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/.giacometti/xxxxxxxx/xxxxxxxxx.com/wp-content/plugins/RealVMS/classes/YouTube.php on line 4
This is on a Dreamhost account.

I get the same error on a different dedicated server too.

Thanks.

Ok go ahead and re-download the files from the RealVMS.com website or from the link above and remove your old files and re-upload these files, that should fix the issue your having.

It was only a few short lines of code I forgot that PHP4 doesn't like the use of the PUBLIC keyword so they had to be changed to VAR.

I really hate PHP4 after getting so used to PHP5.
 
Status
Not open for further replies.