Help required

Discussion in 'PC Hardware and Software' started by tafreehm, Apr 12, 2013.

Share This Page

  1. tafreehm

    tafreehm RAID Rookie

    Messages:
    3
    Likes Received:
    0
    Reputation:
    0
    I installed this and from Options > Sticky First Posts > I pic all the forums (because I want to use this feature in all forums) but guess what first post is not showing on any other page except first page :(
    then I went to user group setting and enabled only option to YES that gave me an option where I can manually select "first post sticky" then it works.

    How can I make first post sticky to all forums without giving an option to user to have it turn off... ?
     
  2. BANHAMMER

    BANHAMMER Teh Almighty BanHammer Staff Member

    Messages:
    5,046
    Likes Received:
    1,434
    Reputation:
    2,993
    MOZ: I think he should be able to help.
     
    tafreehm likes this.
  3. MOZ

    MOZ RAID Leader Staff Member

    Messages:
    2,362
    Likes Received:
    1,064
    Reputation:
    4,403
    It won't sticky first post on older threads, you will have to do that through the DB or manually.

    Other than once you set the default forrums, even without giving permission to a user, all threads in that forum will have first post stickied.

    This was guaranteed working until 1.1.3, I can't confirm if it works with the latest update.
     
  4. tafreehm

    tafreehm RAID Rookie

    Messages:
    3
    Likes Received:
    0
    Reputation:
    0
    hmm that's a bummer. I thought it would just made first post sticky to all forums by default. I am not sure if I should run a sql command for million posts.

    Is there any way this can be done through css or js ?

    I am not sure how XF works. but can you do something in the loop
    Code:
    while (have post){
     
    <xen:if is="{$post.position} % {$xenOptions.messagesPerPage} == 0 AND {$thread.reply_count} > {$xenOptions.messagesPerPage}">
    	// show first post
    <xen:if>
     }// end while
    Above code will not work as it is, but I am trying to pass on the logic. I am not even sure if that's gonna work out or not.
    maybe MOZ will have something better.

    BTW: what plugin are you using for smileys at the bottom ?
     
  5. MOZ

    MOZ RAID Leader Staff Member

    Messages:
    2,362
    Likes Received:
    1,064
    Reputation:
    4,403
    Your SQL query will be for threads, not posts.

    And for the smileys, [dc] Smiley Manager
     
  6. tafreehm

    tafreehm RAID Rookie

    Messages:
    3
    Likes Received:
    0
    Reputation:
    0
    I do not think I wrote any sql query.
    Thanks
     

Share This Page