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

XF 1.4 Use page criteria to display notice within locked threads?

Joe Link

Well-known member
#1
I'd like to display a notice (actually a popup using @Chris D's add-on) when a user views a thread which is locked, within specific nodes. I believe I could do this with the page criteria tab, but after playing around for an hour I can't seem to figure it out :confused:
 

Chris D

XenForo developer
Staff member
#2
There's no criteria that matches a closed thread. It would require custom development or an add-on (various add ons exist for adding new criteria but I'm not sure if any of them add that specifically)
 

Chris D

XenForo developer
Staff member
#4
Not very. The thread record would need to be available to the page container which isn't too difficult to do. Then the criteria checks would have the thread record available so you can read its closed state and act accordingly.