The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Adding banner to header and footer.
How could i add a banner to my header and footer so its looks like the one here http://www.clubscuderia.co.uk/forum/
(below nav bar and above footer) |
#2
|
||||
|
||||
Well those are not banner.. They have added ads on it. But you could add your images/ banner by do this :
Code:
Advertising > Add New Ad > Then Choose Below Navbar or Footer ( click those yellow box box to choose) > Then enter title and add your codes there. . . . . Regard. |
#3
|
|||
|
|||
is php allowed within the Ad HTML ??
--------------- Added [DATE]1333124922[/DATE] at [TIME]1333124922[/TIME] --------------- also how would i show Sub-Forum name the user is on? |
#4
|
||||
|
||||
I wouldn't think that PHP is allowed in the Ad HTML.
Where do you want to show the sub forum name? |
#5
|
|||
|
|||
where is the file stored that the ad html is stored to as i could hard code it.
I want to display a different banner depending on the sub forum name |
#6
|
||||
|
||||
The ads are stored in the database.
What ad network needs you to put PHP code to display ads? You could have your PHP in a separate file then load the PHP page in an iframe? For example, you would put Code:
<iframe src="YOUR PHP PAGE"></iframe> To show certain banners in certain forums you could try this: Code:
<vb:if condition="$GLOBALS['forumid'] == XX"> <iframe src="YOUR PHP PAGE"></iframe> <vb:elseif condition="$GLOBALS['forumid'] == YY"> <iframe src="YOUR PHP PAGE"></iframe> <vb:else /> Everywhere else banner </vb:if> To add more just keep adding elseif's... that could get messy tho. |
#7
|
|||
|
|||
With the above which files do i need to include on the page ???
--------------- Added [DATE]1333367218[/DATE] at [TIME]1333367218[/TIME] --------------- I treid PHP Code:
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|