![]() |
SOLVED! Need help with IF condition in template...
I want my member.php (profile pages) to use an if condition that says if the profile being viewed is a member of xyz usergroupid, then display xyz content. I am adding the condition to the memberinfo_block_aboutme template.
So if the profile is of a Venue, it should show venue related content. If the profile is of a Employee, then it shows employee related content. Etc. My problem is the condition I wrote is basically saying if the USER VIEWING the profile is a member of xyz usergroupid, then show xyz content. I don't want that. I want the condition applied to if the PROFILE BEING VIEWED by ANYONE is a member of xyz usergroup. Hope that makes sense. Thanks!!! :) --------------- Added 27 Nov 2011 at 15:43 --------------- Nevermind... I figured it out. Here is the solution if anyone needs it... Code:
<vb:if condition="is_member_of($userinfo,10)"> |
All times are GMT. The time now is 06:36 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|