Please or Register to create posts and topics.

Solved: Forum + MemberPress

We use the forum as a piece of member-protected content behind Memberpress.  The forum page is a child of a parent that is protected by a rule that says only members can access that page and its children.

Everything was working perfectly but recently we’ve noticed that while members who were created before your release 1.15.9 can still access the forum, those that were created since we installed that version cannot.  It’s as if those users are not being tagged as forum users when their account is created.  Or at least that’s what we suspect to be the case but since most of us have accounts that go way back, we could be wrong.

Do you have any suggestions please?

One idea that occurs is to down-date the version as far as we can to see if the problem disappears and then update it again to see if it reappears.  At least that would prove/disprove our theory.

Operating System: Linux
Software: Apache/2.4.46 (Unix) OpenSSL/1.1.1f
MySQL version: mariadb.org binary distribution v10.4.17
PHP Version: 7.4.14
PHP Max Input Vars: 1000
PHP Max Post Size: 512M
GD Installed: Yes
ZIP Installed: Yes
Write Permissions: All right
Elementor Library: Connected
WordPress Environment
Version: 5.6
Site URL: https://dev.berksfhs.org
Home URL: https://dev.berksfhs.org
WP Multisite: No
Max Upload Size: 512 MB
Memory limit: 1024M
Permalink Structure: /%postname%/
Language: en-GB
Timezone: Europe/London
Admin Email: webmaster@berksfhs.org.uk
Debug Mode: Inactive
Theme
Name: OceanWP Child
Version: 1.0
Author: Nick
Child Theme: Yes
Parent Theme Name: OceanWP
Parent Theme Version: 2.0.2
Parent Theme Author: Nick

 

Hey @berkshirefhs,

what exactly is it showing for new users?

Can you please also check the forum role in the admin area -> “Users” and check the column “Forum Role”.

It would be also helpful to check the debug log:

https://help.dreamhost.com/hc/en-us/articles/360029327771-Enabling-the-WordPress-Debug-log

After activating try to register a new user and access the forum page.

Need professional help with Asgaros Forum? Book an appointment with us at domra Web Solutions for setup and customization services. Learn more about our Toolbox for Asgaros Forum plugin to enhance your forum experience.

When a new user logs in and tries to access the forum menu item they get a message that it’s protected content and they need to log in, but they already are.

No error is thrown and the new user is assigned a forum role of “User”

Strangely, the test user I created yesterday and who could not access the forum yesterday, can today – with no changes having been made.

I will wait 24 hours.  If the user created today can access it tomorrow I will talk to MemberPress because it’s their plugin that manages membership.

Hey @berkshirefhs,

it sounds a bit like a caching problem. Can you please check that caching plugins are deactivated for these pages. It could also help to deactivate caching for logged in users.

Need professional help with Asgaros Forum? Book an appointment with us at domra Web Solutions for setup and customization services. Learn more about our Toolbox for Asgaros Forum plugin to enhance your forum experience.

We don’t use any caching.  We’ve tried but it causes more problems than it’s worth.  And I have cleared the browser cache.

That new user could NOT access the content the next day so I have raised it with MemberPress

qualmy91 has reacted to this post.
qualmy91

Aaah.  Problem solved

There was an additional layer of security on teh page – an artifact from over a year ago, that had suddenly sprung to life.

Asgaros has reacted to this post.
Asgaros