Log in

View Full Version : Conditionals & Memberinfo Page


evenmonkeys
01-10-2006, 06:16 AM
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!

<if condition="$post['fieldx'] != 'Layout 2'">
Blah blah blah.
<else />
Blah blah blah.
</if>

HELP!!!

evenmonkeys
01-12-2006, 12:03 AM
Still curious.

peterska2
01-12-2006, 12:15 AM
use $userinfo instead of $post as it only works in showthread

evenmonkeys
01-12-2006, 12:31 AM
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!

peterska2
01-12-2006, 12:37 AM
Thats ok.