Best Free TGP Gallery Rotator?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • riddler
    Confirmed User
    • Oct 2004
    • 3726

    #1

    Best Free TGP Gallery Rotator?

    I'm looking for a free TGP gallery rotator, Not sure how hard it would be for me to code something in php to work beside autogallery but I want to see if there is any free ones out right now
  • Lycanthrope
    Confirmed User
    • Jan 2004
    • 4517

    #2
    random.php
    -----------------------------------------------
    <?
    $delim = "\n";
    $cryfile = "galleries.txt";
    $fp = fopen($cryfile, "r");
    $contents = fread($fp, filesize($cryfile));
    $cry_arr = explode($delim,$contents);
    fclose($fp);
    srand((double)microtime()*1000000);
    $cry_index = (rand(1, sizeof($cry_arr)) - 1);
    $herecry = $cry_arr[$cry_index];
    echo $herecry;
    ?>
    -----------------------------------------------

    galleries.txt
    -----------------------------------------------
    <a href="gallery1.url">Gallery 1 Description</a>
    <a href="gallery2.url">Gallery 2 Description</a>
    <a href="gallery3.url">Gallery 3 Description</a>
    etc...
    -----------------------------------------------

    Then just call them:

    php
    <? include ("random.php"); ?>
    ssh
    <!--#include virtual="random.php"-->

    or try http://www.gallerybooster.com

    or see sig for Gallery Admin
    Not free, but few great scripts are

    Comment

    • riddler
      Confirmed User
      • Oct 2004
      • 3726

      #3
      heh, nice, i was looking at prices, since this is just for hosted galleries i didnt wanna spend anything until i seen if its worth keeping up.

      Comment

      • xclusive
        Too lazy to set a custom title
        • Apr 2004
        • 35218

        #4
        Originally posted by Lycanthrope
        random.php
        -----------------------------------------------
        <?
        $delim = "\n";
        $cryfile = "galleries.txt";
        $fp = fopen($cryfile, "r");
        $contents = fread($fp, filesize($cryfile));
        $cry_arr = explode($delim,$contents);
        fclose($fp);
        srand((double)microtime()*1000000);
        $cry_index = (rand(1, sizeof($cry_arr)) - 1);
        $herecry = $cry_arr[$cry_index];
        echo $herecry;
        ?>
        -----------------------------------------------

        galleries.txt
        -----------------------------------------------
        <a href="gallery1.url">Gallery 1 Description</a>
        <a href="gallery2.url">Gallery 2 Description</a>
        <a href="gallery3.url">Gallery 3 Description</a>
        etc...
        -----------------------------------------------

        Then just call them:

        php
        <? include ("random.php"); ?>
        ssh
        <!--#include virtual="random.php"-->

        or try http://www.gallerybooster.com

        or see sig for Gallery Admin
        Not free, but few great scripts are
        Thanks very helpful

        I support MediumPimpin.com / Shemp's Outlawtgp.com /


        Comment

        • kaliboy2g
          So Fucking Banned (YEA!!)
          • Jun 2004
          • 10963

          #5
          Comus 2% skim
          Care about me?
          Who?
          Me!
          Who?

          Comment

          Working...