1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Sticky

Discussion in 'Styling and Customization Questions' started by time, Jun 7, 2013.

  1. time

    time Active Member

  2. Jeremy

    Jeremy XenForo Moderator Staff Member

    I don't know how you are getting it displayed twice, but if you'd like to stick a thread to the top, make sure you have necessary permissions (Stick / unstick thread) and then it'll be available via the Thread Tools (inside the thread) or the quick moderation menu when viewing the forum list (checkboxes next to the name).
     
    time likes this.
  3. time

    time Active Member

    Hi King Kovifor,

    Image above by editing the html from xenforo.com: D

    I want all sticky threads:
    1. Show above topic list (default)
    2. Show topic list


    I do not use good English should not explained well my idea
     
  4. Jeremy

    Jeremy XenForo Moderator Staff Member

    Also not possible without an add-on or code edit.

    If you are comfortable with a code edit (will need reapplied every updated), find the following line of code in library/XenForo/ControllerPublic/Forum.php and remove it:
    Code:
                $threadFetchConditions += array('sticky' => 0);
    
    (line 219 in 1.1.4 -- in function _getForumFetchOptions())
     
    Shelley and time like this.
  5. time

    time Active Member

    Like (y)
    Thanks King Kovifor,
     
  6. Jeremy

    Jeremy XenForo Moderator Staff Member

    My pleasure. :)
     
    time likes this.
  7. Steve F

    Steve F Well-Known Member

Share This Page