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

Custom Posts Per Page User Setting

Discussion in 'XenForo Suggestions' started by DeltaHF, Sep 17, 2011.

  1. DeltaHF

    DeltaHF Well-Known Member

    While going over XenForo's configuration options, it suddenly occurred to me that users cannot configure their own custom "posts per page" setting, and with only one global default.

    Considering I've been using vBulletin for about 10 years now, I know some my users are going to be absolutely livid when they realize they can no longer change this on their own. :unsure:

    I'd like to see it in XF soon.
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

  3. ChemicalKicks

    ChemicalKicks Well-Known Member

    Jay likes this.
  4. DeltaHF

    DeltaHF Well-Known Member

    Not necessarily, Brogan. XenForo also provides page-independent direct links to posts. Here's the one for the post you used in your example above:

    http://xenforo.com/community/posts/251914/

    This actually brings up a larger question - why isn't that the permalink offered up by default in all the little widgets? Otherwise, if an administrator changes the default posts-per-page in the control panel, nearly every post permalinks will break.

    That could be a pretty serious problem.
     
  5. Brogan

    Brogan XenForo Moderator Staff Member

    I'm well aware of that, but most all users will just copy and paste the URL from the address bar or permalink, and if members have different numbers of posts per page, the links won't work.
     
  6. DeltaHF

    DeltaHF Well-Known Member

    Yes, I understand the problems with those page-dependent links, and that a lot of users will simply grab them from the address bar.

    What I don't understand is why those anchored links are included in the templates at all, when the page-independent links are already available and guaranteed to work forever - even if the administrator changes the forum's global posts-per-page or if user's individual posts-per-page settings are eventually introduced sometime in the future.
     
    Gladius, MYstIC G and Jay like this.
  7. MYstIC G

    MYstIC G Active Member

    This. It absolutely makes zero sense the way it is at the moment.
     
    Gladius and Jay like this.
  8. DeltaHF

    DeltaHF Well-Known Member

    Thanks for commenting, I was surprised to see I was the only one who cared about the very highly fragile nature of XenForo's provided post links (and the lack of interest still concerns me). One thing I've learned from building my community over the last 10 years is that you can never, ever, take something like a post-per-page number for granted over the long term.
     
    Gladius, BamaStangGuy and MYstIC G like this.
  9. MYstIC G

    MYstIC G Active Member

    You're making perfect sense so I had to agree :)

    I can't understand why this wouldn't use the posts links unless it's something very specific to do with Search Engine Optimisation.
     
  10. Crispy

    Crispy Member

    Some of our users kicked up a stink about this, but came round in the end. When someone says "check my previous post on page 2" it means the same thing for everybody. This is a strong benefit IME.
     
  11. DeltaHF

    DeltaHF Well-Known Member

    I don't see that as beneficial in any way, and rarely have I seen anyone in a forum reference their previous posts without a quote or direct link.

    Regardless of your thoughts on individual post-per-page settings, there is still no good reason for XenForo to provide users with what the software describes as a "permalink" to an individual post when it is not. It only takes one simple change of the global posts-per-page setting in the administrator's control panel and the majority of those links will be broken.

    The fix is simple - offer the actual, page-independent link in the template that XenForo already provides. It's a change I will be making in my own custom templates.
     
    Gladius, BamaStangGuy and MYstIC G like this.
  12. kforo

    kforo Active Member

    so you have a way to offer a post count per page for your users? Are you willing to share your method of implementing it? I'm having users complain over not being able to alter posts per page.
     
  13. DeltaHF

    DeltaHF Well-Known Member

    No, I was talking about editing the default post permalink - a discussion which has de-railed the topic. I don't run XenForo on an active site yet and have not edited the templates yet.
     
  14. FabioCesar

    FabioCesar Member

    By changing the amount of posts / page it has no effect .. will be some cache?
     
  15. feldon30

    feldon30 Well-Known Member

    I am really appalled that XenForo went with pages instead of /start=20 or something. The end result is, they can never provide an option to users to set # of posts per page. Huge oversight.
     
  16. Chris D

    Chris D XenForo Developer Staff Member

    Strong words for something relatively trivial.

    I couldn't disagree more.
     
  17. Digital Doctor

    Digital Doctor Well-Known Member

    You might be able to get xenforo to stack pages.
    display page 1 and page 2.
    display page 3 and page 4.
    etc.
     
  18. feldon30

    feldon30 Well-Known Member

    It's a feature built into every other forum product. vB, IPB, phpBB, SMF, need I go on?

    Some people want 20 posts per page. Some want 100. XenForo is engineered in such a way that this can NEVER be a user option. FAIL.
     
    jauburn likes this.
  19. 0xym0r0n

    0xym0r0n Well-Known Member

    I'm not sure about it NEVER being a user option. Sonnb has made a live threads feature which continually allows posts to updated via the same page. I'm quite sure if he can this, then a posts per page feature can be added.

    I've never had an issue or user complain on any forum software about the posts per page. (most being between 20-30 posts)

    I've had ecommerce sites where I'd get at least 3-4 users complain about not being able to set at least 50 products per page... but that's really different...

    I agree with Chris on this. It's trivial.

    Furhman also has a read/write database tutorial in the resources section. I am able to limit anything on a page. So again, not impossible. Just need the right person to make the mod, if enough people want/need it.
     
  20. Chris D

    Chris D XenForo Developer Staff Member

    Just because every other forum product do it like that, doesn't mean it's the right way.

    And it's no accident, either. It's been deliberately engineered like that for a number of reasons. And I think those benefits outweigh the "FAIL" as you so put it.

    My suggestion would be to agree with your colleagues and members a happy medium of posts per page then stick to that. We were on vBulletin for 9 years with many veteran members also querying how to change posts per page. We decided on 40 posts per page and it was a non-issue. The happy medium worked and it hasn't been mentioned since. Everyone is happy.
     

Share This Page