PDA

View Full Version : Which template to edit to add a Ad banner on the index before the forums?


Coume
01-18-2009, 06:57 PM
Hello,

I have been able to add a Adsense banner at the bottom of the forum index editing the ad_forumhome_afterforums in the template but now, I would like to add one above the forums.

Does anyone know which template should be edited to so do?

Thanks in advance.
Ludo

TimberFloorAu
01-18-2009, 07:15 PM
forumhome for forum home :)

and forumdisplay for rest of forums

Coume
01-18-2009, 07:20 PM
forumhome for forum home :)

and forumdisplay for rest of forums

Thanks :)

God, why I used phpbb for 5 years...

Is everything codable within the admincp in vbulletin?
I spent hours of coding in phpbb to get where I am now and in 24h, I also re-created a similar version of it in vbulletin (without the color scheme/template)...

TimberFloorAu
01-18-2009, 07:30 PM
Pretty much everything.

If i can give you one tip tho.

Something I wish I had done.

Set up a folder called Templates on your desktop.

Inside create 2 new folders.
one called original.
one called custom

before you amend a template in admincp. select the code, copy and paste into notepad, and save as example: forumhome.txt into your original folder. Then do code changes in admincp, and after clicking save and reload, select the code, copy and paste into notepad, save as example: forumhome.txt into your custom folder.


If you are really really good, then open a new notepad thing, and diarise each edit or at the very least the dates you do the edits, and also dates you add modifications/plugins and the like.

Really will make life a lot easier mate :)

UKBusinessLive
01-18-2009, 07:40 PM
Pretty much everything.

If i can give you one tip tho.

Something I wish I had done.

Set up a folder called Templates on your desktop.

Inside create 2 new folders.
one called original.
one called custom

before you amend a template in admincp. select the code, copy and paste into notepad, and save as example: forumhome.txt into your original folder. Then do code changes in admincp, and after clicking save and reload, select the code, copy and paste into notepad, save as example: forumhome.txt into your custom folder.


If you are really really good, then open a new notepad thing, and diarise each edit or at the very least the dates you do the edits, and also dates you add modifications/plugins and the like.

Really will make life a lot easier mate :)

Thats Brilliant advice Steve, at the very least, if you balls up, you can call up your backup :D

When i was in the Army we had the 7 P's

Prior, Preparation, & Planning Prevents Piss Poor Performance :eek: I'll always remember that :D

TimberFloorAu
01-18-2009, 07:46 PM
Thats Brilliant advice Steve, at the very least, if you balls up, you can call up your backup :D

When i was in the Army we had the 7 P's

Prior, Preparation, & Planning Prevents Piss Poor Performance :eek: I'll always remember that :D

That was my best mates motto, he was in the army to. He was out in the gulf, perhaps its an army thing.

Good tho