Rotate galleries in Tgp Rotator

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Neouy
    Registered User
    • Sep 2004
    • 32

    #1

    Rotate galleries in Tgp Rotator

    Somebody knows like doing so that they permanently rotate the galleries in tgp rotator whenever a user enters the page, without having to carry out changes in the Control Panel ?
  • Lycanthrope
    Confirmed User
    • Jan 2004
    • 4517

    #2
    1) use cron to rebuild the pages every 15 minutes or so:

    0,15,30,45 * * * * /home/account/domains/domain.com/public_html/cgi-bin/tgp/cron.cgi --build-with-new

    or

    2) build say 100 pages and use a random php include

    Comment

    • Neouy
      Registered User
      • Sep 2004
      • 32

      #3
      Ok, thanks for your answer Lycanthrope, that serious one to renew the galleries every 15 minutes, but like serious renewing them constantly?

      Comment

      • Lycanthrope
        Confirmed User
        • Jan 2004
        • 4517

        #4
        The way that one cront entry is written, yes - on the hour, 15, 30 and 45 minutes past past EVERY hour, every day of the month, every month, every day of the week.

        If you wanted to do it every minute, just change minutes to the wildcard:

        * * * * * /home/account/domains/domain.com/public_html/cgi-bin/tgp/cron.cgi --build-with-new

        Check your paths of course, they may be different.

        Comment

        • xtraeye
          Registered User
          • Nov 2006
          • 11

          #5
          I use the below. Randomly changes my links from a database once a day. Works well, plus it's free!

          tomsnewbiebooster.com/resources/private-tgp-or-link-list/script.html

          Comment

          • almighty
            Confirmed User
            • Dec 2003
            • 838

            #6
            he is asking how to change the page everytime someone enters or refreshes i believe i have a custom script that is php that does mine every time the page loads the thumbs change

            www.norecip.info

            Comment

            • Neouy
              Registered User
              • Sep 2004
              • 32

              #7
              Thanks for the answers, anyway I solved with the option in my cpanel / Cron jobs / Command to run: /home/sexmores/public_html/cgi-bin/tgp/cron.cgi --build-with-new / every minute / every hour / every day / every months / every weekday.

              I hope with this not to overload much my server.

              Comment

              Working...