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
Force users to login to post
Avatar
Sebastian Schimpf
Member
sp_UserOfflineSmall Offline
Apr 25, 2017 - 10:48 pm

Hi there, 

I am confused about a setting in the forum:

Image Enlarger

I have activated: Disallow members not logged in to post as guests

And still people can post as guests!

Image Enlarger

Any ideas what is going wrong here?

Avatar
Sebastian Schimpf
Member
sp_UserOfflineSmall Offline
Apr 26, 2017 - 12:57 am

I feel so desperate about this. 

How can I make sure that people who come to the website cannot post?
The way user groups work is really not clear to me. 
If somebody comes to the website and is not registered, this website visitor is not considered to be a member of any usergroup, right?

So why can they post if all forums are set to not allow guests to post?

This is how it looks like when I visit the website without being logged in:
Image Enlarger

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Apr 26, 2017 - 3:10 am

The option you clicked on specifically states that it is intended to stop 'members' from posting without being logged on. A 'guest' is, by definition, not a 'member'. The popup help on that field will explain more.

To stop unregistered people (guests) from posting, you need to have a 'guests' user group (which can be thought of as a dummy/empty group). One was created at install time so hopefully it still exists.

On each forum where guests are disallowed you then need to set the guests user group to a permission set that disallows posting. Again, one was created at install named 'no access'. 

Finally go to the Permissions section of the forum admin and click on the 'Map users top user groups' option and ensure that the 'guest' user group is mapped to the 'no access' permission set.

It might be worth taking a look at the 'Getting Started' section of our codex (right hand sidebar) which also has more detail on access control.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Sebastian Schimpf
Member
sp_UserOfflineSmall Offline
Apr 26, 2017 - 8:15 am

Thanks for the hints.

I deleted the guest group previously and re-created it. 

What can I do to make sure it will work as expected? Just following the instructions in the codex?

 

Update: I am facing the issue now that I have a user group "Guest" and users are members of this group. This user group is not part of Wordpress, it seems it only exists in the SP context.

The actual lowest level usergroup for the forum is "Subscriber" which every new registered user on our website is automatically assigned to,

How can I manage to "clear" the usergroup "Guests" to be the default website visitor usergroup?

At least I managed that website visitors cannot post. My issue right now is that I still have users in the "Guest" usergroup where it should actually be just an empty "container" if I understood your explanation correctly. 

Update:
I managed to move all existing user from the group "Guests" to the group "Subscriber", which is now the default usergroup for registered users. For the moment it seems that there is no issue anymore. 
Please let me know if you have any idea about possible issue coming up in the scenario described. 

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Apr 26, 2017 - 9:07 am

If your designated user group is mapped to 'guests' - and the permission set it is connected to in each forum does not allow posting then it will work.

It is worth taking a long hard look at the permissions available so that you can tailor them for how you want to use them.

andy-signature.png
YELLOW
SWORDFISH
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: 617
Members: 17359
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10125
Posts: 79620