Support Forum

Default usergroup showing, not WP roles

TB Todd Bockman
Todd Bockman
Member

I’m testing out my new SP and getting the standard “Member” status rather than the WP roles I assigned.

What do I need to go to get them to show up properly?

Thank you!

14 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

Well – a WP ‘role’ is not an SP ‘user group’ but you can map ‘roles’ to ‘user groups’ in the forum admin > options > member settings.

And if you want to, you can name your user groups that same name as the roles – ‘members’ is just a default we set up and is often enough for many of our users.

Is that what you needed to know?

TB Todd Bockman
Todd Bockman
Member

That’s what I have set up, I have the user groups with matching WP roles under the member settings.  It is using the permissions of the default members instead of the ones of the user group.

How do I get it to use the new permissions of the new user group I set?

I have several membership levels with the corresponding user group and wp role.  How do I make sure it uses those permissions?

YS Yellow Swordfish
Yellow Swordfish
Member

You marry user groups and permission sets when you create or edit a forum. So go to the forum management, edit a forum and set the correct user group/permission relationships in there.

TB Todd Bockman
Todd Bockman
Member

I think the problem may be in my naming of the WP roles … I have spaces in the names, from what I read, it shouldn’t have spaces.

Could this be throwing it off?

It seems the problem is when a new member registers they are not assigned to the indicated level.  They default to the “default” user.

YS Yellow Swordfish
Yellow Swordfish
Member

I don’t know about the ‘spaces in roles’ question But I guess it is possible,
How are members registered on your site? Is this using the standard WP registration system?

TB Todd Bockman
Todd Bockman
Member

Through Wishlist Member.  The member level is assigned a WP role, and the role corresponds to a user level in Simple Press.

YS Yellow Swordfish
Yellow Swordfish
Member

Which is more or less what we do here I believe.
Steve is more the WishList guy than me so if you can hold off for a little longer he will be along later…

TB Todd Bockman
Todd Bockman
Member

That’s fine, in the mean time I will try changing the role names with no spaces, I keep reading that wordpress roles cannot have spaces.  Everything else looks set right from what I can tell.

MP Mr Papa
Mr Papa
Member

not sure spaces have any impact – if so its a wp thing then…  but worth trying… 

so lets recap:

1)  you went to wishlist – member levels and for each membership level, you mapped it to a unique wp role…

2)  you went to forum – options – member settings and mapped each wp role to an sp usergroup, including the members one…

3)  you went to forum – usergroups – manage usergroups and set up a unique sp usergroup for each role/level

4)  you went to forum – permissions – manage permissions and set up a unique sp permission set for each role/level (technically, you could share, but no point to that really)

5)  you went to forum – forums – manage groups and forums and applied the usergroup from (3) with the permission set from (4) to each forum where you want to control access

TB Todd Bockman
Todd Bockman
Member

Ok, got it solved ( I hope ) … 

In the WP roles, when i added roles/capabilities, they had the same level as the default ones.  I changed all the levels so there were none with the same levels (two had level “0”, two had level “1”, etc.) and set them to all separate levels (this is in the WP roles manager, not Simple Press or Wishlist Member).

Seems to work fine now.

Simple things, lol.

TB Todd Bockman
Todd Bockman
Member

Ok, new issue … arrrgggghhh … got the user group, member level, everything working fine, looking fine, access to the things I’m supposed to have access to (as a registered test user) … I go to post topic or reply to topic, write post, answer the security questions at the bottom, save post, it says it’s saved …. then nothing.  Goes back to list of groups and my post is no where to be found.  

Went to admin panel under my id in separate browser, and no post are pending.

Double checked all permissions, seem ok.  It allows me to write and save a post, it just disappears then.

?

TB Todd Bockman
Todd Bockman
Member

Ok, solved that … had “needs moderator approval” and the math spam control and drag picture to box control … took them off and now I can post just fine.  Weird.

Under my profile (remember, this is the test login), it shows I’m part of the right user group “Forum Member”, but on my post under my name it just shows as “Member”.  How do I get it to show as “Forum Member” etc for the usergroups?  Or is that just replaced by an icon badge i create and set to use there?

MP Mr Papa
Mr Papa
Member

you are mixing things up…  Forum Member is a usergroup…  Member is a forum rank…  in the current version, badges can be shown for forum ranks and special ranks but not usergroups…  5.0.5 hopefully out this weekend, will add badges to usergroups…

so…  what you show there is driven by template tags in your theme…

so you are probably using sp_PostIndexUserRank() and instead want to use sp_PostIndexUserMemberships()…  our provided themes display forum ranks and not usergroup memberships…