The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
how to change default text
there is a VIP sections on my board which are only accessible to VIPs.
if a registered member or guest trying to access them , it shows There are no posts in this forum. how can i change this text to something like This is a VIP section, please click here to buy your subscription please help. Thanks in advance |
#2
|
||||
|
||||
If the only forums that show that message are "VIP" forums, the easiest way would be to just edit that phrase.
|
#3
|
|||
|
|||
If you load up the phrase manager, its a Forum Display phrase called no_posts_in_this_forum
|
#4
|
|||
|
|||
sorry guys, i am little noob in the programming thing.
could you please describe a bit in step by step procedure. Thanks in advance |
#5
|
||||
|
||||
Please answer if the first part of my answer applies in your case.
|
#6
|
|||
|
|||
Hi There, i would like the exact same thing please, i have used the phrase manager to change the phrase and this has worked fine although i would like to have 2 different phrases, the default phrase in vbulletin is '' there are no posts in this thread'' i chnaged the default to '' you do not have permission to view this thread'' but i also want a second phrase added so that if its a gues there a message under the dfault one asking them to register, and if they are trying to access my VIP section that means they are all ready registered so i need the added text to say please subscribe here or something along those lines
i tried using <if condition="$show['guest']"> ''please register message''</if> with this text underneath it : please subscribe here but it doesn't work? i get the two messages at the same time, but the code is hiden, i dont understand it?? any help appreciated so my phrase now looks like this : Code:
You do not have permission to view this forum <if condition="$show['guest']">please register here first</if> Please subscribe to our VIP to enter this forum |
#7
|
|||
|
|||
Try using $bbuserinfo['userid'] == 0 in your condition.
|
#8
|
||||
|
||||
You can't use conditionals in phrases.
|
#9
|
|||
|
|||
yeh i discovered that at half three this morning LOL
so is there anyway at all to get this to do what i am wanting?? edit : i used the condition on the forum display template, just were the phrases would go, i have got both my phrases showing now, cant figure it out??? |
#10
|
||||
|
||||
You can create 2 phrases, and use the conditional in your template (is this what you're doing now?).
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|