![]() |
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 |
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] |
Thank you.. !!!! How about centering it??
|
Find:
Code:
<td align="$stylevar[left]"> Code:
<td align="center"> |
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?? |
good work acid. Could be useful
|
Quote:
|
i cant get it to work either way...LOL
|
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
|
All times are GMT. The time now is 11:12 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|