MyBB Community Forums

Full Version: How to put Sticky: when the thread is sitcked.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
There is a question in my mind, how can i add Sticky: and an image to the thread when it gets sticked , like it auto gets it for example

Normal Thread:
Gaming Announcement

Stickied Thread: (it auto gets this look)
[Image: sticky.gif] Sticky: Gaming Announcement

i want it to look like this forum http://ng-gaming.net/forums
BUMP
ANY 1?
You'll need to install the PHP in Templates & Template Conditionals Plugin. You can find it in this thread.

Then in your forumdisplay_thread template bit, you'll need to put:
<if $thread['sticky'] then><img src="http://www.ng-gaming.net/forums/images/bluefox/misc/sticky.gif" /></if>

Though, you shouldn't take somebody else's images without permission. Create your own image for sticky threads instead.
Solved

Ty Smile
For those who do not wish to use a plugin, this could be achieved by adding the background-url property to the forumdisplay_sticky class.
Thanks @dragonexpert