• Welcome to PHPVIBE Forums. Please log in.

[ Video Sharing CMS v4 ] Redtube Video check for cron

Started by pitbullgti,

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

pitbullgtiTopic starter

Hi Mario, nice work you've been doing, and i'm loving it all the way!

since my last post http://www.phprevolution.com/forum/script-modifications-203/redtube-api-mass-videos-importer/msg11380/#msg11380  3.3rc2 was release and the xclubpack 2.0 with great improvements, but still, when videos are removed from redtube i dont see any king of check from phpvibe to remove it in case it no longer exists.

Is this easly made for redtube and with a cron job?

Thanks in advance,
keep up the great work!
  •  

Marius P.

Hi! Thank you! It was not done yet, but we will improve the redtube importer, right now it's not hooked to the cron.
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

pitbullgtiTopic starter

so the only way right now, is remove and reimport, right?

And do you have a timeline for the feature? because redtube deletes and adds about 20k videos per day.

once again, great job and thank you for quick reply
  •  

pitbullgtiTopic starter

something like this might work

Deletion plugin for Stream Rotator
It is very easy to delete videos that are no longer available on RedTube via our deletion plugins.
Delete via streampurge.php (download streampurge.php here)
Copy the file "steampurge.php" into your streamrotator folder and open it in your browser. Here you can insert the dump called "Deleted videos (ID)" (download it here http://affiliate.redtube.com/export.php at the section "Full database dump") and push the "Delete from stream" button. Make sure that only you have access to this file so nobody else can delete videos.
Delete via streampurgecsv.php (download streampurgecsv.php here)
Download the "streampurgecsv.php" file and copy the file into your streamrotator folder and run it regulary. It is most convenient if you setup a cron job to do this.
If you use insertion of description in the template of Stream Rotator as a href="#DESC" you have to modify	
MYSQL_QUERY("UPDATE galleries SET gallery_state='disable' WHERE gallery_url='$url'"); 
to	
MYSQL_QUERY("UPDATE galleries SET gallery_state='disable' WHERE gallery_desc='$url'");
streampurge.php
streampurgecsv.php
  •  

Marius P.

I know how to do it, we just don't have enough people to do all stuff at one, we are just 2 persons on coding.
I don't have an eta, 3.4 upgrade it's main priority now.
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

pitbullgtiTopic starter

Hi Mario,

Glad to see great developing on phpvibe.

Regarding this matter for the StreamRotator for adultpack, is there any news regarding it?

Recall: When redtube videos are deleted from redtube, phpvibe does not check them nor remove them from db, this way i'm getting "holes" on the script because of missing videos.

Thank you,
Regards
  •  

PHPVibe A.

We can make that without that plugin, they will go unpublished, there are other things to add to xclub, but it's pending an massive upgrade which will have this to.

pitbullgtiTopic starter

Thank you for your reply Alexander, any aproximate e.t.a. for that?

Sorry the question, it's just that i have a full "channel" on my website offline because of this ...function that does not exist yet, that's the reason i'm asking.

Thank you very much.

Cheers, and good coding.
  •  

PHPVibe A.

Not sure, I'm detached on support only for now, not coding for a period.
I know a small upgrade is set for Monday, so shortly after the coding for xclub 2.2 will start.

Similar topics (7)