![]() |
Banned member conditionals help
I am trying to customise my member profiles so that if the member has been banned the profile will display something different (to all)...and I am running into trouble lol
At a glance, what I am trying to do is: On viewing member profile page ===== <If member has been banned> [show custom content] <else /> [normal content] The conditional I tried I found in another thread for showing custom avatars in postbit/member profiles is not working: <if condition="is_member_of($post, 8)"> Can anyone help me with the conditional I *should* be using to get it to work? I am using 3.8.4 |
$post is not a valid variable for use on that page. You probably need to use either $userinfo or $prepared.
|
Ooo I didn't think of that LOL I shall try the others and post back with the results lol thanx so much :)
--------------- Added [DATE]1260050236[/DATE] at [TIME]1260050236[/TIME] --------------- $userinfo worked...thanx :) Now I have a lil more tweaking to do LOL |
|
Great guests cannot view member info now. :)
|
Quote:
Quote:
|
All times are GMT. The time now is 03:30 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:
|