vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=280886

Adding banner to header and footer.
by runnerjp
30 Mar 2012 12:53

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)

HHelp1 30 Mar 2012 14:40

Well those are not banner.. They have added ads on it. But you could add your images/ banner by do this :
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

if there any question please don't afraid to ask ^^.

Regard.

runnerjp 30 Mar 2012 17:13

is php allowed within the Ad HTML ??

--------------- Added 30 Mar 2012 at 17:28 ---------------

also how would i show Sub-Forum name the user is on?

Iain M 31 Mar 2012 00:07

I wouldn't think that PHP is allowed in the Ad HTML.

Where do you want to show the sub forum name?

runnerjp 31 Mar 2012 09:34

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

Iain M 31 Mar 2012 13:07

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

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

in the ad manager.

To show certain banners in certain forums you could try this:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Change XX and YY to forumid's of where you want the banners.

To add more just keep adding elseif's... that could get messy tho.

runnerjp 02 Apr 2012 10:45

With the above which files do i need to include on the page ???

--------------- Added 02 Apr 2012 at 12:46 ---------------

I treid
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

But it shows nothing


All times are GMT. The time now is 21:31.

Powered by vBulletin® Version 3.8.14
Copyright © 2021, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.