The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
I just started a small motorbike/car/speed related banner exchange and a couple of my users are running vbulletin 2.0.3. Now my question is, if they add the supplied code to the HTML header, in the VBulletin Admin CP, the page ID is not unique on each displayed page of the forum. Resulting in cached banners and missed credits. I was wondering is their a way to generate a random number in place of the page ID in the html header in admin CP??
I hope all that makes sense. Thanks a ton in advance for any help you may be able to give. Insane. |
#2
|
|||
|
|||
Within the styles part of the admin panel, tell them to add this code to the Header Insert of the appropriate style.
PHP Code:
hope this helps. |
#3
|
|||
|
|||
Thanks i passed on the info and was asked where to put the first bit :
srand(time()); $pageid = rand(); something about what part of styles?!? i think... Edit: just got email... works a treat... THANKS HEAPS!! YOUR A CHAMPION |
#4
|
||||
|
||||
if you need a really good seed for srand(), use:
srand((double) microtime() * 1000000); |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|