vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Show Thread Enhancements - Adsense as second post. 2 Sizes - Big for guests, small for members (https://vborg.vbsupport.ru/showthread.php?t=136743)

DiSpy 03-31-2007 10:47 PM

After a day of searching the forums, I found this:

Code:

<if condition="$post['islastshown']">
Trying it now... will post again if it doesn't work.

EDIT: Works perfect.

popowich 04-15-2007 01:16 AM

StarBug, you're my hero! At least for the next few minutes. :D

I wish there was a way to highlight this mod to separate it from the other "adsense in threads" mods.

-Raymond

Caddyman 04-15-2007 05:28 AM

how can i show this after say the 5th post on every page?

popowich 04-15-2007 10:21 AM

I think after the first makes more sense. You won't always have 4 posts.

Anyways, is there a way to make it show up as the second post on every page?

-Raymond

Mrdby 04-17-2007 04:07 PM

i added it...saved it and it's not showing anything

Mrdby 04-17-2007 04:26 PM

i use 3.6.5 i added everything..the google link show up..but not the referral icon or anything.

StarBuG 04-17-2007 05:15 PM

Do you use a ad blocker?
Sometimes the easiest solution is the right one.

If not copy and paste my code above into the templates and check if it shows up.
If it does you did something wrong. Replace my adsense code with yours and you are good to go.

@popowich: to be honest I have no clue. I am not a big programmer, I call myself "modifier" ;)

Mrdby 04-17-2007 05:22 PM

I will try again

Mrdby 04-18-2007 12:41 AM

i added your full code...on the default and all i get is the KATRINA add showing.

StarBuG 04-18-2007 03:41 PM

Ok then you have no problem at all ;)
You are currently receiving public service ads.

Google adsense takes a few days to display relevant ads to your site.

Replace my code with your adsense code (you can leave mine if you feel generous :p) and wait a few days. The ads will show up over time, depending on the saturation of your keywords.
And make your forum readable for guests. Only this way google can serve you relevant ads.

If you want to take a read on google adsense I would suggest:

http://forums.digitalpoint.com/

This is a great community for webmasters.

Good Luck

StarBuG


All times are GMT. The time now is 09:10 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.01262 seconds
  • Memory Usage 1,730KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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