The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Question about <if> tags
Hi everyone, I had a question about if tags that I hope someone can help me answer.
I have an attached screenshot with my postbit. I have a couple of different categories of custom user profile fields. They are currently in if tags where if the poster does not have one it doesn't show up. I'm wondering how to make the whole table disappear including the thead of a specific category. I want to have a section specifically for an MMO that all members may not play so if they don't I'd like it not show up their postbit. Please let me know if you have any information. Thanks everyone! |
#2
|
||||
|
||||
Just put a bit if at the beginning of the whole table. Like if you were checking for profile field 10, 11, and 12 as individual lines, just combine them:
HTML Code:
<if condition="$post['field10'] OR $post['field11'] OR $post['field12']"> The whole table with the other individual if's in there </if> |
#3
|
||||
|
||||
Thank you so much. I know it was just something simple but I wasn't sure what the code would be. Thanks for being so helpful!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|