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

Reply
 
Thread Tools
Google Adsense Postbit Integration Details »»
Google Adsense Postbit Integration
Version: 1.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.7.0 Beta 3 Rating:
Released: 12-19-2007 Last Update: Never Installs: 379
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

If does not work;

Open template "postbit or postbit_legacy"

Find
PHP Code:
<!-- post $post[postidpopup menu --> 
After Add
PHP Code:
$template_hook[postbit_end

Show Your Support

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

Comments
  #52  
Old 05-21-2008, 03:47 PM
ayaam ayaam is offline
 
Join Date: Aug 2004
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks , Done
Reply With Quote
  #53  
Old 05-27-2008, 06:41 AM
sinistergaming's Avatar
sinistergaming sinistergaming is offline
 
Join Date: Jan 2007
Location: WorldWide
Posts: 83
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this works real nice.
i did modify it a bit though.
so i could rotate banners instead of just one.
installed vbbannerrotator
and replaced this code in template gaip_code1
Code:
<div style="padding: $stylevar[cellpadding]px 0px 0px 0px">

<table <if condition="$vboptions[gaiptitle]">class="tborder"</if> cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<if condition="$vboptions[gaiptitle]">
<tr>
    <td class="thead" align="$stylevar[left]">$vbphrase[gapi_sponsor]</td>
</tr>
</if>
<tr>
    <td <if condition="$vboptions[gaiptitle]">class="alt1"</if> align="center">
    $vboptions[gapicode]
    </td>
</tr>
</table>

</div>
with This Code

Code:
<div style="padding: $stylevar[cellpadding]px 0px 0px 0px">

<table <if condition="$vboptions[gaiptitle]">class="tborder"</if> cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<if condition="$vboptions[gaiptitle]">
<tr>
    <td class="thead" align="$stylevar[left]">$vbphrase[gapi_sponsor]</td>
</tr>
</if>
<tr>
    <td <if condition="$vboptions[gaiptitle]">class="alt1"</if> align="center">
    $GLOBALS[bannerads]
    </td>
</tr>
</table>

</div>
now im trying to add it to forumhome under 'What's Going On ?' above the footer.
but nothings coming up.
tried using code

Code:
$template_hook[postbit_end]
any idea's on what i can do there?
Reply With Quote
  #54  
Old 06-02-2008, 04:21 PM
FROGGYJ FROGGYJ is offline
 
Join Date: Sep 2005
Posts: 153
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am using OpenX, any idea how I can setup a rotating banner ad using that?
Reply With Quote
  #55  
Old 06-09-2008, 01:28 AM
TrIn@dOr TrIn@dOr is offline
 
Join Date: Nov 2006
Location: South Bend, IN
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works great, can u implement the same for others spots?
Reply With Quote
  #56  
Old 06-15-2008, 10:37 PM
letsjoy's Avatar
letsjoy letsjoy is offline
 
Join Date: Jun 2006
Location: Dhump State
Posts: 197
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You Rock
Reply With Quote
  #57  
Old 06-28-2008, 06:03 AM
Mancia Mancia is offline
 
Join Date: Apr 2007
Location: Argentina, Buenos Aires
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed it and set it up with my adsense code, but I can´t see any ad inside the box where I should see it.

any ideas?
Reply With Quote
  #58  
Old 06-28-2008, 06:49 PM
Sycoloco1212 Sycoloco1212 is offline
 
Join Date: Mar 2008
Posts: 319
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mancia View Post
I installed it and set it up with my adsense code, but I can?t see any ad inside the box where I should see it.

any ideas?
if you just put ads inside of it then its going to show within a few minutes =)

[ Also i put my post number to 40 and i get ads after first post then under the last post of the page works great =) ]
Reply With Quote
  #59  
Old 06-29-2008, 09:59 AM
ShawneyJ's Avatar
ShawneyJ ShawneyJ is offline
 
Join Date: Jul 2006
Location: Australia
Posts: 1,758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank you
Reply With Quote
  #60  
Old 06-30-2008, 06:09 PM
RedGTiVR6 RedGTiVR6 is offline
 
Join Date: Dec 2006
Location: Little Elm, TX
Posts: 817
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works perfectly immediately upon installing!

would be great if you could make a mod that did this everywhere else as well...and worked this flawlessly.
Reply With Quote
  #61  
Old 07-01-2008, 07:15 PM
chtdatweb chtdatweb is offline
 
Join Date: Jun 2008
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

Yeah i got this working too, but i want it displayed after post #1 and post #2 any ideas on how this could be achieved?

Thanks

Daniel
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 06:53 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.05357 seconds
  • Memory Usage 2,313KB
  • Queries Executed 25 (?)
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
  • (3)bbcode_code
  • (2)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)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
  • (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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete