![]() |
How should this be modified for Legacy? I'm using a skin that doesn't have the new postbit option :(
|
@roger.kore: I have not installed the hack you mentioned but from the quick look I see no reason why it should not work.
@insolentmuse: I have published the postbit_legacy Version here: https://vborg.vbsupport.ru/showthread.php?t=139093 StarBuG |
Exactly what I wanted and so easy to install. It took just a couple of minutes.
I like how it encourages visitors to join and avoid the advertising. |
Quote:
Thank you, I guess I need to learn how to search better. :eek: |
How would I adjust this, so that even registered members (like guests) will see an ad on the second post of EVERY page. I'd still like registered members to only see the thin display as you have it.
We have a 'premium user' class that we'll show zero ads for. Thank you so much! |
Quote:
I published it because you were the first to ask ;) |
Quote:
It works great, btw :) Thanks! |
No matter what I do with all of your suggestions, I can't exclude a usergroup no matter which method I use...
Can anyone confirm a method that works perfectly? |
<if condition="THIS_SCRIPT == 'showthread' AND $post[postid] == $GLOBALS['qrfirstpostid'] AND ($show[member]) AND $bbuserinfo['usergroupid'] != 'X'">
This means... if user is a registered member and NOT a member of usergroup X then show the advertising. StarBuG |
That code would seem not to work with any users who don't have the usergroup as top level.
How would I get this: <if condition="is_member_of($bbuserinfo,14)"> ...to work inside of YOUR conditional? :) Usergroup 14 above is my "Premium" group, but I don't put members in their as their MAIN group. Wrapping the whole conditional I just stated around the "ads for members" section of your code will NOT work. There is a conflict somehow contained in your if if I put my if before it (which has worked before when I simply put the google ads at the top of the showthread before I tried your mod).. Any suggestions? :) |
All times are GMT. The time now is 02:21 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:
|