vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=168)
-   -   Which template to edit to add a Ad banner on the index before the forums? (https://vborg.vbsupport.ru/showthread.php?t=202259)

Coume 01-18-2009 06:57 PM

Which template to edit to add a Ad banner on the index before the forums?
 
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

Quote:

Originally Posted by TimberFloorAu (Post 1717163)
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

Quote:

Originally Posted by TimberFloorAu (Post 1717178)
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

Quote:

Originally Posted by UKBusinessLive (Post 1717184)
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


All times are GMT. The time now is 05:52 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01026 seconds
  • Memory Usage 1,724KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete