The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
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 |
|
#2
|
||||
|
||||
|
$post is not a valid variable for use on that page. You probably need to use either $userinfo or $prepared.
|
|
#3
|
|||
|
|||
|
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
|
|
#4
|
|||
|
|||
|
|
|
#5
|
|||
|
|||
|
Great guests cannot view member info now.
|
|
#6
|
|||
|
|||
|
Quote:
You can see mine here, it's a test account and only banned for 7 days...basically I just wanted to show the banned info and hide anything else lol http://www.lissaedesignz.com/forum/members/michal/ |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|