vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Mini Mods - The second post is advertising (https://vborg.vbsupport.ru/showthread.php?t=239981)

Asterix_ita 07-13-2012 05:14 PM

My addon use this hook vbulletin template_hook.postbit_end

look in your postbit template if there is this string to the end

{vb:raw template_hook.postbit_end}

regards

karlm 07-13-2012 07:20 PM

Quote:

Originally Posted by Asterix_ita (Post 2347651)
My addon use this hook vbulletin template_hook.postbit_end

look in your postbit template if there is this string to the end

{vb:raw template_hook.postbit_end}

regards

OK, and once I locate the text you've highlighted.. .what do I do with it?

What if I can't locate it?

ETA, reading your original post again, am I meant to add it to the "postbit_legacy_ads_ct_2th" after or before or somewhere else?

Asterix_ita 07-14-2012 04:45 AM

the code that I have reported must be present at the end of your pobit and not in my template, I add my code to that hook vbulletin.

Watch the postbit of the default theme, for example.

regards

muffel 07-15-2012 08:14 AM

Thank you very much for this mod.

But I have a question - is there a similar mod to this, where I can put different advertising for each sub-forum?

karlm 07-15-2012 12:53 PM

Right.. the code is there as you said...

But what am I meant to do with it? The code is present but still no second post ad?

princesspepper 07-19-2012 05:43 PM

For some reason my second ad is not showing... just the first in the centre. Any ideas why? I'm running VB4.2 PL2

:)

Asterix_ita 07-20-2012 04:23 AM

You can bring a stamp of settings page

regards

zakonline 07-31-2012 08:38 AM

Great Mod, Works Perfect!!! Thanks for the contribution.

Naijasite 10-02-2012 05:46 PM

nice mode

Nirjonadda 11-24-2012 02:15 PM

Can you add Option "Option based on Post Count" usergroups that cannot see The second post is advertising ?


All times are GMT. The time now is 08:08 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.01182 seconds
  • Memory Usage 1,729KB
  • 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)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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