vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Mini Mods - Google Adsense After first post (with scrolling option) (https://vborg.vbsupport.ru/showthread.php?t=270066)

xMrCanadax 10-18-2011 06:43 PM

Quote:

Originally Posted by shoppingtelly (Post 2257475)
Is it possible to use this under third post?

Many thanks

yeah for sure, in a hurry to go to work right now will post the tutorial when I get home.

shoppingtelly 10-18-2011 07:36 PM

thank you, you're a star!

flipture 10-19-2011 02:17 AM

Mine is showing up on the right side of the first post. Any ideas why? Did I miss something?

Great addon, thanks!

COL NIL SATIS 10-19-2011 01:37 PM

This looks pretty sweet

xMrCanadax 10-19-2011 08:25 PM

Thank you guys, and flip, what vbulletin version are you running?

karel1985 10-20-2011 05:28 AM

I use it for showing the ads after each 3th post

<vb:if condition="(THIS_SCRIPT == showthread) AND (($post[postcount] % 3) == 0)">
<li class="firstpost_advert_container"><div class="firstpost_advert">

YOUR AD CODE

</li>
</vb:if>

amorosso 10-20-2011 08:35 PM

Awesome thank you very much

xMrCanadax 10-24-2011 01:28 AM

Thanks for the awesome feedback guys. need any other mods pm me details and I will try at it.

temsamane 11-22-2011 12:43 PM

Quote:

Originally Posted by karel1985 (Post 2259239)
I use it for showing the ads after each 3th post

<vb:if condition="(THIS_SCRIPT == showthread) AND (($post[postcount] % 3) == 0)">
<li class="firstpost_advert_container"><div class="firstpost_advert">

YOUR AD CODE

</li>
</vb:if>

i need an adsense after each 9th post of a page. so if you go the the second page, its still on the 9th post of the page etc.

goxy63 11-25-2011 03:01 AM

Works juts great, my only problem is that adsense is showing after second post

Probably it is cause I use mod "first post on every page"
https://vborg.vbsupport.ru/showthrea...=239282&page=9

Any ideas, for now I left it under second post but I would like it under first as it is better like that I think.
Maybe to put it above "first post" in my case, lol ? (how to do that)

Thanks


All times are GMT. The time now is 01:49 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.01039 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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