Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: Alexa Lynne on November 29, 2013, 11:37:25 PM

Title: Deny Access to a board
Post by: Alexa Lynne on November 29, 2013, 11:37:25 PM
I am not sure this has been implemented into 2.x, but I have a board that requires 100 posts in order for members to view it (Not required for Admins). I also state that members must be in good standing in order to view it. What i'm wanting to do is if a member screws up or breaks a rule, and requires punishment, I want to block just that person from viewing this particular board.  Is there a way to do this?
Title: Re: Deny Access to a board
Post by: Kindred on November 29, 2013, 11:42:12 PM
not easily... if at all....

board viewing permissions do not include the ability to DENY.
and if a user is in the 100+ count post group, then they have permission to access it.
Title: Re: Deny Access to a board
Post by: Alexa Lynne on November 29, 2013, 11:43:09 PM
not easily... if at all....

board viewing permissions do not include the ability to DENY.
and if a user is in the 100+ count post group, then they have permission to access it.

Yeah, that's what I was afraid of. I'm not sure what to do. Guess I will have to come up with some other punishment. . LOL
Title: Re: Deny Access to a board
Post by: Burke ♞ Knight on November 29, 2013, 11:48:43 PM
Can't you just make a new member group that has no permission to view the board?
Title: Re: Deny Access to a board
Post by: Alexa Lynne on November 29, 2013, 11:52:50 PM
Can't you just make a new member group that has no permission to view the board?

Never thought of that. . BUT if i did that, and put the troubled member in that group, wouldn't that deny him from viewing the entire forum?
Title: Re: Deny Access to a board
Post by: Arantor on November 29, 2013, 11:56:53 PM
There is no way to do this in SMF right now.

SMF 2.1 has some functionality around denying groups to boards, though it won't be easy to backport into a mod.

There was a mod, ages ago, that could do it but it hasn't been updated in years.
Title: Re: Deny Access to a board
Post by: Burke ♞ Knight on November 30, 2013, 12:02:11 AM
All you need to do, is set the boards up so that group can not see the ones you do not want them to see.

Modify board, and make sure that the new group is not check marked to view the board. :)
Title: Re: Deny Access to a board
Post by: Arantor on November 30, 2013, 12:05:43 AM
Except the scenario he outlined can't be done.

If you make the board open to 100+ posts, there's *no* way to prevent anyone with 100+ posts from entering that board without a code change. You *can* create a new group and lock out permissions in that board but it won't prevent entering it.
Title: Re: Deny Access to a board
Post by: Alexa Lynne on November 30, 2013, 12:40:34 AM
Can't you just make a new member group that has no permission to view the board?

I created the new membergroup, unchecked the boards that I didn't want the members to be able to view, but apparently i'm still doin somethin wrong.  It's not working correctly. I can still see the board and still be able to view the topics in the board (I created a test member so i can test stuff like this).
Title: Re: Deny Access to a board
Post by: Arantor on November 30, 2013, 12:56:46 AM
No, you're not doing anything wrong.

I guess I will say it a THIRD time: YOU CANNOT DO THIS IN A BASE SMF 2.0. NO MATTER HOW YOU CONFIGURE IT.
Title: Re: Deny Access to a board
Post by: Alexa Lynne on November 30, 2013, 01:11:13 AM
No, you're not doing anything wrong.

I guess I will say it a THIRD time: YOU CANNOT DO THIS IN A BASE SMF 2.0. NO MATTER HOW YOU CONFIGURE IT.

My bad Arantor. . I didn't see where u said  "You *can* create a new group and lock out permissions in that board but it won't prevent entering it."
Title: Re: Deny Access to a board
Post by: Alexa Lynne on November 30, 2013, 01:13:17 AM
Except the scenario he outlined can't be done.

If you make the board open to 100+ posts, there's *no* way to prevent anyone with 100+ posts from entering that board without a code change. You *can* create a new group and lock out permissions in that board but it won't prevent entering it.

Since it won't prevent them from "entering" that board, will it prevent them from viewing any of the posts that's in that board?
Title: Re: Deny Access to a board
Post by: Arantor on November 30, 2013, 01:15:30 AM
Nope, if they can enter it, they can see all the posts. You know, like I said up front that what you want to do can't be done in a standard SMF install.
Title: Re: Deny Access to a board
Post by: Alexa Lynne on November 30, 2013, 01:38:32 AM
Nope, if they can enter it, they can see all the posts. You know, like I said up front that what you want to do can't be done in a standard SMF install.

I'm sure a lot of coding would need to be done in order for what I want to do, to work.  Maybe SMF 2.1 or whatever version is next will have this implemented :)
Title: Re: Deny Access to a board
Post by: Kindred on November 30, 2013, 01:45:14 AM
this is, of course, also the answer that I gave you within 5 minutes of your question... :P

Title: Re: Deny Access to a board
Post by: Illori on November 30, 2013, 06:13:20 AM
There is no way to do this in SMF right now.

SMF 2.1 has some functionality around denying groups to boards, though it won't be easy to backport into a mod.

There was a mod, ages ago, that could do it but it hasn't been updated in years.
it was a mod first ;) before it was in 2.1

http://custom.simplemachines.org/mods/index.php?mod=3311
Title: Re: Deny Access to a board
Post by: Arantor on November 30, 2013, 11:39:25 AM
There is also http://custom.simplemachines.org/mods/index.php?mod=2309 which did it back in 2009 but not so easy to configure...
Title: Re: Deny Access to a board
Post by: Alexa Lynne on November 30, 2013, 02:22:57 PM
There is no way to do this in SMF right now.

SMF 2.1 has some functionality around denying groups to boards, though it won't be easy to backport into a mod.

There was a mod, ages ago, that could do it but it hasn't been updated in years.
it was a mod first ;) before it was in 2.1

http://custom.simplemachines.org/mods/index.php?mod=3311


Thank You!  This one works perfectly!