Support Forum
I am using both the subscriptions-plugin and the "auto subscribe user groups"-plugin.
I made a new usergroup and want to add a permission set for that group in a certain forum. So at that point I check the box "Auto subscribe selected user group to this forum when adding permission".
After pressing the button (add permission set), the proces seems to hang: I keep seeing "please wait".
Any idea what could be wrong?
Thanks & regards,
Erik
Hey Eric,
Behaviour like this is not too common, do you get it with any other plugin or core admin actions or just the auto subscribe?
If I had to guess I would put it down to some kind of conflict, are you able to use the browsers console to see if you are getting any errors on the page when you are setting options and clicking the button?
It might be the case that some other plugin you have active is interfering with the process, so it might be worth disabling every other WP plugin except Simple:Press and trying again.
Just with auto subscribe as far as I've noticed.
There are no errors in the "tools" section. I will try to disable other plugins although it will be a hassle because each time I do a test I will have to delete- and recreate the new usergroup (and add members to it). Otherwise the "auto subscribe user groups" plugin will not kick in...
it's also worth mentioning that the usergroup and permission set are added just fine to the forum - so that part of the proces works ok. It's just that the members are not being auto-subscribed to the forum.
Regards,
Erik
OK - good. This should solve your problem but is probably not the final fix that will appear in the next update...
Actually I would like you to make two small edits so first one...
The first file you need to look at is in the SP core at
/simple-press/admin/panel-forums/support/spa-forums-save.php and the function to locate is called spa_save_forums_forum_perm() starting at line 397.
At line 418 on this function is the code:
sp_reset_memberships($uid);
can you please alter this to
sp_reset_memberships($usergroup_id);
and for the second edit yupou will need to look in the forum plugins folder at the membership subsctibe plugin. The file *using the default path is
/wp-content/sp-resources/forum-plugins/membership-subscribe/admin/sp-membership-subscribe-admin-options-save.php ()which is a bit of a mouthful!)
Line 12 which starts:
check_admin_referer()
please comment out or remove this line of code.
Hopefully should resolve things and I will start to look at what changed here!
YELLOW
SWORDFISH
|
100% is working on all my tests here with those two code changes. However - I would trust looking at the members profile/front-end as opposed to the lists shown in the admin which can be a bit funky sometimes and probably need a complete overhaul or even removing.
So - not sure what to say really. When looking at the users profile (editing their profile) you are looking at the 'forum' subscriptions tab I assume,,,
YELLOW
SWORDFISH
|