• Welcome to Simple Machines Community Forum. Please login or sign up.
December 03, 2021, 09:10:06 AM

News:

SMF 2.1 RC4 has been released! Try it out and help us test! :) Read more.


View/Enter Board Permissions

Started by Arantor, December 15, 2009, 08:08:21 PM

Previous topic - Next topic

Calcricho

Quote from: The Grinch on December 23, 2009, 02:59:04 AM
It is possible with this mod. Just it does a lot more.

http://custom.simplemachines.org/mods/index.php?mod=610 for example lets you control a group being able to see and enter the board - but that's all it does. It doesn't allow you to stop people entering boards if one or more of the groups they have access to would allow them in.

Mine allows you to set up whether a group can view and enter the board, and additionally (what it was made for) stopping people entering boards.


that is not compatible with 2.rc2

Thanks Calcricho   :-[   ;)


Arantor

You *can* do it with this mod, just it takes a little more work is all.
No good deed goes unpunished
All helpful urges should be circumvented

blokey

December 23, 2009, 12:57:02 PM #22 Last Edit: December 23, 2009, 01:11:02 PM by blokey
I would like to thank you gringe for without this mod I found it very hard to manipulate the board to restrict and or allow member group access across my forum
With this mod my life has become significantly easier.
So well done perfect mod!

In fact its that good I have sent you a superhero gif.
SMF Version 2.0 RC2     Server Info Apache version 2.0.63 PHP version 5.2.9 MySQL version 5.0.81-community Architecture x86_64 Operating system Linux

Arantor

Thanks :)

It's easy to allow users access -- not so easy to prevent them accessing it.
No good deed goes unpunished
All helpful urges should be circumvented

mirahalo

really helpful mod Arantor,  many thanks ;)


heres spanish translation  ;)

Arantor

Thanks 130860 :)

I really need to swoop through my mods and get all the translations fixed up sometime soon. To be honest it'll probably happen when I fix everything up for RC3 when that's released.
No good deed goes unpunished
All helpful urges should be circumvented

mirahalo

oh, don't worry about it ;)   I also post the translations in a topic in Spanish boards made just for that,  so  thats pretty much covered :)   although some users don't have  much knowledge about open an editing files  thats why I post the translations in the mod's support topic hopping the mod author include it on the package so the users don't have to edit files, just  install and ejoy   ;)



Arantor

Thanks - I will :)

That's the only curse of having a lot of mods, is trying to keep up with translations at times.
No good deed goes unpunished
All helpful urges should be circumvented

mirahalo

lol, and here I was sending you translation after translation :P  but thats because you're always making new mods!

if you keep making mods, then I will keep sending you translations for those!   :P

Arantor

Hehe, well, I'm always working on *something* or other...

But as RC3 approaches (as it inevitably must) I'll be sweeping up all the changes, all the bug fixes etc etc into the RC3 package (is what I did for mods for RC2, after all)
No good deed goes unpunished
All helpful urges should be circumvented

mirahalo

ok, looking forward for it,  if there's  something I could do to help just let me know  ;)

scenerip2k

damn can someone please help us on how to get this mod to work properly. Step by step instructions on how not to allow a particular group accessing the board.

Thanks

Arantor

When I wrote this, I really didn't intend to get into discussions on how to set it up; you set it up like any other board specific permission in SMF 2.0.

But it depends on, precisely, what you're trying to do. Tell me exactly what you're trying to do and I'll tell you how to do it.
No good deed goes unpunished
All helpful urges should be circumvented

Bodestone

OK, I used this mod after being directed there from this help request: http://www.simplemachines.org/community/index.php?topic=357732.0

I applied the "disallow" for the Ambassador UserGroup across the general profile.
I set up a test user in no groups and they could see all boards and posts.
I added them the the Ambassador user group abnd they could see none. So far so good.

I then (after experimentation removed and) created a new board called Embassy with the permissions group of Ambassadorial. I ensured that all non guest groups had Allow on "View board on board listing" and "Enter the board and see the threads in it"

The new board is there for all users in the home page listing. Admin can see inside it. My test user can see inside when in the Ambassador group but not when in no groups, even though general member is set to allow viewing.

Arantor

Disallow doesn't stop users going in. All it means is that that group doesn't add the permission (doesn't add isn't the same as prevent).

One or more of the other groups is still allowing access. To correct, Admin > Permissions > Settings > Enable deny permissions, and set to deny (which will force it to be disabled)
No good deed goes unpunished
All helpful urges should be circumvented

Bodestone

OK, so why do regular users get "The topic or board you are looking for appears to be either missing or off limits to you." when they are set to allow in the profile permissions for that board?

It's the only board with that profile group and all usergroups have the Allow for view in listing, view topics and post new topics.

Arantor

If it's set to deny, it DENIES it, even if other groups would allow it.
No good deed goes unpunished
All helpful urges should be circumvented

Bodestone

Using the test user who is in no membergroups to test.

They can see all boards on the default profile.

I removed the Embassy board and Ambassadorial persmission profile.
I re-created the Ambassadorial permissions profile, copying Default. I created a new board Embassy set to this new profile.
The test user not in any group got the same error that the board did not exist or was off limits.

Arantor

The test user will be in at least two membergroups - can't be avoided.

Check what permissions they have from their profile.
No good deed goes unpunished
All helpful urges should be circumvented

Bodestone

All permissions stated show "Given by regular member"

Advertisement: