JD
Full Member
 
Posts: 767
What's for dinner?: Anything with Bacon!
What's for dessert?: Cookies
inherit
180643
0
Mar 28, 2023 2:59:49 GMT -8
JD
767
June 2012
obsidian92
Anything with Bacon!
Cookies
|
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: 15,540
What's for dinner?: Shepherd's Pie
What's for dessert?: Strawberry Shortcake
Mini-Profile Theme: Kami's Mini-Profile
#f35f71
156500
0
Offline
Jul 24, 2021 11:48:29 GMT -8
Kami
15,540
July 2010
kamiyakaoru
Shepherd's Pie
Strawberry Shortcake
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: 767
What's for dinner?: Anything with Bacon!
What's for dessert?: Cookies
inherit
180643
0
Mar 28, 2023 2:59:49 GMT -8
JD
767
June 2012
obsidian92
Anything with Bacon!
Cookies
|
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*
|
|