XF 2.2 banned ip


Would someone please help me how can i check with "xf if" if the ip address of visitor accessing the website is banned ??

I need to use this with "xf if" but idk how. I would appreciate your help
You have banned ips list in your admin cp, i need to check in php if the visitor ip is banned or not (logged or not logged in, does not matter for me)
And use it with xf:if if possible also
Top Bottom