Advertisement:

Author Topic: View/Enter Board Permissions  (Read 51376 times)

Offline Calcricho

  • Semi-Newbie
  • *
  • Posts: 65
Re: View/Enter Board Permissions
« Reply #20 on: December 23, 2009, 03:05:57 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   :-[   ;)


Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,982
    • StoryBB/StoryBB on GitHub
Re: View/Enter Board Permissions
« Reply #21 on: December 23, 2009, 03:13:10 AM »
You *can* do it with this mod, just it takes a little more work is all.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline blokey

  • Jr. Member
  • **
  • Posts: 143
  • Gender: Male
Re: View/Enter Board Permissions
« Reply #22 on: December 23, 2009, 12:57:02 PM »
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.
« Last Edit: December 23, 2009, 01:11:02 PM by blokey »
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

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,982
    • StoryBB/StoryBB on GitHub
Re: View/Enter Board Permissions
« Reply #23 on: December 23, 2009, 04:02:39 PM »
Thanks :)

It's easy to allow users access -- not so easy to prevent them accessing it.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline mirahalo

  • SMF Hero
  • ******
  • Posts: 7,687
Re: View/Enter Board Permissions
« Reply #24 on: December 24, 2009, 05:11:57 PM »
really helpful mod Arantor,  many thanks ;)


heres spanish translation  ;)

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,982
    • StoryBB/StoryBB on GitHub
Re: View/Enter Board Permissions
« Reply #25 on: December 24, 2009, 05:17:44 PM »
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.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline mirahalo

  • SMF Hero
  • ******
  • Posts: 7,687
Re: View/Enter Board Permissions
« Reply #26 on: December 24, 2009, 05:25:04 PM »
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   ;)



Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,982
    • StoryBB/StoryBB on GitHub
Re: View/Enter Board Permissions
« Reply #27 on: December 24, 2009, 05:37:24 PM »
Thanks - I will :)

That's the only curse of having a lot of mods, is trying to keep up with translations at times.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline mirahalo

  • SMF Hero
  • ******
  • Posts: 7,687
Re: View/Enter Board Permissions
« Reply #28 on: December 24, 2009, 05:43:39 PM »
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

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,982
    • StoryBB/StoryBB on GitHub
Re: View/Enter Board Permissions
« Reply #29 on: December 24, 2009, 05:45:47 PM »
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)
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline mirahalo

  • SMF Hero
  • ******
  • Posts: 7,687
Re: View/Enter Board Permissions
« Reply #30 on: December 24, 2009, 06:08:15 PM »
ok, looking forward for it,  if there's  something I could do to help just let me know  ;)

Offline scenerip2k

  • Jr. Member
  • **
  • Posts: 106
  • Gender: Male
  • Scene-Network
    • Xtreme Gaming Network
Re: View/Enter Board Permissions
« Reply #31 on: December 27, 2009, 03:43:53 AM »
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

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,982
    • StoryBB/StoryBB on GitHub
Re: View/Enter Board Permissions
« Reply #32 on: December 27, 2009, 08:29:38 AM »
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.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline Bodestone

  • Semi-Newbie
  • *
  • Posts: 26
Re: View/Enter Board Permissions
« Reply #33 on: January 03, 2010, 07:47:33 PM »
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.

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,982
    • StoryBB/StoryBB on GitHub
Re: View/Enter Board Permissions
« Reply #34 on: January 03, 2010, 07:49:20 PM »
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)
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline Bodestone

  • Semi-Newbie
  • *
  • Posts: 26
Re: View/Enter Board Permissions
« Reply #35 on: January 03, 2010, 08:17:57 PM »
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.

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,982
    • StoryBB/StoryBB on GitHub
Re: View/Enter Board Permissions
« Reply #36 on: January 03, 2010, 08:18:51 PM »
If it's set to deny, it DENIES it, even if other groups would allow it.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline Bodestone

  • Semi-Newbie
  • *
  • Posts: 26
Re: View/Enter Board Permissions
« Reply #37 on: January 03, 2010, 08:45:29 PM »
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.

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,982
    • StoryBB/StoryBB on GitHub
Re: View/Enter Board Permissions
« Reply #38 on: January 03, 2010, 08:55:25 PM »
The test user will be in at least two membergroups - can't be avoided.

Check what permissions they have from their profile.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline Bodestone

  • Semi-Newbie
  • *
  • Posts: 26
Re: View/Enter Board Permissions
« Reply #39 on: January 03, 2010, 09:01:34 PM »
All permissions stated show "Given by regular member"