![]() |
This stretches my page
|
Now that I have this up and running, can anyone tell me how to modify the first line condition to check for user rank, ie I would also like my Junior members to be able to see the ads. I already have it checking for forums and usergroups. Junior members (less than 30 posts) dont contribute as much content to the site as more senior members so they may as well see the ads.
Thanks in advance for any help. |
Does this work on postbit template, doesn't seem to work on mine, it creates the first post normal, then every post after that just decreases in size, lol..
the last post is super small..?? |
Sweet! I've been looking for this! Thanks a lot!
I had some troubles, but once I put the code in both postbit and legacy, then the ads started showing up! Brilliant mod! Thanks very much! |
Quote:
You probably need to change the HTML accordingly :) |
Quote:
Without more info it's impossible to speculate what might be wrong. |
Quote:
If you look back through the thread you'll see information on how to restrict the ad to appear/hide for given user groups. Shout if you get stuck. |
Quote:
|
Thnks UK Jimbo. Already have.
|
Quote:
|
Quote:
I hope that makes sense. Thanks. |
Quote:
PHP Code:
|
Thanks! Works perfectly. I did search here before I asked, but not much came up under "usergroup".
|
Awesome hack. I've donated $25, as it's made me at least $500 so far, what about you?
|
Quote:
|
Quote:
|
Quote:
With your help I have set it up already so one usergroup never sees the ads, but I would like to give them the option in the Control Panel to turn ads on or off. I think I read all the posts here and I didn't see this answered. Cheers, Andrew |
If you could create the userfield and have it specific to only certain usergroups that would solve the problem. I'm not sure if vBulletin will do that out of the box (the docs will do though!), if not I think it's probably a question for the mod requests forum on here.
Post back to let me/others know how you got on. Thanks! |
Great plugin, thanks. Now if only there was one to put an ad randomly between threads on the thread list. ;)
|
Hello,
is it possible, that this mod does not work in vB 3.5.4 ? I have just changed the postbit template, I have add the following at the bottom : Quote:
What is the problem ? What do you need to help me ? Best Regards from Germany durapuma |
If you're running in "legacy postbit" mode (user info goes at the left hand side of posts) then you need to edit the template postbit_legacy instead of postbit.
You also haven't clicked install for this mod :) |
Hello again,
i have just restore the "postbit" template and have add the code to the postbit_lecacy template. But it don't run :( Whats the problem :( :( ? I will click on install, if it runs ;) |
Just wanted to say that this was an excellent hack. Clicked Install. Now, if it generates some cash I'd be happy to donate a little :)
One newbie type question that has me stumped. I want to make the ads visible to non-registered guests, Users awaiting EMail confirmation and to those who have a post total of less than 50. I know this really goes beyond the realm of this hack, but if anyone can clarify this I would be grateful. For some reason I can't grasp this and I'm sure it super-simple. Here are my default usergroups and their Usergroup I.D.s: (COPPA)-4 Administrators-6 Moderators-7 Registered-2 Super Moderators-5 Unregistered-1 Users Awaiting EMail Confirmation-3 Now here are my Usergroup Titles/Minimum Posts/I.D. # New Member/0/1 Junior Member/20/2 Member/50/3 Senior Member/100/4 How can I edit the hack so that after a minimum post requirement a user can be "ad-free"? Thanks! |
Great hack & works fine.
Thanks Jimbo |
Quote:
|
Thanks T.S., I would ideally like to keep my usergroups/usertitles and have this handled by a conditional if possible..but if that can't de done, I'll try anything.
|
Quote:
Code:
<if condition="$post[posts] >=50"> |
Thanks T.S.!
The first "if" line would go before Jimbo's first line of code in his hack and the last would go after his last line correct? |
Quote:
|
Thanks again..I'll give it a go tomorrow after I get home from my real job :)
|
Quote:
Thanks |
Works perfect! Thanks.
|
Doesn't work. Thanks anyways...
Quote:
|
Quote:
|
Hi, so is the ad displayed right after the 1st post on the page? I would like it to do the following.. is this possible:
a page has 2 posts the ad appears after post one, the page has 4 posts the ad appears after post2, page with 10 posts on it the ad appears after post5. This way the ad is always kept in the center of the postings. Thanks for any info! |
Quote:
|
Quote:
|
Sorry to sound dumb and ask this question but after reading through this whole thread im still confused.
This is the first mod ive installed so please bear with me. Ive manged uploading the xml :) But this edit the postbit is baffling me as i cant find the file i need to edit. Ive looked through all the files i have there and there is no file called that..Can someone explain in noob terms plz :( |
"postbit" and "postbit_legacy" are the name of "templates". Sets of "templates" are stored in "styles".
Check out the "styles & templates" section in the vB documentation here Shout if you have any problems. |
Any 3.6 update coming out? This version works for me on 3.6 but doesn't quite look right. :banana:
|
All times are GMT. The time now is 12:40 AM. |
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:
|