Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Add Advertising after first post - Postbit Alteration Details »
Add Advertising after first post - Postbit Alteration
Mod Version: 1.00, by GoTTi (Senior Member) GoTTi is offline
Developer Last Online: Feb 2016 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.0 Rating: (6 votes - 4.83 average) Installs: 128
Released: 08 Sep 2006 Last Update: Never Downloads: 25
Not Supported  

go into your postbit or postbit_legacy template and add this to the END of the template:


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

Note: This example shows code for a google ad. you can remove the entire google ad and place a different code in there. perhaps phpadsnew code or some other advertising companies codes. whatever you like.

This is the standard code without ads inside.


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.

Screenshots

Click image for larger version

Name:	Image1.jpg
Views:	3528
Size:	32.3 KB
ID:	53207  

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.
  #16  
Old 29 Sep 2006, 16:12
farooqaaa farooqaaa is offline
 
Join Date: Aug 2006
Real name: Farooq Azam
Thanks!!

Farooqaaa is clicking "Install"
__________________
sig.......
Reply With Quote
  #17  
Old 29 Sep 2006, 18:43
ehsanix ehsanix is offline
 
Join Date: Oct 2003
thank u for this useful hack...
Reply With Quote
  #18  
Old 30 Sep 2006, 16:36
spipo spipo is offline
 
Join Date: Mar 2006
jello
I would like to put adense before "first thread" and after the "post reply boutton" .

like this exemple

http://img509.imageshack.us/img509/3324/ggggmg8.jpg



thanks to all
Reply With Quote
  #19  
Old 15 Oct 2006, 21:41
KevinLiles KevinLiles is offline
 
Join Date: Jun 2006
Thank you
Reply With Quote
  #20  
Old 16 Oct 2006, 17:25
oldfan's Avatar
oldfan oldfan is offline
 
Join Date: Jul 2004
why is it messing up my page format?
http://www.metallifukinca.com/showth...8672#post48672

Last edited by oldfan; 16 Oct 2006 at 17:29.
Reply With Quote
  #21  
Old 16 Oct 2006, 20:18
dieselpowered's Avatar
dieselpowered dieselpowered is offline
 
Join Date: Aug 2004
Location: Arizona
Only problem with this hack is after you edit a post, you will notice the box stays but the content is gone. Hit refresh, and then all is good. Must be playing havok with the AJAX or something.
__________________
CommanderTalk.com --> www.commandertalk.com
Reply With Quote
  #22  
Old 16 Oct 2006, 20:33
OoogleeMooglee OoogleeMooglee is offline
 
Join Date: Aug 2006
Is there a way to edit this so that it only displays the ad if someone actually replies to a thread? I have an ad that displays on the bottom of every forum page and when there is a new post with no replies, the ad shows up under the first post which (because there are no replies yet) ends up right on top of my bottom ad. Any thoughts?
Reply With Quote
  #23  
Old 18 Oct 2006, 03:41
oldfan's Avatar
oldfan oldfan is offline
 
Join Date: Jul 2004
Originally Posted by oldfan
why is it messing up my page format?
http://www.metallifukinca.com/showth...8672#post48672

bump
Reply With Quote
  #24  
Old 20 Oct 2006, 17:16
gamesmastervide gamesmastervide is offline
 
Join Date: Sep 2006
i read through that link but anyway to make it viweable by certain usergroups?? I have a vip system and I would like to remove ads for vips...

I tried this
<if condition="$post[postcount] == 1 AND in_array($GLOBALS[usergroupid], array(6,9,14))">

but it did not work no groups could see it i got the same prob for certain forums aswell using that code on the link provided in this post...

Last edited by gamesmastervide; 20 Oct 2006 at 17:39.
Reply With Quote
  #25  
Old 24 Oct 2006, 06:31
oldfan's Avatar
oldfan oldfan is offline
 
Join Date: Jul 2004
Originally Posted by oldfan
bump
anyone?
Reply With Quote
  #26  
Old 25 Oct 2006, 02:00
toonysnn toonysnn is offline
 
Join Date: Sep 2006
Real name: Billy
Nice hack, installed.
I modified it a bit to show a bit diffrently like a normal post, to make it seem like someone is posting so they will read it Thanks.
Reply With Quote
  #27  
Old 05 Nov 2006, 17:03
Prince Prince is offline
 
Join Date: Oct 2001
Question

Originally Posted by Farjad
Quick Reply Issue FiX:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
where exactly is this code supposed to go?
__________________
www.ironmagazineforums.com
Reply With Quote
  #28  
Old 05 Nov 2006, 18:46
Mecho's Avatar
Mecho Mecho is offline
 
Join Date: Aug 2006
Originally Posted by Farjad
Quick Reply Issue FiX:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
Tnx Man .. its ok now

Last edited by Mecho; 05 Nov 2006 at 18:48.
Reply With Quote
  #29  
Old 05 Nov 2006, 18:50
Mecho's Avatar
Mecho Mecho is offline
 
Join Date: Aug 2006
Originally Posted by Prince
where exactly is this code supposed to go?

Find this code in postbit_legacy :
<if condition="!$GLOBALS['FIRSTPOSTID']">
Replace with :
<if condition="(!$GLOBALS['FIRSTPOSTID'] and !$GLOBALS['vbulletin']->GPC['ajax'])">
Reply With Quote
  #30  
Old 06 Nov 2006, 17:23
UncoderMom's Avatar
UncoderMom UncoderMom is offline
 
Join Date: May 2006
Real name: Lisa
How do I get this only to show for showthread. Its gone all wacky in the new groups hack!

It was showing in my pms but that didn't bother me. I just don't know if it was a legal content area.
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 21:17.

Layout Options | Width: Wide Color: