• Resolved danearnold

    (@danearnold)


    I’m developing a site with Global Site Access set to “Everyone”. It has approx 12 pages of posts, with about half of them having the post set to “Restrict access to this content”, “Logged in users” and “Hide from queries”.

    If I login and view all posts, I see the desired content of 10 posts per page with the pagination links at the bottom for the 12 pages. Clicking on subsequent pages work fine.

    If I am not logged in, I still see the pagination for the 12 pages, but the first page shows only two posts (which are allowed for non-logged in users), and clicking on the next page gives a 404. If I change the url manually to the next page, I will get a couple more posts. And so on.

    I get the same result with default theme 2021. Is this the standard result for this scenario, or just me? Certainly does not seem like a desired result. I would expect pagination to show about half the number of pages, and for each page to show 10 posts.

    Any ideas on how I might fix, or troubleshoot?

    Thanks.

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @danearnold

    Could you please provide a video clip so we can see the issue clearly and we’ll try to reproduce and investigate the issue on our end?

    Regards,

    Thread Starter danearnold

    (@danearnold)

    Because I have added more content, the issue presents itself a little differently. But it is still there.

    My site is an ancestry/genealogy hobby site that shows birth, death, and marriage announcements, along with site news, and (eventually) other things. Anyone can see information about deceased persons, but you must be logged in to see posts pertaining to live individuals.
    Steps to reproduce.
    1. Go to https://www.arnoldworld.net/posts/. (Do not login.)
    2. You will see 7 posts. Should be 10, but there are 3 restricted birth announcements pertaining to living individuals.
    3. Click to go to next page.
    4. You will see 1 post about site news. 9 posts are hidden because they are about living individuals.
    5. Click to go to the next page.
    6. You will see a 404. I’m assuming that internally, it built a page of 10 posts but all were restricted so it shows the 404.

    I’ve got a video but it will take some time for me to upload it from my phone and make it available to you.

    I’ve stopped adding content for now, so the above steps should reproduce the issue as long as you are on the case. If you want, you can easily register an account to see what a logged in person sees. I could give you an account but I hesitate to share the credentials here.

    Thanks.

    Thread Starter danearnold

    (@danearnold)

    Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @danearnold

    Just letting you know that there’s a fix created for this issue in our Github repository: https://github.com/ultimatemember/ultimatemember/pull/856

    Regards,

    Thread Starter danearnold

    (@danearnold)

    Thanks. Sorry, it is not obvious to me how to apply/test this fix.

    Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @danearnold

    Fixes will be merged and released soon. IF you can apply the fixes, you can check the code changes in the link: https://github.com/ultimatemember/ultimatemember/pull/856/commits/d7f198838c8c4edb023bb6e9a3ce1f83001d27d7

    Regards,

    Plugin Contributor Champ Camba

    (@champsupertramp)

    Hey there!

    This thread has been inactive for a while so we’re going to go ahead and mark it Resolved.

    Please feel free to re-open this thread by changing the Topic Status to ‘Not Resolved’ if any other questions come up and we’d be happy to help. 🙂

    Regards,

    Thread Starter danearnold

    (@danearnold)

    That is fine, but for the record, I’m still waiting for the fix to be released.

    Regards,

    Thread Starter danearnold

    (@danearnold)

    Fix works great. Thanks much.

Viewing 9 replies - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.