redirect banned users

madness

New Member
Validated XF Owner
Applications Owner
Raffles Owner
TMDb Threads Owner
OSB Display Owner
Custom Add-On Owner
XF2 Forms Owner
XF2 Raffles Owner
XF2 OSB Owner
Registration Spaminator
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:
You must validate your XenForo license to see code

banned users are not placed in a banned usergroup on xen so not sure how this can be done.
 

Snog

Retired Administrator
Validated XF Owner
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:
You must validate your XenForo license to see code

Note that I haven't tried it, but it should work.
 

madness

New Member
Validated XF Owner
Applications Owner
Raffles Owner
TMDb Threads Owner
OSB Display Owner
Custom Add-On Owner
XF2 Forms Owner
XF2 Raffles Owner
XF2 OSB Owner
Registration Spaminator
You must validate your XenForo license to see quoted content

It worked & thank you :)
 

madness

New Member
Validated XF Owner
Applications Owner
Raffles Owner
TMDb Threads Owner
OSB Display Owner
Custom Add-On Owner
XF2 Forms Owner
XF2 Raffles Owner
XF2 OSB Owner
Registration Spaminator
Anyone know how to port this code to xenforo 2?
 

ozzy47

Administrator
Validated XF Owner
Untested, but try this:
HTML:
You must validate your XenForo license to see code
 

ozzy47

Administrator
Validated XF Owner
Scratch the above, it should be this:
HTML:
You must validate your XenForo license to see code
 

madness

New Member
Validated XF Owner
Applications Owner
Raffles Owner
TMDb Threads Owner
OSB Display Owner
Custom Add-On Owner
XF2 Forms Owner
XF2 Raffles Owner
XF2 OSB Owner
Registration Spaminator
Sure I tried that before and it didn't work.
You must validate your XenForo license to see quoted content
Much appreciated Ozzy :)
 

madness

New Member
Validated XF Owner
Applications Owner
Raffles Owner
TMDb Threads Owner
OSB Display Owner
Custom Add-On Owner
XF2 Forms Owner
XF2 Raffles Owner
XF2 OSB Owner
Registration Spaminator
You must validate your XenForo license to see quoted content
Even better. Again thank you :)
 
Top