• This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

Separate Sticky and Normal Threads

Atakan KOC

Active member
This template modification will allow you to separate sticky threads from normal threads.

open
--> Appearance --> Templates : [thread_list]

find

Code:
        <xen:foreach loop="$stickyThreads" value="$thread">
            <xen:include template="thread_list_item" />
        </xen:foreach>

Add below

Code:
        <xen:if is="{$stickyThreads}">
            <li class="sectionHeaders">&nbsp;</li>
        </xen:if>
 

Attachments

  • Sticky.webp
    Sticky.webp
    15.2 KB · Views: 721
Very nice work! I've always loved being able to do this. I use sticky threads for really important discussions and rule listings, and it really helps new members quickly distinguish between these threads and regular threads.
 
I wish the pushpin was in the left hand side
Open up discussion_list.css and find...
Code:
.discussionListItem .iconKey span
        {
            text-indent: -10000em;
            float: right;
            width: 16px;
            height: 16px;
            margin-left: 3px;
            background-repeat: no-repeat;
        }

Change to...
Code:
.discussionListItem .iconKey span
        {
            text-indent: -10000em;
            float: left;
            width: 16px;
            height: 16px;
            margin-left: 3px;
            background-repeat: no-repeat;
        }

That should do it, I think :confused:stickyfloat_screenshot.webp
 
Nice little mod ta, took out the formatting so there's only the gap.

Does anyone know the class to edit to change the stickies background?
 
Top Bottom