T tsak76 Active member May 3, 2014 #1 whats the conditional not to show stuff to banned member ? i needed to hide the chat bar
P Paul B XenForo moderator Staff member May 3, 2014 #2 <xen:if is="{$user.is_banned}"> Upvote 0 Downvote
T tsak76 Active member May 3, 2014 #3 thanx. i ll try it. although i assigned a banned usergroup to banned user, batch updated banned users to the banned usergroup and used the conditional for that group Upvote 0 Downvote
thanx. i ll try it. although i assigned a banned usergroup to banned user, batch updated banned users to the banned usergroup and used the conditional for that group
T tsak76 Active member May 3, 2014 #4 hmmm i noticed that unbanning the user doesnt remove him from the banned usergroup though Upvote 0 Downvote
T tsak76 Active member May 3, 2014 #5 well this doesnt work Code: <xen:if is="!{$isAwaitingEmailConfirmation} OR !{$user.is_banned}"> Upvote 0 Downvote
Jeremy in memoriam 1991-2020 May 3, 2014 #6 You are negating is_banned. Meaning only those who aren't banned will see it. Where are you using this? Upvote 0 Downvote
You are negating is_banned. Meaning only those who aren't banned will see it. Where are you using this?
T tsak76 Active member May 3, 2014 #7 Jeremy said: You are negating is_banned. Meaning only those who aren't banned will see it. Where are you using this? Click to expand... i want my chat bar (facebook like chat) to be accessible to all except banned, awaiting confirmation, awaiting approval and Email invalid (bounced) page container template Upvote 0 Downvote
Jeremy said: You are negating is_banned. Meaning only those who aren't banned will see it. Where are you using this? Click to expand... i want my chat bar (facebook like chat) to be accessible to all except banned, awaiting confirmation, awaiting approval and Email invalid (bounced) page container template
T tsak76 Active member May 3, 2014 #8 Code: <xen:if is="!{$visitor.is_banned} AND !{$isAwaitingEmailConfirmation}"> this works. whats the variable for awaiting approval and Email invalid (bounced) ? Upvote 0 Downvote
Code: <xen:if is="!{$visitor.is_banned} AND !{$isAwaitingEmailConfirmation}"> this works. whats the variable for awaiting approval and Email invalid (bounced) ?