Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember Troubleshooting › eMember not properly assigning WordPress user roles
- This topic has 32 replies, 4 voices, and was last updated 13 years, 2 months ago by SeizedPropaganda.
-
AuthorPosts
-
June 22, 2011 at 8:37 pm #33445SeizedPropagandaMember
Well I just checked out two new customers who actually followed through with the registration, the first one was not assigned a role at all and the second was assigned the proper role but it still does not appear to have assigned it properly as they do not have access to the forum as they should.
June 23, 2011 at 3:38 am #33446amin007ParticipantThat doesn’t make sense. Something else has to be wrong here (I know that there are customer’s who are using the simplepress and eMember plugin together).
Do you have the following checkboxes checked in eMember’s settings menu?
Automatically Create WordPress User
June 23, 2011 at 6:21 pm #33447SeizedPropagandaMemberYes I have that setting checked off. I have created the custom WordPress roles for each membership level, and have set the appropraite settings in the SimplePress settings assigning those roles to the corresponding forum.
When I create a test user and assign the role using the WordPress User management system, that user is placed into the forum usergroup that I indicate in my simplepress settings. However, when customers register through eMember and the user role is assigned that way, the user is not placed into the corresponding usergroup even though it shows that they have been assigned the necessary user role.
Other members on the simplepress forum have reported similar issues (see the thread I posted at the beginning of this one).
June 23, 2011 at 11:26 pm #33448amin007Participant“Yes I have that setting checked off” <<<< This is the issue right here.
This means eMember is not creating the WordPress user (because you are not telling it to do so). If eMember does not create the WordPress user then how will the simplepress forum give access to the user that does not exists?
Remember, eMember creates its own database so that user is different from the regular WordPress user. So if you want to use another WordPress plugin that uses the default WordPress users you need to check the “Automatically Create WordPress User” checkbox.
Now, that solves the mystery of why this work working for others (we didn’t need to do that change in the first place).
Whenever you want to integrate eMember with a WordPress plugin that uses WordPress roles you just need to follow this documentation:
June 24, 2011 at 2:38 am #33449SeizedPropagandaMemberI think you misunderstood me, I have that option checked off as in enabled, not checked off as in not enabled.
I have all three check boxes in that field checkmarked as outlined in the documentation you provided (I referenced that when I was initially setting up the site).
June 24, 2011 at 6:44 am #33450amin007ParticipantI have sent you an email to get site access so I can debug this and get to the bottom of this.
June 24, 2011 at 3:05 pm #33451matzenMemberHi Admin,
I do have those option enabled and am having the same issue. I would be happy to provide you site access if you would like to take a look at my scenario as well. I/we appreciate your help with this matter.
June 25, 2011 at 12:08 am #33452amin007ParticipantSent you an email for this.
June 26, 2011 at 12:39 am #33453matzenMemberOk, the info has been sent. Thanks!
June 26, 2011 at 4:47 am #33454amin007ParticipantI did some debugging on the site and it turned out that this issue only happens for paid membership. I identified that the WP eStore plugin wasn’t doing the role settings correctly when you use the “WordPress user integration” feature. Getting the latest build of eStore should fix this issue.
June 26, 2011 at 12:28 pm #33455matzenMemberHi Admin,
I received your email about the eStore being the possible issue and that you had installed the current eStore version but I am still unable to get simplepress to read the proper role. I ran a test transaction and completed the registration for “testuser” I left the user listed after the transaction (in eMember,WP, & simplepress) so you can see that in WP the user was created successfully as an author but the author role did not carry through to simplepress as the “testuser” is assigned level 1 access when they should have level 2 access as that is the assigned permission set for users coming into simplepress as a WP author.. Please let me know if you require any additional information and again thanks for your continued help!
July 2, 2011 at 2:50 am #33456amin007ParticipantThis issue should be resolved now.
July 11, 2011 at 4:22 pm #33457Ulich05MemberI have a similar issue, the default role for WP users is as an author, new e-member registration makes them a contributer for some reason. If i manually make the change in wp users and put them back to an author, the change reverts back to contributor in aprox 24hrs.
if i make the user first in wp as an author and them import them into e-member all works fine w the proper role
July 12, 2011 at 1:17 am #33458amin007ParticipantWhat version of eMember are you using? Are you using the “Auto Upgrade” feature of eMember? What “Role” value have you set for this membership level in question?
July 13, 2011 at 2:21 am #33459Ulich05Memberusing v 6.5.7
turns out now the method i thought worked doesn’t, it still reverts back to contributor.
The role value should be as an “author” but keeps reverting back to contributor.
I’m not sure where the auto update option is so i cannot say if it is enabled or not
-
AuthorPosts
- You must be logged in to reply to this topic.