MyBB Hacks

Full Version: Sticky Fa Icon
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Right I've trying to figure this out for a while and did search for hours around the internet can't find anything! So since my forum display icons are all fa icons, I was wondering how can I make important threads which is forumdisplay sticky to a different icon without showing normal icons?

I've tried doing this..

Code:
<if $thread['sticky'] then>
<i class="thread_status fa fa-thumb-tack sticky-icon" aria-hidden="true"></i>
</if>
<span class="thread_status {$folder}" title="{$folder_label}">&nbsp;</span>


It does work but then it shows my {$folder} icons next to sticky fa icon.

If your confused as to what I'm trying to do.. is this..
https://prnt.sc/gv8kr3

Any help I'd really appreciate it.

Using else?

Code:
<if $thread['sticky'] then>
	<i class="thread_status fa fa-thumb-tack sticky-icon" aria-hidden="true"></i>
<else>
	<span class="thread_status {$folder}" title="{$folder_label}">&nbsp;</span>
</if>

(12-17-2017 10:35 PM)RateU Wrote: [ -> ]Using else?

Code:
<if $thread['sticky'] then>
	<i class="thread_status fa fa-thumb-tack sticky-icon" aria-hidden="true"></i>
<else>
	<span class="thread_status {$folder}" title="{$folder_label}">&nbsp;</span>
</if>


Funny thing is I already done that and worked lol -.-
Thanks anyways bro.
Reference URL's