Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

How to restrict anonymous users?

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
How would I go about preventing anonymous users from Posting? In the management console, there is an option to restrict a specific user Group from posting in a specific forum, but anonymous users are not members of any group, so how would I go about doing this?
[originally posted on jforum.net by roach]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

roach wrote:How would I go about preventing anonymous users from Posting? In the management console, there is an option to restrict a specific user Group from posting in a specific forum, but anonymous users are not members of any group, so how would I go about doing this?



This is very simple to do ... you have to turn off anonymous posting for the group. Anonymous users are members of the General group by default.

You can do this by going to the Admin Console, click on "Groups", then on the "Permissions" link for the General Group. Under the "Anonymous Posts/Deny Anonymous Posts" .. select the forums that you do not want to allow anonymous posts to.

[originally posted on jforum.net by GatorBait3]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
But:

a) Is there a way to do this by default, for all newly created groups/forums?
b) aren't ALL users members of the General group? If I disable posting for this group, then noone will be able to post! I only want to require that users register before being able to post...
[originally posted on jforum.net by roach]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

roach wrote:But:

a) Is there a way to do this by default, for all newly created groups/forums?
b) aren't ALL users members of the General group? If I disable posting for this group, then noone will be able to post! I only want to require that users register before being able to post...



You are NOT disabling posting .. you are disabling ANONYMOUS posting for those forums selected. That means visitors have to register before they can post to those forums. And this is not an "all or none" .. anonymous posting will be disabled only for those forums selected. Disabling anonymous posting does not make a forum "private" either .. it still can be viewed by everyone.

If you are creating a new group, it's permissions will be different than the General group (otherwise, why create it?).

And, by default, new members do get added to the General group (unless you change the default group to some other group).

When you create new forums, you will have to adjust the permissions that are assigned to it .. otherwise it gets the "default" permissions. There is no way for the JForum system to "know" what permissions any forum should have .. it will set the default (i.e. General group) and it's up to you to define or change permissions for the forums if you want something non-default.
[originally posted on jforum.net by GatorBait3]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic