The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
BBcode
Hey,
I'm tryind to make a BBcode in order to hide text from non-registered members. I've tried a couple of things, but I was wondering if it was possible to use these as a BBcode: Code:
<if condition="$bbuserinfo['userid']">{param}<else />Please register to see hidden info (such as links etc.)</if> <if condition="$show['guest']">Please register to see hidden info (such as links etc.)<else />{param}</if> Thanks. |
#2
|
||||
|
||||
Simple as that: You can't use conditions in custom BBCode.
Wait for Beta 3, in this Version it will be possible to create BBCodes with custom callbacks through Plugins - then you can create such BBCodes. |
#3
|
||||
|
||||
So for now I can't make this work (with templates or something?!)
Thx for your reaction btw |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|