vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Major Additions - vB Ad Management 4 (https://vborg.vbsupport.ru/showthread.php?t=131150)

tanand79 11-23-2006 08:06 AM

i had put everywhere and tried bro....it dint show in any place...all it showed was an empty white screen in that place....no banners or ads. showed up.....

thanks

RedTyger 11-23-2006 08:08 AM

Can you try seeing if a different kind of code will work? An image banner or something.

tanand79 11-23-2006 08:13 AM

i just wrote a simple text in the threadbit section and it showed up in the screen...only the google ads. dint show up...my adbrite thing is also working f9

cant i give javascript codes in it....cos my adsense starts with a script tag....

Zowners 11-24-2006 06:16 PM

Quote:

Originally Posted by Kevlar (Post 1122421)
Yup... I get this with the ad system on, google analytics off and footer ads off.

vB Ad Management by =RedTyger=


I get exactly the same problem, wierd thing is the footers doesnt show in the default style either and I haven't even changed any templates in their. So I have to keep Google Analytics tracking off for the footer to appear.

Any fix for this?

RedTyger 11-24-2006 06:17 PM

Unfortunately I don't actually use any advertising myself so I don't have access to the code to test on.

However! The file attached to this post should, I hope, fix both the problem with the Google Analytics code causing problems with the footer and the Google Adsense code that wouldn't show up. I can't test myself, so if anyone would like to be a guinea pig...just overwrite your existing product with this one.

korny 11-25-2006 05:09 AM

Red, I like this mod. I already installed it and everything is running good with both 3.5 and 3.6. I use header and footer ads alot, I have a few forum sections I would not want the ads to showup in. I see that there is no way in the admin cp to turn the header and footer of for certain forum ids? Why is that? Is there a easy fix to where I can have them shut off?

I already clicked installed. ;)

RedTyger 11-25-2006 08:55 AM

Quote:

Originally Posted by korny (Post 1124641)
Red, I like this mod. I already installed it and everything is running good with both 3.5 and 3.6. I use header and footer ads alot, I have a few forum sections I would not want the ads to showup in. I see that there is no way in the admin cp to turn the header and footer of for certain forum ids? Why is that? Is there a easy fix to where I can have them shut off?

I already clicked installed. ;)

There are few settings per location simply because it would make both the settings and the code itself insanely complicated. If you have something specific you want to do, it's best to do it just by editing the template.

Try surrounding the entire footer/header_advertisement templates with:

Code:

<if condition="!in_array($GLOBALS[forumid], 5,6,7)">
REST OF TEMPLATE
</if>

where 5,6,7 is the IDs of the templates you want to exclude. If that doesn't work, try surrounding the $footer_advertisement value in the header/footer template with the code. Or finally failing that, try replacing $GLOBALS[forumid] with $forum[forumid] or $foruminfo[forumid].

Can't remember which will work, but one of them definitely will.

korny 11-25-2006 06:34 PM

I ended up putting the header code at teh bottom of the navbar templete. would your new code here make a difference?

RedTyger 11-25-2006 07:20 PM

Nope.

korny 11-25-2006 07:52 PM

So you are saying this code will work the same as if I had it in the header templete?


All times are GMT. The time now is 03:26 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.02962 seconds
  • Memory Usage 1,737KB
  • 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_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete