PDA

View Full Version : Variables in vB Templates...


fearfx
11-13-2008, 01:41 PM
Ok

$userinfo[userid]

You have the userinfo array...

<if condition="is_member_of($bbuserinfo, 10) ">
//Show link
</if>


What would the above if statement look like to reflect this:

Lets say I'm viewing a persons profile, and that user is apart of usergroup with and id of 10.

Then I want to show some text.

But the above code I have works for only checking the logged in person against that usergroup. I need to check for the user's profile page you are viewing. So I think we would use the userinfo array?

Thanks for the help.

--------------- Added 1226591038 at 1226591038 ---------------

Never mind, figured it out.