Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 06-22-2014, 03:22 AM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Ad management

Hey peops,

Occasionally I run accross an issue on some sites where the built in ad manager does not work. Ofcourse the easy work around is usually just to use the direct template.. for example ad_global_below_navbar

Can any explain why this issue occurs and how to get the ad manager working? This system confuses me a bit because yes, on certain templates the ad templates were not placed..Like in the navbar template perhaps ad_global_below_navbar is missing. But if that code is there then why is the code being added to the ad manager not showing?

I'm sorry if I am not making much sense..Have had the flu all week and am running on empty right now. I do not understand this ad system. When you place the code in the ad manager those ad templates are supposed to pull the code from there? Right?

Any knowledge on this would be helpful,
Thanks
Reply With Quote
  #2  
Old 06-22-2014, 05:54 AM
tbworld tbworld is offline
 
Join Date: Oct 2008
Posts: 2,126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RichieBoy67 View Post
Hey peops,

Occasionally I run accross an issue on some sites where the built in ad manager does not work.
Does the Ad manager not work On the ACP sidebar or does it not work correctly?

Sorry you have the flu, never as much fun as you think it is going to be.
Reply With Quote
  #3  
Old 06-22-2014, 09:43 AM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks bro,

I should have explained in a little more detail I think. lol

The ad manager shows fine but when you add any type of banner there it does not display in the site.
Reply With Quote
  #4  
Old 06-22-2014, 10:32 AM
tbworld tbworld is offline
 
Join Date: Oct 2008
Posts: 2,126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you currently have this situation, I would normally send to a log the raw and the final_rendered template text from the database. So you can see if/what/how the ad was processed or maybe it did not make it that far. (You can just look at the database if you cannot log.)

I will try to take a look at this, not that I will see the issue, but maybe I can point out a place where you can start to look, next time it happens. A few test points in the code usually tells you tons.

One thing we do is to log data from troublesome routines, sure it slows down the site slightly, but the data is everything. You never have to log all users just a data sampling. Something for you to think about in your future endeavors.

Hopefully, someone else has seen this problem and can report back.
Reply With Quote
  #5  
Old 06-22-2014, 12:22 PM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, I am still looking into this but it is not the entire ad manager. It is only some of the positions that do not work. I am trying to use the global under navbar position and this does not work but if I choose the above footer position it works there.

I also figured out that it is an issue with this particular theme. I am suspecting the css tied into the ad manager. I will use firebug to see if I can track it down.

I think I almost got this. I was just not thinking last night. I did try a default theme but one that was already on the site so it could have been modified. Just now I create a new standard default vb theme and it shows there so now it makes things easier..was boggling my mind last night. lol

Thanks mate!
Reply With Quote
  #6  
Old 06-22-2014, 12:27 PM
tbworld tbworld is offline
 
Join Date: Oct 2008
Posts: 2,126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Check against the default un-modded vbulletin theme. It will at least give you a good baseline. Good Luck.

With that flu, I am surprised anything made sense.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:31 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04183 seconds
  • Memory Usage 2,205KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (6)postbit
  • (6)postbit_onlinestatus
  • (6)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete