Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 UserGroups v1.0 BETA2
 New Topic  Topic Locked
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 10

Reinsnitz
Snitz Forums Admin

USA
3545 Posts

Posted - 08 November 2003 :  10:48:40  Show Profile  Visit Reinsnitz's Homepage  Send Reinsnitz an AOL message  Send Reinsnitz an ICQ Message  Send Reinsnitz a Yahoo! Message
Klingstedt,

Set the forum to "Members Only (Hidden)".

Your problem will go away. Nikkol'll take a look at the loophole on the lower security method you have mentioned when she gets back. But the MOD realy wasn't designed to work in that mode for open forums. (idea being if there are no restrictions on the forum itself, there is no reason for this MOD to filter it either, it would be very contradictory).

Reinsnitz (Mike)
Go to Top of Page

Reinsnitz
Snitz Forums Admin

USA
3545 Posts

Posted - 08 November 2003 :  10:49:14  Show Profile  Visit Reinsnitz's Homepage  Send Reinsnitz an AOL message  Send Reinsnitz an ICQ Message  Send Reinsnitz a Yahoo! Message
i.e. don't put limits on open forums... and if a forum should not be open, then limit access to it so that you can do what you need to.

Reinsnitz (Mike)
Go to Top of Page

ajhvdb
Junior Member

Netherlands
392 Posts

Posted - 09 November 2003 :  09:13:06  Show Profile
quote:
Originally posted by Klingstedt

When I add a group the Group Options dosenīt puts into the DB.. but when I edit a group it does.

Sorry if Iīm maybe writing about old bugs, but I just installed this mod and I havīnt read any other topic about this mod.


I've reported this also and it's still a bug :)
Go to Top of Page

Reinsnitz
Snitz Forums Admin

USA
3545 Posts

Posted - 11 November 2003 :  08:25:59  Show Profile  Visit Reinsnitz's Homepage  Send Reinsnitz an AOL message  Send Reinsnitz an ICQ Message  Send Reinsnitz a Yahoo! Message
quote:
Originally posted by ajhvdb

quote:
Originally posted by Klingstedt

When I add a group the Group Options dosenīt puts into the DB.. but when I edit a group it does.

Sorry if Iīm maybe writing about old bugs, but I just installed this mod and I havīnt read any other topic about this mod.


I've reported this also and it's still a bug :)



Please elaborate on how this is done and what is going on.

Reinsnitz (Mike)
Go to Top of Page

ajhvdb
Junior Member

Netherlands
392 Posts

Posted - 11 November 2003 :  17:34:50  Show Profile
Click on the button "Add usergroup"
In the Text boxes type in blablabla
Under "Group Options"
- check an option but after submit the options are not saved
Go to Top of Page

Nikkol
Forum Moderator

USA
6907 Posts

Posted - 11 November 2003 :  18:35:09  Show Profile
I'm back. I'll work a little tonight fixing some stuff. Just to be clear, we are going to use the TopSQL function to fix the first error and I need to fix the options thing too. Is there anything I'm missing?

Also, my computer is on the verge of dying, so if you don't see me for a few days, you'll know why.

Nikkol ~ Help Us Help You | ReadMe | 3.4.03 fixes | security fixes ~
Go to Top of Page

Reinsnitz
Snitz Forums Admin

USA
3545 Posts

Posted - 12 November 2003 :  09:11:31  Show Profile  Visit Reinsnitz's Homepage  Send Reinsnitz an AOL message  Send Reinsnitz an ICQ Message  Send Reinsnitz a Yahoo! Message
Welcome back Nikkol!!! :)

Reinsnitz (Mike)
Go to Top of Page

Nikkol
Forum Moderator

USA
6907 Posts

Posted - 12 November 2003 :  16:58:59  Show Profile
Thanks, but unless I figure out what is wrong with my computer, you probably won't be seeing much of me over the next few weeks. I'll check in when I can.

Nikkol ~ Help Us Help You | ReadMe | 3.4.03 fixes | security fixes ~
Go to Top of Page

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 14 November 2003 :  06:26:07  Show Profile
quote:
Originally posted by Reinsnitz

Set the forum to "Members Only (Hidden)".



Doesn't it need to be Allowed Member List, you don't get the "Allow" option in the UserGroup permissions with Members Only.

If a user belonged to 2 UserGroups, lets say GroupA and GroupB, a forum is created with "Allowed Member List (hidden)" set, GroupA set to allow, GroupB set to deny. Should this member have access? They are a member of GroupA which is allowed yet also a member of GroupB which is denied?
I've tested this scenario and they are not allowed in, I would have thought they would?

The UK MkIVs Forum
Go to Top of Page

Nikkol
Forum Moderator

USA
6907 Posts

Posted - 14 November 2003 :  07:04:50  Show Profile
I coded it so that Deny overrides any other permission.

Nikkol ~ Help Us Help You | ReadMe | 3.4.03 fixes | security fixes ~
Go to Top of Page

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 14 November 2003 :  07:22:25  Show Profile
Cheers, what would be useful is another function which could be used on custom page so that UserGroups could be used elsewhere, not just forums

eg.
top of mynewpage.asp

sGroupIDsAllowed = "2,7,9"

if isMemberAllowed(MemberID, sGroupIDsAllowed) then
show page
else
not allowed in
end if

The UK MkIVs Forum
Go to Top of Page

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 14 November 2003 :  09:53:30  Show Profile
quote:
Originally posted by Nikkol

I coded it so that Deny overrides any other permission.



What code do I need to change to make Allow override other permissions? And can you envisage anything wrong in doing this?

The UK MkIVs Forum
Go to Top of Page

Reinsnitz
Snitz Forums Admin

USA
3545 Posts

Posted - 14 November 2003 :  11:51:15  Show Profile  Visit Reinsnitz's Homepage  Send Reinsnitz an AOL message  Send Reinsnitz an ICQ Message  Send Reinsnitz a Yahoo! Message
You may not realy want to override the deny...

what do you do when someone is hinging on the edge of being out of line on your forums... anad you need to get their access temporarily revoked so that they get the point that you are seriouse... as is currently set up... you just add them to a Penalized group that has restricted access... that way if that user is a member of multiple groups (which most large forums will have) they are instantly nocked out of all places you don't want someone to be that is being rude or obnoxiouse, but your other members are not affected at all...

now this just goes back to how you structure your groups in the first place... what you want to do is set up all your restricted forums to be Allowed Members List (hidden)... then you want to set all your groups up with specific ALLOW access... nothing more... then you want to set up a group (or a couple of groups at different levels of denied access dependent on what your needs are).

Reinsnitz (Mike)
Go to Top of Page

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 17 November 2003 :  13:57:21  Show Profile
I see what you mean.

Following on from previous post on using UserGroups on non-forum pages. I see it working like this:
1. Add db table FORUM_USERGROUP_PAGES (PAGENAME varchar(50), USERGROUP_ID int)
2. New admin page allowing add/update/delete of above table, text field to enter page name (ie. mysecurepage.asp) and combo box for usergroups.
3. Add some code in inc_header.asp to check if the member is in the required group to view the page.
I'll work on this over the next few days and post up the code when it's done

The UK MkIVs Forum
Go to Top of Page

Kent
Junior Member

United States
193 Posts

Posted - 18 November 2003 :  20:00:11  Show Profile
David,

That would be a great enhancement, rather than having to "hard-code" it into each page...
Go to Top of Page
Page: of 10 Previous Topic Topic Next Topic  
Previous Page | Next Page
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.15 seconds. Powered By: Snitz Forums 2000 Version 3.4.07