redirect banned users

madness

New Member
Hi guys i wanted to redirect banned users to e.g. google. I cant seem to find an addon at xen & was wondering if anyone knew if this could be done via template edit?

for vb it was something like this
Code:
<if condition="$bbuserinfo['usergroupid'] == 8">
<meta HTTP-EQUIV="REFRESH" content="0; url=http://www.theybannedme.com">
</if>

banned users are not placed in a banned usergroup on xen so not sure how this can be done.
 
I don't know why you would want to redirect them. They can't see anything anyway, but you could try this in the PAGE_CONTAINER template...

Code:
<xen:if is="{$visitor.is_banned}">
<meta HTTP-EQUIV="REFRESH" content="0; url=http://www.theybannedme.com">
</xen:if>

Note that I haven't tried it, but it should work.
 
Untested, but try this:
HTML:
<xf:if is="{$user.is_banned}">
<meta HTTP-EQUIV="REFRESH" content="0; url=http://www.theybannedme.com">
</xf:if>
 
Scratch the above, it should be this:
HTML:
<xf:if is="$xf.visitor.is_banned">
    <meta HTTP-EQUIV="REFRESH" content="0; url=http://www.theybannedme.com">
</xf:if>
 
Back
Top