vBulletin Modifications

Miscellaneous Hacks - Google Ads In Threads

Welcome to vBHackers.com! - vBHackers Updates:

Go Back   vBulletin Modifications > Forum Archives > vBulletin 3.0 Hack Releases

Reply
 
Thread Tools Search this Thread
Download Options
You Must Register First
To Download This Modification

Bugs
No bugs found in the system. If you have found a bug, please report a bug here
Submit A Bug | View All Bugs

Advertisement
  
Not Supported
[vB 3.0.7] Miscellaneous Hacks - Google Ads In Threads (113)
Released: 12-16-2004, 10:01 PM
Modification Information:
Author: steel
Last Online: 01-27-2007
Hack Version: 1.1 Installer Included: 0 Additional queries added to database: 0
New Templates: 2 Template Edits: 1 File Edits: 0
New Files: 0 New Phrases: 0 Installation Time (In Minutes): 5

You must first be a registered member to view any code.
Place this in your postbit or postbit_legacy template, at the VERY BOTTOM.

The first if statement will place that ad below the first post in showthread.

The second if statement will show ads to all in thoes usergroups. I have it set to show ads to guests, registered members, and admins. My donating members and moderators dont see the ads.

The third if statement is only shown to my registered members. Its a reminder for them to donate to the forums and become ad free.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Add a Comment!
Old 07-11-2005, 04:54 PM   #21
Junior Member
Join Date: Jul 2005
m4best is on a distinguished road

Default

well im new to adding hacks so i dont know were all the templates are. were is the postbit or postbit_legacy template i can only find posting.php




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 07-17-2005, 09:17 AM   #22
Junior Member
Join Date: Oct 2004
viobear is on a distinguished road

Default

I need something that will show the ads to everyone, unless they have more than 150 posts! Can anyone write this up?? Maybe email it to me viobear@gmail.com




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-18-2005, 05:47 AM   #23
Coder
eleven's Avatar
Join Date: Feb 2005
eleven is on a distinguished road

Default

you can also use this.. for all versions

You must first be a registered member to view any code.

Last edited by Arnoud; 08-18-2005 at 05:56 AM.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-18-2005, 05:57 AM   #24
vBulletin Guru
Arnoud's Avatar
Join Date: Nov 2004
Real Name: Arnoud Kuipers
Location: Europe, Flanders
Arnoud is on a distinguished road

Default

eleven, I have edited your post to show [php] tags, we wouldn't want unregistered leechers profiting from your code would we ;).




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-19-2005, 06:39 PM   #25
Coder
eleven's Avatar
Join Date: Feb 2005
eleven is on a distinguished road

Default

sorry deaths.. and thx




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-03-2005, 04:12 PM   #26
Junior Member
Join Date: Sep 2004
italks is on a distinguished road

Default

Very Nice hack.I was looking for this one.

CLICK Install . Thanks.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-08-2005, 10:17 AM   #27
Junior Member
Maxy's Avatar
Join Date: Sep 2005
Maxy is on a distinguished road

Default

Thanks a lot guys for this wonderful hack
ok
now is there any hack to place ad after last post

Last edited by Maxy; 09-11-2005 at 10:42 AM.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-11-2005, 10:58 AM   #28
vB Newbie
Join Date: Jun 2005
xtremox is on a distinguished road

Default

thanks you!




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-25-2006, 12:35 PM   #29
Junior Member
Join Date: Feb 2006
rAdDiTz is on a distinguished road

Default

and how code when i want google adsense after first thread ?




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-19-2006, 03:06 AM   #30
Coder
Join Date: Apr 2005
stivo20 is on a distinguished road

Default

Quote:
Originally Posted by Deaths
Mate, nice idea, but try this for a better look:

You must first be a registered member to view any code.
1. With the spacers it looks better.
2. vBulletin doesn't like ||, it prefers OR, and it likes in_array even more!
3. You forgot a </if>

Dont get is, the usergroupid above are the usergroups witch will see the the ads...?

And whats on with:
<if condition="$post[postcount] == 1">

..?

because its not woking verry well here...




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



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

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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Expired Threads (Auto Close Threads) Ken Iovino vBulletin 3.5 / 3.6 Hack Releases 34 12-04-2006 05:03 PM
New Threads since last visit Snatch vBulletin Modification Requests 0 01-17-2006 02:18 PM
[REQ]Close new threads, but not new posts. DvilleStoner vBulletin Modification Requests 7 06-08-2005 02:26 PM


All times are GMT -3. The time now is 12:01 PM.


SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc. (Patent Pending)