vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Show Thread Enhancements - Google Adsense Postbit Integration (https://vborg.vbsupport.ru/showthread.php?t=194817)

Stubbed 01-29-2009 10:05 PM

Quote:

Originally Posted by Disi (Post 1670197)
Hi there, first of all, its a great hack, but i've got one question.
I'm very interested in showing the googleads after the last post.

Could you tell me how i can manage that?

Cheers and thanks

Disi

Go Admin CP > Styles & Templates > Style Manager > Edit Templates (On the style you want to ad adverts on) > Double Click 'Ad Location Templates

You can edit any of those subtemplates and put any ad code in there, Google Adverts, OpenX, what ever you want. For after the last post, ad_showthread_beforeqr is what you want to edit (qr as in quick reply).

Quote:

Originally Posted by Nadeemjp (Post 1718353)
can we use Ad Brite ads instead of google adsense in here?

It looks like you can put any code in there, give it a go :)

markusv3000 02-24-2009 09:42 PM

Thanks. this is great

thunderclap82 02-27-2009 04:30 PM

This mod seems to be working, but is there a reason it only adds an ad to the Sponsored Link section only half the time?

Brandon Sheley 02-27-2009 04:45 PM

Nice idea, altho I don't see why a product is needed when you can add your ads in the ad_location after first post and get the same results :)

Maybe I'm missing something

faxreport 02-28-2009 04:07 PM

Good job , thank you :)

vision.mmxlix 03-05-2009 10:19 PM

Very Cool, Thanks [^_^]

Jesse Stratford 03-12-2009 05:51 PM

Nice work. I had to do the manual step of updating the template to get it to work.

Question: is it possible to make this show an ad after more than one post? E.g. what if I want an ad after post 1, post 10, post 20, etc.... I'm just thinking it's an awful waste only having the ad on the first page of the thread when threads often run many pages... would be great if I could get it to show up at least once on each page.

Many thanks for the mod, and for any assistance.

rmxs 03-28-2009 10:25 AM

Installed..
Byt better change name because is not only for google :)

New name=more installs

Spaz21 03-30-2009 07:14 PM

so ive installed this... and the ad only appears once. other addons let you have it appear after every "x" number of posts... can this be done with this as well?

fmntprsv 05-17-2009 03:58 PM

It doesn?t work for me. Vbulletin 3.8.1 and vbseo 3.3.0. I tried to add

Code:

$template_hook[postbit_end]
and also doesn?t work. Any suggestion please! thanks in advance!


All times are GMT. The time now is 05:55 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.01052 seconds
  • Memory Usage 1,734KB
  • 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
  • (2)bbcode_quote_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