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 12-17-2004, 06:20 PM   #2
Coder
Join Date: Jun 2004
Location: Attic
xfile is on a distinguished road

Default

Thanks for this steel




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-17-2004, 09:50 PM   #3
Coder
Junior's Avatar
Join Date: Nov 2004
Real Name: jr
Location: U.S.A
Junior is on a distinguished road

Default

why wuld u want google adds?




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-19-2004, 03:13 AM   #4
Junior Member
Join Date: Oct 2004
PcGuru is on a distinguished road

Default

very nice i use google ads on my site will be nice an additional place to put them




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-04-2005, 07:22 PM   #5
Member
Join Date: Aug 2004
Location: Buenos Aires
COBRAws is on a distinguished road

Default

Quote:
Originally Posted by profet
why wuld u want google adds?
for earning money? duh




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-28-2005, 10:56 AM   #6
Junior Member
Join Date: Dec 2004
H@K@N is on a distinguished road

Default

Hello,

is it possible to add an If Condition, in which Forum Id's he has to Display the ads ?




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

Default

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>




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-06-2005, 06:56 PM   #8
Tim
Advanced Coder
Join Date: Mar 2004
Tim is on a distinguished road

Default

When I did it I actualy put it in a table and gave it a heading to make it look better.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-15-2005, 12:20 PM   #9
Junior Member
Join Date: May 2005
THE DARK MAN is on a distinguished road

Default

Thanx its good




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-16-2005, 04:49 AM   #10
Junior Member
Join Date: Apr 2005
Location: Atlanta, Ga
DvilleStoner is on a distinguished road

Default

are there any scren shots of what this looks like? an ad in each the post bit. . .doesnt sound too appealing




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 10:30 PM.


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