![]() |
Are conditionals possible with prefixes?
I'd like to do something like: if prefix = x show something. Is that possible?
Thanks in advance. |
Yes
|
Thanks for letting me.
Would you by any chance know how? If so, would you be kind enough to provide an example? Thanks in advance. |
Where exactly do you want it to show? What are you trying to do?
More info would be helpful. :p |
I'd like to show attached thumbs a certain way depending on the prefix of the post. I've already done it depending on forum - but I'd like more control over it and do it depending on thread prefix... This would all happen in the postbit template.... All I really need is the if statement, not sure what it would be and figured I'd ask since finding the right variable for the forumid in the postbit took a while.... Thanks again to Lynne if she reads this!
thanks in advance... |
Hmmm...
Code:
<if condition="$thread['prefix'] == 'x'"> Change X to the prefix id. |
thanks for the quick reply and sorry for delayed response.... that didn't work... guessing we have the postbit prefix variable wrong... i'll ask on .com as well....
|
Try using:
PHP Code:
|
All times are GMT. The time now is 06:23 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|