Using a var in Template header

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Robert9
    Member
    • Oct 2001
    • 53

    Using a var in Template header

    In 2.x i defined in global.php something like

    $rand99 = random(0,99);

    Then i insert it into my header like

    bannerexchange=something.$rand

    and got on every site something like

    bannerexchange=something.0 ... till 99

    Now i tried the same to 3.0, but it seems my var is not passed. So i need a place where i can put this little random-function into.
  • Zachery
    Former vBulletin Support
    • Jul 2002
    • 59097

    #2
    outside code / hacking / 3rd party scripts should be discussed at vBulletin.org./

    Comment

    • Robert9
      Member
      • Oct 2001
      • 53

      #3
      Ok. It was an easy one, just put it in phpinclude_start ;-)

      -----------

      Sorry, but for me this seems an important function of the script itself. But you may delete it. I will finish for this night.

      Comment

      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
      Working...