Author |
Topic  |
Hopper
Junior Member
 
192 Posts |
Posted - 17 October 2000 : 10:20:39
|
Ive been going through your forum software and your Documentation and ive noticed one thing that seems very quirky. You allow the forum to be set up for Member List Access. But the way you allow the users to be assigned access is through a scrollable listbox. It might be more user friendly and MUCH easier to configure/grant access if you were to change that to a duel picklist, the left being the full list of users, the right being the allowed users.. perhaps letting them pick all the users they want to have access on the left side, then hitting an update button and having those names transferred to the right side.
Also, the forums do not allow you to set them up so that you can lock out peoples posting access but still allow them to read the forum messages.. IE: moderators have access to post but a normal member doesnt. Or if you want to stop a trouble user from posting messages in that forum, take away the posting access for that user but still allow them to read the messages.. Perhaps use a bitmasking access system??
Another thought... it would be new (never seen this on any forum software) to be able to give permissions to do differant things such as Post, Edit, Delete, Move posts, threads independantly. Perhaps I want a Moderator to have the ability to Delete a trouble post but not to be able to Modify the text.. or give one moderator the ability to Move threads while not giving that ability to a differant moderator. I dont know how difficault this would be to implement, but it would be something no other forum software offers.
Oh well, enough for now *smile*
<font color=red>[moved by admin on 10/23/2000]</font id=red> |
|
BinaryBoy
Starting Member
USA
49 Posts |
Posted - 17 October 2000 : 10:38:31
|
Hey Hop, you stole my listbox idea... hehe... <img src=icon_smile_tongue.gif border=0 align=middle>
|
 |
|
Kal Corp
Average Member
  
USA
878 Posts |
Posted - 17 October 2000 : 18:04:25
|
What about groups?
In NT mode I can set NT Domain Groups. This is very useful. In db mode we don’t have this ability.
Set the forums to groups, and then set the users in the groups. Very simple but productive.
You could also set Different permission to each group, Read, Write, Modify and Admin.
Example each forum would have default groups.
Admin Group – Full Access Moderator Group – Mod Access User Group – User Access (Read, Write) Visitor Group – Read Only Special Group – (Special Access) Custom
|
 |
|
davemaxwell
Access 2000 Support Moderator
    
USA
3020 Posts |
Posted - 18 October 2000 : 09:36:51
|
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote> What about groups?
In NT mode I can set NT Domain Groups. This is very useful. In db mode we don’t have this ability. <hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
John M. has started to work on this functionality a ways back. I don't know how far he had gotten with it. I need this type of functionality for the forum I'm getting ready to open up, so I guess I'll work on it once I get the SR2 version caught up to my functionality.
Dave Maxwell -------------- When's the next meeting of Snitzaholics Anonymous<img src=icon_smile_question.gif border=0 align=middle> |
 |
|
Hopper
Junior Member
 
192 Posts |
Posted - 18 October 2000 : 11:54:20
|
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote> What about groups?
In NT mode I can set NT Domain Groups. This is very useful. In db mode we don’t have this ability.
Set the forums to groups, and then set the users in the groups. Very simple but productive.
You could also set Different permission to each group, Read, Write, Modify and Admin.
Example each forum would have default groups.
Admin Group – Full Access Moderator Group – Mod Access User Group – User Access (Read, Write) Visitor Group – Read Only Special Group – (Special Access) Custom
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
But will this work?? it would seem that if you do the permissions and groups at the NT level then the program would return errors instead of simply not allowing them access to these options.. it might work but it would be VERY clunky and look like a less then top quality program.. they would still have access to those functions, but the program would error out on a permissions issue. Or am I looking at this wrong.
|
 |
|
Reinsnitz
Snitz Forums Admin
    
USA
3545 Posts |
Posted - 18 October 2000 : 15:04:02
|
Hopper and BinaryBoy,
On the dual list box idea... you code it... and it will be in the next release. This has been one of the biggest things that has bugged me about the list box there... and I just couldn't figure out a good way to do it... the only trick I see in doing this right, is to write the javascript to be compatible accross browsers/versions... I know I've seen similar code that didn't require the page to refresh, but simply moved them via the javascript.
Again, your idea is briliant! Please submit the code for doing it, and I'll include it right way. If you have it done by about 8:00pm EST, it'll be in tonights potential SR3 release.
<center>Reinsnitz (Mike) <font color=red>><)))'></font id=red>
<font color=green>Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make your path straight. -- Proverbs 3:5-6</font id=green></center> |
 |
|
John
Junior Member
 
USA
427 Posts |
Posted - 18 October 2000 : 21:32:08
|
User groups actually replaces private forums It's like this.
Each user is assigned to a group. Each group has several special permissions (can edit profile, can login, can access admin) and global permissions. Global permissions are: read, post topic, reply, lock, edit, delete, edit own, delete own posts, delete own topics. <i>Forum</i> permissions are the global permissions (with the addition of "show as moderator", but for each forum. If no forum permissions exist for a forum, the global permissions are used.
IF I can get access to the old posts (hint hint) I'll be able to set it up so a user can be a member of more than one group.
All in all, this'll allow you to set-up the permissions exactly how you need them.
I almost finished the mod, but that was way back in v2.96 beta <img src=icon_smile_sad.gif border=0 align=middle>. I'm gonna use that original code, add some things, and make it compatible with v3.2 or whatever (after internationalization and CSS). Cheers!
<center><font size=1>Khoor#vqlw}#xvhuv/#wkdq{#iru#uhdglqj#=, Decoder</font id=size1></center> |
 |
|
HuwR
Forum Admin
    
United Kingdom
20587 Posts |
Posted - 19 October 2000 : 06:01:12
|
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote> Hopper and BinaryBoy,
On the dual list box idea... you code it... and it will be in the next release. This has been one of the biggest things that has bugged me about the list box there... and I just couldn't figure out a good way to do it... the only trick I see in doing this right, is to write the javascript to be compatible accross <hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
I will speak to my bro about this, he is a Java guru, and I know he has code nocking around that does this, I'll see if I can get the code for to have a look at.
'Resistance is futile' |
 |
|
HuwR
Forum Admin
    
United Kingdom
20587 Posts |
Posted - 20 October 2000 : 16:22:42
|
I think I've cracked it, basically I have given it two listboxes, you can copy names from one to the other, multi copy etc, I will test it on my Live test site and let you know, I had too do some mods to post.asp, but that is all, the code still works the same to update the db. Will keep you posted.
It sort of looks like this...

Any comments as to looks/layout etc...
Edited by - huwr on 20 October 2000 16:58:31 |
 |
|
RichardKinser
Snitz Forums Admin
    
USA
16655 Posts |
Posted - 20 October 2000 : 17:32:17
|
looks nice <img src=icon_smile.gif border=0 align=middle> |
 |
|
HuwR
Forum Admin
    
United Kingdom
20587 Posts |
Posted - 20 October 2000 : 17:45:21
|
Does it require a >> or << to move the whole list ? Should we use nice images for the buttons ?
<img src=icon_smile_question.gif border=0 align=middle><img src=icon_smile_question.gif border=0 align=middle><img src=icon_smile_question.gif border=0 align=middle>
<font color=blue>'Resistance is futile'</font id=blue> |
 |
|
RichardKinser
Snitz Forums Admin
    
USA
16655 Posts |
Posted - 20 October 2000 : 18:03:00
|
The option to move the whole list would be nice. |
 |
|
HuwR
Forum Admin
    
United Kingdom
20587 Posts |
Posted - 20 October 2000 : 18:35:31
|
I just discovered something else which may be prohibitive, the F_USERLIST field is 255 chars long, with user_id's between say 1 and 9999 the field would only allow between 50 and 80 users to be added to the userlist.
I ran some random number tests through Delphi, and to be able to add 200 users to alist where the user_id can be anything between 1 and 4 digits would require about 1000 chars.
What next ??
<font color=blue>'Resistance is futile'</font id=blue> |
 |
|
Doug G
Support Moderator
    
USA
6493 Posts |
Posted - 20 October 2000 : 20:49:46
|
Well, I see 3 options. Leave the current design alone with the limit imposed, change the field type to memo or other wide text, or (best IMHO) add a new intersection table between forums and users to hold the memberlist.
$.02
====== Doug G ====== |
 |
|
HuwR
Forum Admin
    
United Kingdom
20587 Posts |
Posted - 21 October 2000 : 10:34:02
|
Ok.
I changed the field type to Text on my SQL server and memo in my Access DB, everything works ok, you can add and remove users, it updates the db etc. but it no longer recognises the list of users as allowed even though they are in the DB. I suspect this is something to do with the split function not liking the Text/memo fields.
Anybody any ideas ?
<font color=blue>'Resistance is futile'</font id=blue>
If you want to see it working, check out My Test Site
Login as testadmin:testadmin
Edited by - huwr on 21 October 2000 10:35:47 |
 |
|
HuwR
Forum Admin
    
United Kingdom
20587 Posts |
Posted - 23 October 2000 : 11:45:46
|
I have finished the mods to change the Allowed Users Listbox, if you haven't made any changes to post.asp and inc_functions.asp , then simply copy the files. Otherwise you will have to integrate the code yourself. The main changes in post.asp are enclosed in comments and should be easy to move.
The other changes in post.asp and inc_functions.asp will take a little longer to change. I had to rewrite the code which used the split function on the F_USERLIST field, in order to get it to work with Memo/Text fields I had to assign the field to a string variable first. Consequently all the other changes are related to split(rs("F_USERLIST")..
Link to file : listbox mods
There is a listbox_setup.asp in the zip which you should run to change the field type of F_USERLIST.
Any questions, please ask.
Somebody might want to move this to the With Code Forum.
Edited by - huwr on 23 October 2000 11:46:50 |
 |
|
Topic  |
|