webgod
15 Aug 2007, 23:32
I'm a programmer by profession, but I am still trying to get the hang of Vbulletin.
here is what I am trying to do:
I'd like to place a snippet of code in the footer template that creates an array which israndom sorted then spits it out the resultants...
basically I'm randomize the display order of ~ 50 images.
The code works perfectly in a standalone php page...
however when I insert it into the footer template, it obviously does not.
so my question is, what is the easiest way of achieving my result?
here's a snippet of the php code structure:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
here is what I am trying to do:
I'd like to place a snippet of code in the footer template that creates an array which israndom sorted then spits it out the resultants...
basically I'm randomize the display order of ~ 50 images.
The code works perfectly in a standalone php page...
however when I insert it into the footer template, it obviously does not.
so my question is, what is the easiest way of achieving my result?
here's a snippet of the php code structure:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------