Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
New Members are not put into the right User Group
Avatar
FredK
Germany
Member
Free Members
sp_UserOfflineSmall Offline
Dec 31, 2013 - 5:13 am

Since a good while I have the problem, that new users are not automatically put into the right user group. Once a new user has registered to the forums the database table sfmemberships stucks at usergroup_id 0 instead pushing him to 2 which is the default group for registered members. I have to do this manually.

But even so, the user is not getting the permissions (standard) of the user group. I have always to update the permission settings to give to the new user as well the permissions.

I'm not using any role map app, just WP 3.8 and SimplePress 5.4.0

How to get rid of this?

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Dec 31, 2013 - 6:04 am

Have you set the mapping of WP registrants to SP user groups - or perhaps just the default members one at the top - in forum admin > User Groups > Map Users to User Groups?

andy-signature.png
YELLOW
SWORDFISH
Avatar
FredK
Germany
Member
Free Members
sp_UserOfflineSmall Offline
Dec 31, 2013 - 6:13 am

I have just used in forum admin > User Groups > Map Users to User Groups

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Dec 31, 2013 - 6:26 am

...has that resolved the problem? Or is it too early to tell?
And don't forget to set the defaults.

andy-signature.png
YELLOW
SWORDFISH
Avatar
FredK
Germany
Member
Free Members
sp_UserOfflineSmall Offline
Dec 31, 2013 - 6:44 am

How should it? I just wrote here that I was using this setting already. So nothing was changed now. Unfortunately I can't show here a picture of my settings, so I will describe it:

 

Standard User Group Membership for new Users: Members

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Dec 31, 2013 - 6:59 am

I do NOT really think that my answer merited a forum post AND 2 questionable post reports. What you actually said above was 'I have just used...' which very much suggests that you had just set it up so I believe my question was a good one.

So - I see you say there is no role plugin involved. Is it also the case there is no membership plugin at all?

Could you try an experiment? Could you create a dummy user in the WP Admin (users > add new user) and then immediately take a look to see which user group the new user was assigned into?

andy-signature.png
YELLOW
SWORDFISH
Avatar
FredK
Germany
Member
Free Members
sp_UserOfflineSmall Offline
Dec 31, 2013 - 7:11 am

the database table says : User Group ID -1

The new users is shown on the forums as a new member, not having the rights to the standard user groups.

SP shows him as a member with the ranking of a new member

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Dec 31, 2013 - 7:25 am

And the other question? Any WP membership plugin involved? Actually any 'user' related WP plugins at all?

So - I assume you mean -1 in the sfmemberships table. And that is somewhat bizarre as we never set this to a negative value. So the key is to find what is changing it.

On the 'map users to user group' admin panel do you also have the default SP user group assigned to the default WordPress role - which WP sets to subscriber by default?

andy-signature.png
YELLOW
SWORDFISH
Avatar
FredK
Germany
Member
Free Members
sp_UserOfflineSmall Offline
Dec 31, 2013 - 8:50 am

Yellow Swordfish said
1. And the other question? Any WP membership plugin involved? Actually any 'user' related WP plugins at all?

2. So - I assume you mean -1 in the sfmemberships table. And that is somewhat bizarre as we never set this to a negative value. So the key is to find what is changing it.

3. On the 'map users to user group' admin panel do you also have the default SP user group assigned to the default WordPress role - which WP sets to subscriber by default?

1. There is no any user related WP plugin installed besides "Peter's Login Redirect" http://www.theblog.ca/wplogin-redirect

2. Yes I ment the table sfmembership 

 

3. Could you specify what is the default? Can you provide me with any screenshot of this? The default WP user group is "Abonnent"

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Dec 31, 2013 - 9:11 am

Go to the WordPress admin > Settings > General. Half way doen that admin panel is the setting for 'New User Default Role' which will tell you what it is currently set to. Then you can check this against the SP User Group mappings.

andy-signature.png
YELLOW
SWORDFISH
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17361
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625