I don't like to delete profiles on my site because there's a very, very strong tendency for people to calm down after a few days, weeks, or months and want their profile back.
I'm planning on putting people into a specific usergroup with no permissions. I called it "Profile Disabled" and the ID is 10.
I'm trying to put a wrapper around the display in MEMBERINFO which would prevent the profile from displaying. What I have right now is:
Code:
<vb:if condition="is_member_of($prepared, 10)">
This profile is no longer active.
<vb:else />
What is the correct value to pass is_member_of? $bbuserinfo is the info on the browsing user not the profile being displayed so I know that's wrong. But I've tried $prepared, $prepared[userinfo], $prepared['userid'] but nothing seems to work here.
--------------- Added [DATE]1285311485[/DATE] at [TIME]1285311485[/TIME] ---------------
I think I found the answer. $userinfo