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
  #72  
Old 08-02-2008, 05:35 AM
rapidphim rapidphim is offline
 
Join Date: Feb 2007
Posts: 733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yes, it's working on 3.7.2
Reply With Quote
  #73  
Old 08-04-2008, 02:16 AM
sdfaheem's Avatar
sdfaheem sdfaheem is offline
 
Join Date: Dec 2006
Location: AIMIM.in
Posts: 109
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

its showing two ad boxes
Reply With Quote
  #74  
Old 08-15-2008, 07:35 AM
everekli38 everekli38 is offline
 
Join Date: Jul 2008
Location: İstanbul/Turkey
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Teşekkürler..Thank you
Reply With Quote
  #75  
Old 08-21-2008, 07:22 PM
hamidkh hamidkh is offline
 
Join Date: Mar 2007
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i install this add-on !
but google only show 4 adsens ! not more ! after 2 days only give me 4 link ! it's don't change!!!!
what must i do ?
Reply With Quote
  #76  
Old 08-22-2008, 03:43 PM
tggbrokenwings tggbrokenwings is offline
 
Join Date: Jan 2008
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed works like a CHARM!
Reply With Quote
  #77  
Old 08-28-2008, 05:25 AM
audidiy audidiy is offline
 
Join Date: Jul 2008
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Was wondering if there is any way to make this show after the first post, as it does, AND after the last post? Or can it be modified and reinstalled to work after the last post, or is there another plugin i need to install to have it identicle and after the last post too?
Reply With Quote
  #78  
Old 09-09-2008, 05:08 PM
Ronseal Ronseal is offline
 
Join Date: Aug 2007
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can somebody tell me if this Mod works with Secondary Usergroups?

I want my Registered Users to see Ads unless they are in a Secondary 'Paid Members' Group, in which case they have paid to use the site so I want them to see the site without Ads.

Ron
Reply With Quote
  #79  
Old 09-10-2008, 11:23 AM
SIINSI SIINSI is offline
 
Join Date: Mar 2003
Posts: 119
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyway of excluding this from certain forums?
Reply With Quote
  #80  
Old 09-12-2008, 10:41 AM
Ronseal Ronseal is offline
 
Join Date: Aug 2007
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ronseal View Post
Can somebody tell me if this Mod works with Secondary Usergroups?

I want my Registered Users to see Ads unless they are in a Secondary 'Paid Members' Group, in which case they have paid to use the site so I want them to see the site without Ads.
Okay, so nobody wants to answer the above... so here's another idea.

To get this Mod to work how I want I think I?m going to have to change my 'Paid Members' secondary/custom usergroup so it is a primary group for those who have paid to use the site, because this Mod has no way of dealing with secondary usergroups.

So as far as I see it:
- First task will be to set all the 'Paid Usergroup' permissions to the same as the ?Registered Users?,
- Then there?s the task of moving all the 'Paid Users'. Not sure if there?s an easy way to do this, or if I have to do user at a time?

Has anybody had this same problem, if so how did it go... am I on the right track?

Cheers
Ron
Reply With Quote
  #81  
Old 09-16-2008, 11:48 PM
ryancooper ryancooper is offline
 
Join Date: Jul 2002
Posts: 433
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sinistergaming View Post
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?
Great idea I did the same thing!! Thanks
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 01:37 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.09028 seconds
  • Memory Usage 2,317KB
  • 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
  • (2)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