The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
use conditionals inside FAQ/Help items?
does anyone know if there would be an easy hack to enable template conditionals inside FAQ/Help items?
i would like to show different help text on a particular FAQ entry depending on whether the user is a guest or not... but when i put in a conditional, i get a big fat error at the top of the FAQ page basicly saying PHP doesn't know what the heck i'm trying to do. this is what i want to use: <if condition="$show['guest']"> blah blah blah <else/> blah blah blah 2 </if> i'm hoping there's just a single function call i can add in the FAQ php page to make it process the FAQ text entry as a template? thanks! |
#2
|
||||
|
||||
You can't use conditions in the faq. You can use phrases. And, there are a couple of hooks you can use in the faq.php page. So, you may be able to get creative and do some conditions based on the page.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|