Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Make your adsense look like a post! With Referals, forum exclusion and more! Details »
Make your adsense look like a post! With Referals, forum exclusion and more!
Mod Version: 4, by question? (Member) question? is offline
Developer Last Online: Aug 2008 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.5.5 Rating: (4 votes - 5.00 average) Installs: 34
Released: 24 Jul 2006 Last Update: 25 Jul 2006 Downloads: 64
Not Supported Template Edits  

Hey,

This will let you show your add after x posts, put a referal box as a false avatar, and show a 336x280 banner.

Please note this has been made for my skin (legacy). You will have to alter this i think.


Add this at the end of your postbit template:

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

Let me explain how to use it:
<if condition="THIS_SCRIPT == 'showthread'AND ($post[postid] == $GLOBALS['qrlastpostid']) AND (!in_array($forum[forumid], array(2,3,32)))">

In the array() you put the forums where you don't want to show the ads.

Here (($post[postid] == $GLOBALS['qrlastpostid'])) you choose where to show it. Use $GLOBALS['qrlastpostid'] to show it at the end of all the posts, $GLOBALS['qrfirstpostid'] to show it after the first post, or you can use a number.

For the picture blocks use <img src="random.php"> to where ever random.php is. Please remember to update the settings for random.php.

I reccomend you use a table to put your ads in.

If you want to show the ads only where there is more than 1 post use:

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

Like this:

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

If you want it to show to guests only use:

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

So it will be like:

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

Download Now

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

Supporters / CoAuthors

Screenshots

Click image for larger version

Name:	preview.PNG
Views:	3222
Size:	70.5 KB
ID:	51007  

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
Add-On Releases Make adsense look like a post question? vBulletin 3.6 Template Modifications 40 14 Jul 2008 00:21

  #46  
Old 22 May 2007, 17:38
Big_J Big_J is offline
 
Join Date: May 2007
anyway to use different refferal button when setting this up to show after every 3rd post. So that each would have a different refferal product?

Also is there a way to make this the sam width as the rest of the posts on the board?

Thanks
Reply With Quote
  #47  
Old 23 May 2007, 13:47
DeeperImage DeeperImage is offline
 
Join Date: Dec 2001
This is a great hack but it would be nice if someone created a pluggin with auto templates. I may install later. Very nice.
Reply With Quote
  #48  
Old 20 Jun 2007, 13:27
ar2 ar2 is offline
 
Join Date: Jan 2006
Hi

What code do I need to put to show adsense only for specified usergroups?
Reply With Quote
  #49  
Old 14 Oct 2007, 17:55
carlosacgj carlosacgj is offline
 
Join Date: Apr 2006
Originally Posted by ar2 View Post
Hi

What code do I need to put to show adsense only for specified usergroups?

<if condition="is_member_of($bbuserinfo, 1,2,3,4)">



1,2,3,4 ---> groups that you show your ads
Reply With Quote
  #50  
Old 17 Jun 2010, 11:58
Silmarillion's Avatar
Silmarillion Silmarillion is offline
 
Join Date: Jul 2004
Real name: Chris
Is this hack available for 3.8.X?
Reply With Quote
  #51  
Old 21 Nov 2012, 14:21
g00gl3r g00gl3r is offline
 
Join Date: Sep 2005
Is there a version of this for VB4?
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 11:44.

Layout Options | Width: Wide Color: