vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Ad Location Templates (https://vborg.vbsupport.ru/showthread.php?t=190739)

Stiff- 09-12-2008 02:49 PM

Ad Location Templates
 
So I edited the ad_footer_end template in Ad Location Templates. I pasted my google adsense script in there, but it isn't showing. How come?

And what does Save in Template History do?

Opserty 09-12-2008 02:53 PM

Make sure you are browsing using the style you've put it into. Also check the HTML source output and see if the code you've pasted is showing up in the HTML source.

Stiff- 09-12-2008 04:08 PM

It is the correct style so that's not it. About the html source output, where do I check it?

SEOvB 09-12-2008 04:19 PM

make sure the $ad_location[ad_footer_end] footer end variable is in the footer template

Stiff- 09-12-2008 05:37 PM

There was no such code in it, when I opened it the first time it was emtpy, so I just pasted the google adsense code into it.

Where do I need to put this code exacly? Before of after the google code?

Opserty 09-12-2008 06:48 PM

Create a New Style with No Parent style, add your adsense code to the appropriate template in this new style. Now browse your site with this style, do you see the adsense?

SEOvB 09-12-2008 06:56 PM

Quote:

Originally Posted by Stiff- (Post 1620701)
There was no such code in it, when I opened it the first time it was emtpy, so I just pasted the google adsense code into it.

Where do I need to put this code exacly? Before of after the google code?

that code needs to go in the footer template,


there is ad_location codes like that, that are suppose to be through out vBulletin, if your forum is missing them, the skin hasn't been properly updated to 3.7 standard.

Stiff- 09-13-2008 08:38 AM

Yes I think that was the problem, that it isn't updated well. So I should add this code: $ad_location[ad_footer_end]

In the foorter template? Or the ad_footer_end template?

Opserty 09-13-2008 08:55 AM

To the footer template.

Stiff- 09-13-2008 09:08 AM

It worked.

Thanks alot!


All times are GMT. The time now is 04:34 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
  • Page Generation 0.01556 seconds
  • Memory Usage 1,723KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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