The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Creating a unique ID for advertisements?
I'm hoping someone can help with the following.
We currently have a PHPBB type board and we're planning to move it across to VB but the one thing I'm not sure on is how to add our advertising banner in the way we need. It needs to go into the forums header which should be simple enough but the problem is that each time the ad is displayed it requires a unique ID in the clickthrough url. How I do this currently is to have a uniqueid.php file that contains the following: PHP Code:
PHP Code:
It needs to be in the header at the top of every forum page and I'm not sure if I can just put the above code into the template files and if so which template(s) to edit and where. I should add that the advertising code is in javascript. I've possibly got this working but I want to confirm what I've done is right. I used this: http://www.vbulletin.com/forum/showt...18#post1066718 And added the following as a plugin: PHP Code:
PHP Code:
Can anyone see a problem with how I've done this? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|