PDA

View Full Version : I want a condition to exclude some threads


SilverBoy
11-02-2012, 09:18 AM
Hi

I'm looking for if condition to use it in navbar template in showthread page to exclude some threads from displaying a text or what ever in that place.

I tried some conditions but I failed, I used $threadinfo[threadid] and @thread[threadid] variables without any success, so could you please help me in this.

vbulletin version is 3.8.x

Thanks in advance.

futureaudio
11-02-2012, 10:57 AM
I don't think theread information exist in the context of navbar template. You probably need to create a plugin or use javascript.

kh99
11-02-2012, 11:46 AM
You could try $GLOBALS[threadinfo][threadid].

SilverBoy
11-03-2012, 04:02 AM
Thank you kh99 :)