JD
Full Member
Posts: 771
inherit
180643
0
Sept 27, 2024 15:01:41 GMT -8
JD
771
June 2012
obsidian92
|
Post by JD on Aug 25, 2018 8:44:56 GMT -8
Hey there! Is there some ID that I can use for locked threads when using {if} functions? So that I could... say... change the background colour of locked threads... or change locked thread titles to be struck through or something? Thanks for any help anyone can give on this URL: aeipathy.proboards.com/
|
|
Kami
Forum Cat
Posts: 40,199
Mini-Profile Theme: Kami's Mini-Profile
#f35f71
156500
0
Offline
Jul 24, 2021 11:48:29 GMT -8
Kami
40,199
July 2010
kamiyakaoru
Kami's Mini-Profile
|
Post by Kami on Aug 25, 2018 9:31:32 GMT -8
You know, you should look through the list of variables on the right of every template and go through them to see what things have variables that can be targeted by if statements — not in a rude way, but rather that you seem skilled enough to not be overwhelmed by this list (and it would help you in the long run). That said in this case, yes it is possible. You’d have to check for the exact variable in the variable tree but I believe it’s something like $[thread.is_locked]. Hope that helps!
|
|
JD
Full Member
Posts: 771
inherit
180643
0
Sept 27, 2024 15:01:41 GMT -8
JD
771
June 2012
obsidian92
|
Post by JD on Aug 27, 2018 6:26:01 GMT -8
OMG this is a perfect example of being intelligent without common sense. *facepalms* Totally didn't look at that tree. Thanks Kami - I will stop being a moron now and start looking through that list *thumps up*
|
|