The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
Search
Close
AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

AI Assistant
Social Login to com...
 
Notifications
Clear all

[Solved] Social Login to comment but not to write in forum. Need advice

5 Posts
2 Users
0 Reactions
3,199 Views
Posts: 3
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
(@ruggero)
Active Member
Joined: 5 years ago
[#2039]

Hi all,

I have WPForo and WPDiscuz installed, all it's ok.

Now I would like to use the social login feature to allow users to login and comment posts but not write in forum, where only my site's users have to be allowed to.

If I didn't misunderstand, when a social user log-in with its social account, the plugin creates a new user in my site, well, I don't want that this "external user" can write in forum too, but only limited to comment posts in WPDiscuz.

I thought to create another level of default user, let's say "Guest user" that can interact only with comments, while the normal "registered users" can be assigned to WPForo as default users, am I right?

Or, is there another way to do it?

Thanks in advance


Topic Tags
4 Replies
Asti
Posts: 8217
 Asti
Support
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
(@asti)
Illustrious Member
Joined: 8 years ago

Hi Ruggero,

I may suggest you use the WordPress Multisite for this. You'll just need to install the wpForo on some subdomain of your website. In this case, you'll have separate users on your forum and website. 


Reply
Posts: 3
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
(@ruggero)
Active Member
Joined: 5 years ago

Thanks for advice Asti, but to install WPMS only to have another level of users maybe is a too heavy operation.

In any case, I'll think on it, many thanks.

Any other ideas?


Reply
2 Replies
Asti
 Asti
Support
(@asti)
Joined: 8 years ago

Illustrious Member
Posts: 8217
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

@ruggero,

There is also a solution with user_register hook. If you're a developer you can do some customization and can set some role for the users, then synchronize it with wpForo Usergroups. 

Once you find a way to set the user role to those users, it'll be easy to restrict the members from posting on the forum. This wpForo FAQ should be helpful for you: https://wpforo.com/community/faq/wordpress-user-roles-wpforo-usergroups-and-forum-accesses/


Reply
(@ruggero)
Joined: 5 years ago

Active Member
Posts: 3
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

@asti

Thanks Asti, so the solution is to play with user roles, as I supposed.

Thanks for pointing me to the detailed explanations 👍 

Have a great weekend


Reply