![]() |
Add Advertising after first post - Postbit Alteration
go into your postbit or postbit_legacy template and add this to the END of the template:
Code:
<if condition="!$GLOBALS['FIRSTPOSTID']"> This is the standard code without ads inside. Code:
<if condition="!$GLOBALS['FIRSTPOSTID']"> |
Hi, thanks for this one!
*installed* |
does quick reply work with this?
|
How Can I make this only appear for guests?
|
Quote:
@Gotti And for add advertising before last post? |
Yea i also want to know how to add advert after/before last post ?
|
I had to disable this for all users as it conflicts with a quick reply issue ..
http://www.vbulletin.com/forum/showt...ply+page+white But enabling for GUESTS only makes it all better... Just in case anyone else is having this issue.. its an FF issue.. not noticed in IE. |
Quick Reply Issue FiX:
HTML Code:
<if condition="(!$GLOBALS['FIRSTPOSTID'] and !$GLOBALS['vbulletin']->GPC['ajax'])"> |
quick question .. is it possible to set by FORUM ID where the ads should show up? similar to restricting it to certain usergroups, what if an array of forum ids equal that then dont show the ads ..
possible or too much to ask? |
thank you :)
|
Quote:
any ideas? :) |
how can i add advertising aftar x post?
|
Quote:
|
Tnx for this great hack . but i have one problem .
how can i fix the size of ads so that it covers the whole area of the Sponserd links Box ? like the image that u attached ! tnx in advance |
Is there a way to exclude certain forums?
I see from the link I can enable it on forums specified but it would be easier if I could just specify the ones to not show up. Thanks in advance. |
Thanks!!
Farooqaaa is clicking "Install" |
thank u for this useful hack...
|
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 |
Thank you
|
why is it messing up my page format?
http://www.metallifukinca.com/showth...8672#post48672 |
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.
|
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?
|
Quote:
bump :) |
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... |
Quote:
|
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 :p Thanks. |
Quote:
|
Quote:
|
Quote:
Find this code in postbit_legacy : Quote:
Quote:
|
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. |
anyone??
|
Does this work in 3.61? Also, is this a violation of Google's TOS? I can only assume it is not as Google themselves recommend placing ads after the first post on forum sites.
See this link https://www.google.com/adsense/suppo...y?answer=43868 |
Hey I'm using the above hack and love it, currently I use it to show PHPadsNew ads to only guest on the forum with this code:
<if condition="$post[postcount] % $vboptions[maxposts] == 1 AND !$bbuserinfo[userid]"> but I want to also show the ads after the last post on each page, how can I add that to the code? |
Anyone know if this works with 3.61? Please respond :(
|
Quote:
yes . it works |
Quote:
|
Ok, I posted this on two of my forums, however I use vb advanced links directory and the ads are displayed after every single reply in the links directory.
It works fine in the forum though. Here is the code I'm using: PHP Code:
|
thanks
|
This is confusing me no end right now...
I added the code as the last thing in my legacy_postbit template, and made sure I replaced the adsense code with my own. However I get nothing when I look at my forum. No advertising at all. I'm running 3.6.4 so I'm not sure if that has anything to do with it. Any help would be apreciated. /John |
i have a question
if i use a banner system already i tried to put in my code $bannerads but no ads showed up any help ? |
All times are GMT. The time now is 04:59 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|