Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Google Adsense Postbit Integration Details »»
Google Adsense Postbit Integration
Version: 2.00, by Atakan KOC Atakan KOC is offline
Developer Last Online: Mar 2023 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 3.8.x Rating:
Released: 10-27-2008 Last Update: Never Installs: 355
Uses Plugins Template Edits Auto-Templates
 
No support by the author.

Google Adsense Postbit Integration

install

Go to your admin cp, then:
Plugin System -> Manage Products -> [Add/Import Product] -> Select 'product-googleadsensei.xml' from your computer then press 'Import'

Modifications Info

Plugin : 2
Phrases : 12
Template : 1
Setting : 5

Google Adsense Postbit Setting

Go to your admin cp, then:
vBulletin Options -> Google Adsense Postbit Integration ->

Versions:
v1.0 - 30 July 2007
-First release

v1.1
- 31 July 2007
- Usergroup Permissions Added

v1.2 - 31 July 2007
- Usergroup Permissions Problem Fixed

v1.3 - 20 December 2007
- "Sponsored Links" Phrase added
- small template change
- vBulletin 3.7 released

v2.0 - 12 Octaber 2008
- vBulletin 3.7 released

If does not work;

Open template "postbit or postbit_legacy"

Find
HTML Code:
<!-- post $post[postid] popup menu -->

After Add

HTML Code:
$template_hook[postbit_end]

Download Now

File Type: xml product-googleadsensei.xml (5.3 KB, 2140 views)

Screenshots

File Type: jpg resimxx8.jpg (28.6 KB, 0 views)
File Type: jpg resimxx9.jpg (62.9 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 01-29-2009, 10:05 PM
Stubbed's Avatar
Stubbed Stubbed is offline
 
Join Date: Dec 2007
Location: New Zealand
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Disi View Post
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 View Post
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
Reply With Quote
  #23  
Old 02-24-2009, 09:42 PM
markusv3000 markusv3000 is offline
 
Join Date: Oct 2006
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks. this is great
Reply With Quote
  #24  
Old 02-27-2009, 04:30 PM
thunderclap82 thunderclap82 is offline
 
Join Date: Nov 2008
Posts: 305
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #25  
Old 02-27-2009, 04:45 PM
Brandon Sheley's Avatar
Brandon Sheley Brandon Sheley is offline
 
Join Date: Mar 2005
Location: Google Kansas
Posts: 4,678
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #26  
Old 02-28-2009, 04:07 PM
faxreport faxreport is offline
 
Join Date: Jun 2008
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good job , thank you
Reply With Quote
  #27  
Old 03-05-2009, 10:19 PM
vision.mmxlix vision.mmxlix is offline
 
Join Date: May 2008
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very Cool, Thanks [^_^]
Reply With Quote
  #28  
Old 03-12-2009, 05:51 PM
Jesse Stratford Jesse Stratford is offline
 
Join Date: Aug 2003
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #29  
Old 03-28-2009, 10:25 AM
rmxs rmxs is offline
 
Join Date: Apr 2006
Posts: 419
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

New name=more installs
Reply With Quote
  #30  
Old 03-30-2009, 07:14 PM
Spaz21 Spaz21 is offline
 
Join Date: May 2008
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #31  
Old 05-17-2009, 03:58 PM
fmntprsv fmntprsv is offline
 
Join Date: Sep 2007
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:31 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06666 seconds
  • Memory Usage 2,338KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (2)bbcode_html
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (3)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete