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 / Classic ASP versions(v3.4.XX)
 How the System Checks Access to Private Forums
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Jeepaholic
Average Member

USA
697 Posts

Posted - 24 February 2004 :  12:52:02  Show Profile  Visit Jeepaholic's Homepage
Hi there, I'm hoping to add another check to the private forums on my servers, however...I'm not seeing a "global function" that does this. Am I missing something, or is each check simply done via MLEV checks?

Out of another curiosity, what's MLEV4?? For that matter, I guess, what are all the levels?

I've got multiple forums on a single user database...the problem is that each Admin on each site can see private forums across ALL sites. I'd like to limit this to just the ones I want them to see, and was hoping to add a helper function to the system. I've already added one to the Admin section (each page checks validity of the correct admin)...I'd like to extend this to private forums as well.

Any thoughts would be appreciated.

Al Bsharah
Aholics.com

Jeepaholics Anonymous
Broncoholics Anonymous
Network Insight

Edited by - Jeepaholic on 24 February 2004 12:53:23

wii
Free ASP Hosts Moderator

Denmark
2632 Posts

Posted - 24 February 2004 :  13:00:40  Show Profile
MLEV:

1 - post author, 2 - Normal member, 3 - Moderator, 4 - Admin.
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 24 February 2004 :  13:27:42  Show Profile  Send ruirib a Yahoo! Message
The function to check / change is chkForumAccess, in inc_func_secure.asp.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

Jeepaholic
Average Member

USA
697 Posts

Posted - 25 February 2004 :  13:34:51  Show Profile  Visit Jeepaholic's Homepage
Thanks for the info. It appears that chkForumAccess is not called for Moderators and Admins (ever), and it never shows up even in default.asp. For testing, I put this at the top of the function:
function chkForumAccess(fForum, UserNum, Display)
chkForumAccess = false
exit function

Admins are still able to navigate through any forums, whether they have access or not. Mods are allowed to navigate through what they have access to.

So, I think the Admin/Mod check functions are spread throughout the various pages as required...

Al Bsharah
Aholics.com

Jeepaholics Anonymous
Broncoholics Anonymous
Network Insight
Go to Top of Page

Jeepaholic
Average Member

USA
697 Posts

Posted - 25 February 2004 :  13:51:58  Show Profile  Visit Jeepaholic's Homepage
Hmm... appears that chkDisplayForum is a good one, and appears to cover *displaying* Categories/Forums, but doesn't keep an Admin out of a forum if they know the FORUM_ID and manually type it in.

Still searching...

Al Bsharah
Aholics.com

Jeepaholics Anonymous
Broncoholics Anonymous
Network Insight

Edited by - Jeepaholic on 25 February 2004 13:52:18
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 25 February 2004 :  14:25:26  Show Profile  Send ruirib a Yahoo! Message
Hmmm... Never had a look at it before. Maybe someone from the Dev Team can help here, I'm in rather busy, so I can't have a look now.


Snitz 3.4 Readme | Like the support? Support Snitz too
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.34 seconds. Powered By: Snitz Forums 2000 Version 3.4.07