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)
 Admin Level - Control?
 New Topic  Topic Locked
 Printer Friendly
Previous Page
Author Previous Topic Topic Next Topic
Page: of 2

NiteOwl
Junior Member

Canada
403 Posts

Posted - 24 January 2005 :  09:55:45  Show Profile  Visit NiteOwl's Homepage
Ahh, ok I see where you going with this.

I added the code to the additional files, furum.asp and topic.asp Yes the ADMIN can no longer access the hidden forums, though she sees they exist and I as the ADMINSTRATOR can see and access. This is pretty good.

The ADMIN does not currently have access to any of the private forums even if I add her to the allowed list, which I was able to attempt with her profile.

-=NiteOwl=-

Edited by - NiteOwl on 24 January 2005 09:56:58
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 24 January 2005 :  10:31:01  Show Profile  Send ruirib a Yahoo! Message
Hmmm... I was expecting that if you added her to the allowed members list, she should be able to enter the forum. I would expect you'd want her to be able to access certain private forums, right?


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

NiteOwl
Junior Member

Canada
403 Posts

Posted - 24 January 2005 :  21:52:12  Show Profile  Visit NiteOwl's Homepage
OK, I had to log out and back in, I can add her and it does work!! Sweet!

The only hitch is she can actually edit the forum and add herself if she wished, can I somhow kill here edit icon or something?


-=NiteOwl=-
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 25 January 2005 :  05:09:02  Show Profile  Send ruirib a Yahoo! Message
I'll have to look. I'm a bit busy, so I can't make promises, but I'll have a look when I can.


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

NiteOwl
Junior Member

Canada
403 Posts

Posted - 25 January 2005 :  09:54:40  Show Profile  Visit NiteOwl's Homepage
BTW Thank You so much for where you have gotten me!!

Could you or someone else point me to the file and possibly I might be able to trial and error it? Fear-not I have a very good demo site and strict change control measures. :)

-=NiteOwl=-
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 25 January 2005 :  11:58:10  Show Profile  Send ruirib a Yahoo! Message
In post.asp, around line# 269, you will need to avoid the editing of forum properties by that admin, for the forum you want her not to access. So, where now you have

     if strRqMethod = "EditForum" then
	if (mLev = 4) or (chkForumModerator(strRqForumId, strDBNTUserName) = "1") then
		'## Do Nothing
	else
		Go_Result "Only moderators and administrators can edit forums"
	end if
end if


You need to add code to avoid her editing the properties for the forum in question


     if strRqMethod = "EditForum" then
	if (mLev = 4) or (chkForumModerator(strRqForumId, strDBNTUserName) = "1") then
                if (MemberID=HerMemberID) and (strRqForumId=DesiredForumID) then
                       Go_Result "Sorry, you cannot edit this forum properties"
                end if
		'## Do Nothing
	else
		Go_Result "Only moderators and administrators can edit forums"
	end if
end if


She will still see the icon that allows her to edit the forum properties, but she won't be able to edit them. The icons could be hidden for that forum, but it would give a lotta work in several files.

Test this and see if it works.


Snitz 3.4 Readme | Like the support? Support Snitz too

Edited by - ruirib on 25 January 2005 12:04:27
Go to Top of Page

NiteOwl
Junior Member

Canada
403 Posts

Posted - 25 January 2005 :  21:01:59  Show Profile  Visit NiteOwl's Homepage
YES !!! this worked exactly as I wanted, thank you so much!!


-=NiteOwl=-
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 25 January 2005 :  21:55:55  Show Profile  Send ruirib a Yahoo! Message
You're welcome.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Previous 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 1.61 seconds. Powered By: Snitz Forums 2000 Version 3.4.07