The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Some way of knowing if a thread is sticky in SHOWTHREAD>
I see $show['sticky'] is used in threadbit but when I use it in the SHOWTHREAD template it's always false, even if the thread is in fact a sticky.
What I really need is to use it in the showthread_start hook in a plugin... Any way of letting me use it in there or an alternate way to know if I'm in a sticky? Thanks. |
#2
|
||||
|
||||
$thread['sticky'] should be valid (or $threadinfo['sticky']) so use that.
|
#3
|
||||
|
||||
Thanks... $threadinfo['sticky'] worked!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|