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

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Current Version (Old)
 Private Forums and F_USERLIST Types...
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Rob Poretti
Junior Member

Canada
435 Posts

Posted - 02 July 2001 :  11:40:59  Show Profile  Visit Rob Poretti's Homepage
I am working on a modification to my Display Content Mod that takes into accound private/hidden forums, and I have a question about the different Private Forum "modes".

In the chkDisplayForum function there is a select case construct that sets the logic for when the function returns "true" or "false" with each specific type of private forum. My first question relates to understanding the different types -- there seems to be 10 different types -- 0 through 9.

My specific problem is the fact that I can have a private forum with a specific user list but because it is set to "type 1", the DisplayContent mod displays the forum post even though they are not on the userlist. When someone clicks on the link for that post, then they get a message: "There has been a problem! You do not have access to this forum or you need to login."

I've looked in the DB, and that particular forum shows a private forum type of 1 (athough the select case shows types 0, 1, 2, 3, 4, 7 and 9 would be treated the same way -- which is, if the forum is not hidden, then the function returns true.) I would have thought that if the forum is private, the function should return false. Am I missing something?

Ideally, I would like to have any content that comes from a private forum selectively not displayed. Is there another fucntion for this?

Appreciate any help...

Cheers!



Rob Poretti
Sascom Marketing Group ~ Toronto
vox.905.825.5373 fax.905.825.5960

... After looking at it somemore, it would really be usefull to understand the various private forums modes and what each one stands for. It would be great if this was documented in the actual function! Any help here would be greatly appreciated.

Edited by - Rob Poretti on 02 July 2001 19:59:59

Rob Poretti
Junior Member

Canada
435 Posts

Posted - 03 July 2001 :  11:44:55  Show Profile  Visit Rob Poretti's Homepage
Ok...

In the post.asp file, I was able to extract this information:

ForumAuthType = 0 All Visitors
ForumAuthType = 4 Members Only
ForumAuthType = 5 Members Only (Hidden)
ForumAuthType = 2 Password Protected
ForumAuthType = 7 Members Only & Password Protected
ForumAuthType = 3 Allowed Member List & Password Protected
ForumAuthType = 1 Allowed Member List
ForumAuthType = 6 Allowed Member List (Hidden)
ForumAuthType = 9 NT Global Group
ForumAuthType = 8 NT Global Group

where ForumAuthType = rs("F_PRIVATEFORUMS") in that same file...

Could a Snitz developer confirm that these are correct, (I'm using sr2)?

Secondly, I'm curious why the chkDisplayForum function does not check the F_USERLIST for types 1, 2, 3, 4, 7 and 9 when it is obvious that this is used a security measure to restricted forum access? (I can see that security is designed in the post.asp file itself, but why not put it in the function?)

Right now, I'm thinking of creating a new function called perhaps, chkDisplayForumMembers that checks the F_USERLIST for any mode that has a member list? Am I missing something?

I'd really appreciate any direction here...

Cheers!


Rob Poretti
Sascom Marketing Group ~ Toronto
vox.905.825.5373 fax.905.825.5960
Go to Top of Page
  Previous Topic Topic Next Topic  
 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.27 seconds. Powered By: Snitz Forums 2000 Version 3.4.07