AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

AI Assistant
Notifications
Clear all

[Solved] User Registration Defaulting to Admin Role (Number 2)

14 Posts
3 Users
0 Reactions
4,287 Views
Posts: 11
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@thorsten32)
Active Member
Joined: 5 years ago
[#19267]

Hi there ,

the topic has already been discussed here: https://wpforo.com/community/wpforo-integration/user-registration-defaulting-to-admin-role/#post-40702

but unfortunately there is no solution for me here.
In WP, the standard role is set to "Subscriber" after registration - that works too.
In WPForo the user group "Registered" is set as the standard.
Nevertheless, the user group "Admin" of the forum is given to the newly registered user.

What do I have to do so that the user receives the "Registered" user group?
Thank you very much in advance for your support.
regards
Thorsten


13 Replies
Chris
Posts: 3609
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@chris)
Famed Member
Joined: 5 years ago

Hi @thorsten32,

Please provide a screenshot of your usergroups page.


Posts: 11
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@thorsten32)
Active Member
Joined: 5 years ago

Hi Chris,

here is the screenshot of the user groups page and standard-role in WP

wpforo usergroups
 setting standard role wordpress

1 Reply
Robert
Admin
(@robert)
Joined: 3 months ago

Support Team
Posts: 10753
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@thorsten32,

1. Please go to Dashboard > Forums > Dashboard and click the [Delete All Caches] button

2. Install the phpMyAdmin Plugin or use the phpMyAdmin database tool of your hosting cPanle, open the database and browse the wp_wpforo_usergroups table and make sure the Admin usergroup has "administrator" value in the role field, also make sure the Register usergroup has "subscriber" value in the role field:

 


Posts: 11
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@thorsten32)
Active Member
Joined: 5 years ago

Hello Robert

I did that - the subscriber was a contributor.

This change did not help. Users continue to automatically have the wpforo Admin role

 wpforo usergroups new

1 Reply
Robert
Admin
(@robert)
Joined: 3 months ago

Support Team
Posts: 10753
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@thorsten32 ,

What change do you mean? What were the existing values?

Please note, that you should register a new user to see the result.


Posts: 11
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@thorsten32)
Active Member
Joined: 5 years ago

@Robert,

Admin had administrator role.
Registered had a costumer role which I changed to a subscriber role. Then I did 2 test registrations. Both users still had the WPforo role of Administrator.


1 Reply
Robert
Admin
(@robert)
Joined: 3 months ago

Support Team
Posts: 10753
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@thorsten32,

Ok, please execute this SQL command or change it manually in the wp_options table. The we should find the wpforo_default_groupid option and change the value to 3:

UPDATE `wp_options` SET `option_value` = 3 WHERE `option_name` = 'wpforo_default_groupid'

 

After the change, go to Dashboard > Forums > Dashboard and click the [Delete All Caches] button

 


Page 1 / 2
Share: