The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Conditionals & Memberinfo Page
I have two types of profile layouts at the moment. How do I let users choose which type they want to see? I tried using the code below, but that obviously only works for your own profile. I want to make it so if you choose Profile A, you see Profile A for EVERYONE'S profile- not just your own. Help me out!
HTML Code:
<if condition="$post['fieldx'] != 'Layout 2'"> Blah blah blah. <else /> Blah blah blah. </if> |
#2
|
||||
|
||||
Still curious.
|
#3
|
|||
|
|||
use
Code:
$userinfo Code:
$post |
#4
|
||||
|
||||
Ah. Well, $userinfo[] wasn't working either. That was pulling what that user had set. However, placing the "bb" infront of it did what I wanted it to do. Thanks for pushing me in the right direction!
|
#5
|
|||
|
|||
Thats ok.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|