The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
rotating banners
I am new to all this.. And am looking for some help getting rotating banners in the header of our website.. I have a picture there now.. I have downloaded a rotating banner mod from here.. but have tried.. & tried & cannot get it to work. I know I am just missing something really small & stupid..
I have examples of what I am doing in another thread in Mod section Here is the link.. https://vborg.vbsupport.ru/showthrea...12#post1152912 |
#2
|
||||
|
||||
This is what I do...
Create a new Plugin at hook location 'global_start' with the following contents: PHP Code:
Then edit your 'header' template as follows... Find: Code:
$stylevar[titleimage] Code:
$random_banner[$random_number] |
#3
|
|||
|
|||
Thank you.. !!!! How about centering it??
|
#4
|
||||
|
||||
Find:
Code:
<td align="$stylevar[left]"> Code:
<td align="center"> |
#5
|
|||
|
|||
Thank you !!!!!
Is there any way to add links to the banner's.. So if you would click on the banner it would take you to that ad's website?? |
#6
|
|||
|
|||
good work acid. Could be useful
|
#7
|
|||
|
|||
Quote:
|
#8
|
|||
|
|||
i cant get it to work either way...LOL
|
#9
|
|||
|
|||
ok, got it finally. What about if I wanted it in user cp? I tried to make this same hook in Usercp_complete and it displayed at the very top
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|