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 2015-07-31 17:21:06

newxxx
Member
Registered: 2012-06-11
Posts: 702

cron job - alotporn ????

hi

i think i read in one of the forum's postings (don't remember which one)

that in one of the last posts in that section's conversation,

Alotporn mentioned that he used a cron job to automatially rotate galleries, from the back to the front, every 15 minutes, to keep the website looking constantly updated

how is that done?

thank you

Last edited by newxxx (2015-07-31 17:22:05)

Offline

#2 2015-07-31 21:20:56

Eri
Member
Registered: 2011-03-18
Posts: 977

Re: cron job - alotporn ????

make a code that will activate disabled videos and run it every 30 min from cronjob, so you will have every 30 min new content on your page.


Best Adult Affilitate Network:
ExoClick
Best Deals on Dedicated Servers - CDN
INXY

Offline

#3 2015-07-31 21:45:26

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

Re: cron job - alotporn ????

in the admin - dashboard - tools - click on cronscript - edit Video Shuffle and set it on 15 min (mine is set on 60 min).
but you have to edit some more in ftp edit this public_html/cron/scripts/video_shuffle.php look for this:
SELECT video_id
                  FROM #__video
                  WHERE status = 1
                  ORDER BY add_time ASC
                  LIMIT 60

change 60 into 1

thats it the script rotate every 15 min a video.
good luck
greetings
Jaco

Offline

#4 2015-08-01 14:09:07

newxxx
Member
Registered: 2012-06-11
Posts: 702

Re: cron job - alotporn ????

Thanks !!!!!

Offline

#5 2015-08-01 18:01:48

xpornclub
Member
From: California
Registered: 2012-01-01
Posts: 445
Website

Re: cron job - alotporn ????

That is added already in the latest version.

Offline

#6 2015-08-01 21:22:57

newxxx
Member
Registered: 2012-06-11
Posts: 702

Re: cron job - alotporn ????

xpornclub wrote:

That is added already in the latest version.

so how exactly does it work,

and is it automatic, or does it need to be turned on/off ?

thank you

Offline

Board footer

Powered by FluxBB