vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Ads in threads, but under Signature line (https://vborg.vbsupport.ru/showthread.php?t=281122)

northvanmike 04-04-2012 09:25 PM

Ads in threads, but under Signature line
 
we use the Ad Selector in vBulletin ( http://members.shaw.ca/northvanmike/...adselector.JPG ) for paid ads only, and what we'd like to do is place the ad down below the Signature line. like this:

http://members.shaw.ca/northvanmike/.../adsigarea.JPG

as you can see the Ad Selector does not give the option to place it where we want, it just goes in the post to the far right.

thanks for help in advance.

northvanmike 04-05-2012 11:56 PM

maybe not that simple? is there more to this than i imagine?

SEOvB 04-07-2012 01:39 AM

Hey There,

Tried a bunch of things, but this is more complicated than I thought it would be. It appears that there is a location in the template for the ad here, but this ad location is not fully implemented in the latest version of vB.

Closest thing I could get was adding the following plugin to the showthread_start hook:

$template_hook['postbit_signature_start'] = "[Ad HTML goes here]";

But that doesn't allow for things like customizing ad viewership through usergroups or limiting the ad to just the first post. You could open up a support ticket with vB and see if you get lucky, or you could get some custom work done to enable this feature.

-Nick, SEOvB Developer

northvanmike 04-07-2012 01:32 PM

thanks for the response, and trying to help out.

Videx 04-08-2012 12:51 AM

If vb were to put hooks in every possible place people wanted them the code would be a real swiss-cheese. You want yours below the sig in each post or only the first post? The first post on each page? Will you settle for it working in the default style, or do you want it right there in all your custom styles too (your screen clip didn't show it, but I bet that's a custom style.)?

Really, in the end it's probably just easier to pick one of the default spots and live with it.


All times are GMT. The time now is 06:51 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.01324 seconds
  • Memory Usage 1,716KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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