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 not set to group "member"
Avatar
Denis Courtin
Member
Free Members
sp_UserOfflineSmall Offline
Jul 27, 2013 - 9:13 pm

Hi

My new users are "no membership assigned", while in Forum -> Usergroup > Map Users to Usergroups they are correctly set as "new members" = "member role"

I read in the faq it can be caused by a plugin, but it's difficult to troubleshoot, any idea what/where I should start looking for ?

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jul 28, 2013 - 12:37 am

how are new users added to wp?  normal registration?  or do you have a membership plugin?  most membership plugins work fine with sp... they just need to follow the wp rules and api...  when wp creates a new user, specific hooks and actions are fired so that themes/plugins are aware of the new user...  if the membership plugin is operating outside the wp api and those hooks/actions are not fired, we have no way of knowing that a new user was added...  its wp, just use the wp api...

a good test...  go to wp - users - add user and add a new user through the wp users admin panel (not the membership plugin)... does the user get created?  and does it get the right usergroup setting?

Avatar
Denis Courtin
Member
Free Members
sp_UserOfflineSmall Offline
Jul 28, 2013 - 10:41 am

Hi Mr Papa,

Thanks for fast answer

Just tried :
"go to wp – users – add user and add a new user through the wp users admin panel (not the membership plugin)… does the user get created?  and does it get the right usergroup setting?"

Result :
User created and went to correct group

I'm using the usual buddypress registration. http://www.warlegend.net/register/

I'm using a plugin so that the buddypress displayed name is the login and not the "display name", maybe it's conflicting ?

BuddyPress Usernames Only

Override display names across your BuddyPress site with usernames.

http://wordpress.org/plugins/b.....ames-only/

The only other conflicting cookie maybe is :

root Cookie

Changes the cookie default path to / (i.e. the whole domain.com not just domain.com/blog) with an option to go across subdomains

http://wordpress.org/plugins/r.....ot-cookie/

Or last maybe, something in my custom theme ?

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jul 28, 2013 - 1:09 pm

its a good indication that the registration plugin is operating outside the wp api and doing its own thing...  I dont think the other two would be involved...

If a plugin is not following wp standards, not sure what we can do...  is this built in to buddypress or an add on for it????   hard to believe BP itself would be outside the wp api... 

Avatar
Denis Courtin
Member
Free Members
sp_UserOfflineSmall Offline
Jul 28, 2013 - 7:57 pm

The normal behaviour is that if I add an user from the admin panel it will not be in a group ?

BuddyPress Usernames Only is an plugin for buddypress yes

i can try to disable it and test again, will do so today

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jul 28, 2013 - 9:46 pm

no, I was asking if buddypress registration was a plugin for BP or just standard BP?

Avatar
Denis Courtin
Member
Free Members
sp_UserOfflineSmall Offline
Jul 29, 2013 - 3:02 am

no plugin, standard buddypress registration page, check http://www.warlegend.net/register/ (yeah it's in French but it's usual buddypress stuff! login, email, password, display name...:D)

Just tried to disable the plugin BuddyPress Usernames Only

->Same issue with new users :(

 

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jul 29, 2013 - 3:58 am

Is this an up to date version of BP you are using? Or is it older?

andy-signature.png
YELLOW
SWORDFISH
Avatar
Denis Courtin
Member
Free Members
sp_UserOfflineSmall Offline
Jul 29, 2013 - 1:15 pm

1.7.2 not yet updated to 1.8

Avatar
Adewale Olaore
Member
Free Members
sp_UserOfflineSmall Offline
Jul 29, 2013 - 1:42 pm

I am using a membership plugin. How do I get users assigned to a usergorup. When users register, they are assigned a default wp_role of subscriber, but after they make payments, I have a custom script written to upgrade their wp-role to members_level1. I want to be able to add them to a user group at the point where they make payment for membership access, not at registration.

Is there a function to call to assign the simple press usergroup?

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
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