Adult Script Pro Community Forums

The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!

You are not logged in.

#1 2016-11-13 11:14:27

Double_D
Member
From: The Netherlands
Registered: 2014-08-14
Posts: 305
Website

Cron shedule

Hello Adrian,

maybe i do something wrong but if i upload a video and i want it on the website in future.
I select video - shedule - select date and time.
The cron Video Shedule is active.
The video is online on date and time that i select(that is working perfect) but it comes not as a new video.
It take the time and date when i uploaded on the server admin.

Is there a way to change this that it becomes as a new video.

Thank you and have a nice day wink
Greetings
Jaco

Offline

#2 2016-11-14 15:48:02

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: Cron shedule

Edit cron/scripts/video_shedule.php and replace:

            $db->query("UPDATE #__video
                        SET status = 1
                        WHERE video_id = ".$video_id."
                        LIMIT 1");

with:

            $db->query("UPDATE #__video
                        SET status = 1,
                                add_time = ".time()."
                        WHERE video_id = ".$video_id."
                        LIMIT 1");

Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#3 2016-11-14 15:49:53

Double_D
Member
From: The Netherlands
Registered: 2014-08-14
Posts: 305
Website

Re: Cron shedule

Perfect thanks, Adrian

Offline

Board footer

Powered by FluxBB