The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Advertisement after first post ONLY in a certain forum?
I would like to be able to put advertisements after the first post in a thread but ONLY in one certain forum, and viewable only by guest users.
Does this mod exists for vB version 3.8? |
#2
|
|||
|
|||
This mod doesn't exist, seriously?
|
#3
|
||||
|
||||
Are you requesting for such a mod to be created for you, or do you want to know if such a mod exists?
If you want to know if it exists, have a look at the Add-on section. There you will find all mods. However, this shouldn''t be too hard to do. Have a look at the template conditional article and follow the instructions there on how to achive what you want. It is much better, in my opinion, to try and do things for yourself rather than waiting around for others to do them for you. At least for the simple non complicated stuff |
#4
|
|||
|
|||
I'm asking if it exists because I assumed it did however I can't find it. People aren't particularly helpful in this forum anymore for some reason(other than certain mod authors within their mod threads), years ago there would have been replies directing me to the right place or at least telling me what I want doesn't exist.
And yes, you're right...I've decided to do this with conditionals. If the user is a guest and if the template is a certain ID I'll have the ads show. I've done this in the past for certain things a long time ago however I don't recall what the codes are, thanks for suggesting the template conditional article. I'll go look it up. |
#5
|
||||
|
||||
Isn't there an ad template that goes right after the first post? Just put a condition around the code you put in there to only show it to guests ($show['guest']) and in a certain forum ($forumid == x)
|
#6
|
||||
|
||||
Quote:
The reason I asked is because this is the Modification Requests/Questions (Unpaid) forum and your question didn''t quite fit in here. Also if you checked the add on section for a mod and you didn''t find it, then the chances are that that mod doesn''t exist. And that has nothing to do with unhelpfulness or whatever. You can''t expect other users to do the work for you all the time. Like creating mods, or searching if this mod or that mod exists etc etc. You must try to help yourself first and then we can help you. It saves a lot of time to everyone . Look, I am not looking for an argument here or anything like that. It was a fiendly suggetion, that is all Anyway, personally I am not familiar with the templating system of a vb 3.8 forum, but check out that part Lynne mentioned above and hopefully you will be able to achive what you want. Good luck. |
#7
|
|||
|
|||
Lynne, thanks for the help. This is the code I ended up with and it works:
Code:
<if condition="($bbuserinfo['userid'] == 0) AND ($forum['forumid'] == XX) AND ($post['postcount'] % $vboptions['maxposts'] == 1)"> <center> Code Goes here </center> </if> edit: Whoops! I didn't fully understand what Lynne was trying to say. I just realized that 3.8 has ad templates now and I only had to cover the ad conditional with the guest and forumid code and then insert the ad into the template that is already supplied. Not sure which version is better but both work for what I needed to do. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|