WordPress.org

Ready to get started?Download WordPress

Forums

Achievements for WordPress
[resolved] Achievements page 2 and 3 doesn't work (21 posts)

  1. dhaine
    Member
    Posted 1 year ago #

    Hi Paul,

    My page 2 and 3 doesn't work and sends to homepage

    http://www.warlegend.net/achievements/

    It might be because of translation ?

    If you can help me on this I would be very happy :)

    http://wordpress.org/extend/plugins/achievements/

  2. Paul Gibbs
    BuddyPress Lead Developer
    Plugin Author

    Posted 1 year ago #

    Try writing a Page, and there's a button on the Visual post editor that should cause the post to be paginated across several pages. Publish it, and see if the pagination works.

  3. dhaine
    Member
    Posted 1 year ago #

    hmm I don't have this button :)
    So you think this is a theme issue, or pagination issue within my theme ? I'll check it out with my theme designer then :)

  4. Paul Gibbs
    BuddyPress Lead Developer
    Plugin Author

    Posted 1 year ago #

    Try using instructions at http://en.support.wordpress.com/splitting-content/nextpage/

    Trying to confirm if pagination for regular blog posts/pages is working correctly.

  5. dhaine
    Member
    Posted 1 year ago #

    http://www.warlegend.net/testpagination/

    Looks like it's working :)

  6. Paul Gibbs
    BuddyPress Lead Developer
    Plugin Author

    Posted 1 year ago #

    Interesting. Are you using IIS web server? What do you have your permalinks set to?
    What other plugins do you have runnning, and what's your theme?

  7. dhaine
    Member
    Posted 1 year ago #

    yes our own hosted server
    permalinks post name : http://www.warlegend.net/exemple-article/

    I have a lot of plugins and a custom theme :x

  8. Paul Gibbs
    BuddyPress Lead Developer
    Plugin Author

    Posted 1 year ago #

    Are you using IIS for the web server?
    What other plugins do you have runnning, and what's your theme?

  9. dhaine
    Member
    Posted 1 year ago #

    Hi Paul,

    Sorry for not being extremely precise

    -Got confirmation that our server is not IIS
    -I'm using 34 plugins - edit - tried disabling ALL plugins but achievements and still issue
    -Theme is custom

  10. dhaine
    Member
    Posted 1 year ago #

    Tried disabling all plugins and same issue

  11. dhaine
    Member
    Posted 1 year ago #

    my htaccess has a rule to redirect all get request to index.php if the requested file of dir does not exists.
    Maybe achievements/page/2/ are not being found ?

  12. Paul Gibbs
    BuddyPress Lead Developer
    Plugin Author

    Posted 1 year ago #

    Possibly. If you can't revert your htaccess to the standard file as installed by WordPress, maybe send it over to me and I'll test it on my dev server?

    Email is: paul/byotos/com

  13. dhaine
    Member
    Posted 1 year ago #

    hi paul,

    I still have this issue, any new ideas ?

    htaccess doesn't seem to be the culprit

  14. Paul Gibbs
    BuddyPress Lead Developer
    Plugin Author

    Posted 1 year ago #

    No. I'm pretty sure it must be a conflict with another plugin, but I haven't time to go through all the plugins you sent over to me to test against :(

  15. dhaine
    Member
    Posted 1 year ago #

    This is a message with my theme designer/coder :

    plugin conflicts with the wp version,
    because we use native wp files for pagination (see http://www.warlegend.net/news/page/2/)

    we can restore normal wordpress pagination but there would be no numbers down the page (back to next page, previous page)

    Would it be possible to have an option to show all achievements on one page ? that would solve everything :)

  16. Paul Gibbs
    BuddyPress Lead Developer
    Plugin Author

    Posted 1 year ago #

    Achievements uses WordPress' standard functions to implement pagination. I can't begin to help unless you clarify what exactly the "native wp files for pagination" are, and how they are different from mine.

    I you have been able to figure out that difference, it will be just as easy for you to make the changes to Achievements' pagination templates.

  17. Peter Hudson
    Member
    Posted 1 year ago #

    Hi, sorry I can see this has been marked as resolved, but I thought I might add something here. If you don't see this Paul, I will post another entry separately tomorrow.

    I had this problem myself, and whilst I can't tell you what is wrong exactly I can tell you what I think it is associated with Paul, which might help you understand why it might be happening (I fully appreciate it might be a theme thing though and nothing to do with achievements).

    Setting the WordPress Read Settings to show more posts per page than you have achievements, breaks the achievements pagination (or at least that is what is happening for me).

    So if I have 18 achievements and Blog is set to show 17 posts, achievements shows 15, then pagination works and shows final 3.

    If Blog is set to show 19 posts, achievements again shows first 15 but then pagination does not work - it can't find the second page because it assumes as there are 18 achievements it has shown them all I think.

    So I guess the question is does achievements show only 15 posts per page regardless of blog settings - I think this is why pagination MIGHT be breaking.

    Hope that helps.

  18. dhaine
    Member
    Posted 1 year ago #

    thanks peter

    you were right, my blog had settings to show 50 articles (while my theme overwrite this anyway, so no real use for us).
    I set it to 15 and everything is working fine now.

  19. Paul Gibbs
    BuddyPress Lead Developer
    Plugin Author

    Posted 1 year ago #

    Ah hah. That's very useful information. I've created a bug report at https://github.com/paulgibbs/achievements/issues/99 and I'll try to look at this in the next few weeks.

  20. Norm
    Member
    Posted 11 months ago #

    Just a note: When I was addressing this problem I had to create a page for posts and update my permalink settings.

  21. Paul Gibbs
    BuddyPress Lead Developer
    Plugin Author

    Posted 10 months ago #

    Just fixed this. Will be included with version 3.4:

    https://github.com/paulgibbs/achievements/issues/99

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.