Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Google Adsense After first post (with scrolling option) Details »
Google Adsense After first post (with scrolling option)
Mod Version: 1.00, by xMrCanadax (Designer) xMrCanadax is offline
Developer Last Online: Aug 2019 I like it Show Printable Version Email this Page

vB Version: 4.x.x Rating: (5 votes - 5.00 average) Installs: 36
Released: 11 Sep 2011 Last Update: Never Downloads: 0
Supported Template Edits Re-usable Code  

How To Install
Step.1:
GoTo Styles & Templates>Search in Templates>your style then search for "postbit_legacy" without quotations.

at the very bottom before "{vb:raw template_hook.postbit_end}"
add :


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Step 2: (centering and coloring your adsense)
GoTo Styles & Templates>Search in Templates>your style then search for additional.css and anywhere add :


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Step 3: (IF YOU WANT SCROLL ONLY)

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Only add this if you want your banner to scroll. This can be used for others things other then adsense also.

You are finished! you can see a Demo Here

Customize the CSS as you wish. Hope this helped.

To exempt usergroups :

To exempt usergroups just do this

Replace :
<vb:if condition="$post['isfirstshown']

With :
<vb:if condition="$post['isfirstshown'] AND !in_array($bbuserinfo[usergroupid], array(X,Y,A))">

X,Y,A Being Usergroup ID's

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Show Thread Enhancements Google Adsense after first post (or other advertisements) Allan vBulletin 4.x Add-ons 97 23 Aug 2018 23:00
Mini Mods A Neater Google Adsense After First Post ShawneyJ vBulletin 4.x Template Modifications 86 06 Aug 2015 21:49
Forum Display Enhancements Google AdSense (or other) after post... goranbaxy vBulletin 3.6 Template Modifications 46 10 Sep 2010 04:04

Comments
  #2  
Old 11 Sep 2011, 18:01
AttalaEA AttalaEA is offline
 
Join Date: Apr 2011
Works perfect. Marked as installed, nominated, and rated 5 stars.
Thank you for this nice and clean modification.
Reply With Quote
  #3  
Old 11 Sep 2011, 18:22
xMrCanadax xMrCanadax is offline
 
Join Date: Aug 2011
Originally Posted by AttalaEA View Post
Works perfect. Marked as installed, nominated, and rated 5 stars.
Thank you for this nice and clean modification.
Thank you! anything you might need let me know!
Reply With Quote
  #4  
Old 12 Sep 2011, 12:56
p@ndu p@ndu is offline
 
Join Date: Jan 2009
works great thanks for the modification
Reply With Quote
  #5  
Old 13 Sep 2011, 00:51
xMrCanadax xMrCanadax is offline
 
Join Date: Aug 2011
Np! Enjoy it.
Reply With Quote
  #6  
Old 13 Sep 2011, 18:40
BlueCheri's Avatar
BlueCheri BlueCheri is offline
 
Join Date: Jul 2009
Works fine, how to exempt usergroup?
Reply With Quote
  #7  
Old 26 Sep 2011, 16:28
fionix fionix is offline
 
Join Date: Apr 2007
Is that similar to what they have over at the DP forum, the AD pulls up right on the first post?
__________________
Cyprus Company Formation | Cyprus Bank Account - We also provide our company formation service in many other offshore jurisdictions.
Reply With Quote
  #8  
Old 11 Oct 2011, 07:31
xMrCanadax xMrCanadax is offline
 
Join Date: Aug 2011
Originally Posted by BlueCheri View Post
Works fine, how to exempt usergroup?
Replace <vb:if condition="$post['isfirstshown'] with <vb:if condition="$post['isfirstshown'] AND !in_array($bbuserinfo[usergroupid], array(X,Y,A))">

X,Y,A being usergroup ID's

Originally Posted by fionix View Post
Is that similar to what they have over at the DP forum, the AD pulls up right on the first post?
yes it does
Reply With Quote
  #9  
Old 11 Oct 2011, 07:33
xMrCanadax xMrCanadax is offline
 
Join Date: Aug 2011
To exempt usergroups just do this

Replace :
<vb:if condition="$post['isfirstshown']

With :
<vb:if condition="$post['isfirstshown'] AND !in_array($bbuserinfo[usergroupid], array(X,Y,A))">

X,Y,A Being Usergroup ID's
Reply With Quote
  #10  
Old 15 Oct 2011, 15:52
shoppingtelly shoppingtelly is offline
 
Join Date: Apr 2002
Is it possible to use this under third post?

Many thanks
Reply With Quote
  #11  
Old 18 Oct 2011, 20:43
xMrCanadax xMrCanadax is offline
 
Join Date: Aug 2011
Originally Posted by shoppingtelly View Post
Is it possible to use this under third post?

Many thanks
yeah for sure, in a hurry to go to work right now will post the tutorial when I get home.
__________________
Want to learn how to program? www.legionrs.com
Reply With Quote
  #12  
Old 18 Oct 2011, 21:36
shoppingtelly shoppingtelly is offline
 
Join Date: Apr 2002
thank you, you're a star!
Reply With Quote
  #13  
Old 19 Oct 2011, 04:17
flipture flipture is offline
 
Join Date: Jan 2007
Mine is showing up on the right side of the first post. Any ideas why? Did I miss something?

Great addon, thanks!
Reply With Quote
  #14  
Old 19 Oct 2011, 15:37
COL NIL SATIS COL NIL SATIS is offline
 
Join Date: Aug 2009
Real name: Col
This looks pretty sweet
Reply With Quote
  #15  
Old 19 Oct 2011, 22:25
xMrCanadax xMrCanadax is offline
 
Join Date: Aug 2011
Thank you guys, and flip, what vbulletin version are you running?
__________________
Want to learn how to program? www.legionrs.com
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 04:30.

Layout Options | Width: Wide Color: