• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.4 thread banned display

Tracy Perry

Well-known member
#1
Is there any way in a template to detect if a user is thread banned and then have certain item(s) either display or not display?
 

Mr. Goodie2Shoes

Well-known member
#2
You mean get the list of banned users in the thread_view? I don't think that would be possible as there's no reference to thread ban in XenForo_ControllerPublic_Thread::actionView().
 

Tracy Perry

Well-known member
#3
You mean get the list of banned users in the thread_view? I don't think that would be possible as there's no reference to thread ban in XenForo_ControllerPublic_Thread::actionView().
Yep.. was afraid of that. Was hoping it would be something simple so you could set Post Ratings via template not to display it's "stuff". Looks like it will be something that Luke will have to extend on the add-on.
Thanks