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: MOD Implementation
 PM for Moderators only
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 3

leatherlips
Senior Member

USA
1838 Posts

Posted - 06 December 2007 :  11:20:06  Show Profile  Visit leatherlips's Homepage
Is it possible to set up the PM MOD to only allow admins and moderators only to send pm's? I am using the forum for a school and do not want the students to be able to pm each other, but would like the teachers to be able to pm their classes.

Mangione Magic Forum - The Music of Chuck Mangione

My Mods: Googiespell MOD | Link To Reply MOD | Petition MOD | Contact Page MOD | Share This Topic MOD | MP3 MOD | PageEar MOD | Google Viewer MOD

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 06 December 2007 :  11:27:38  Show Profile
Yup, pretty sure there's a check in the PM files for mlev being greater than 0. All you'd need to do is change that 0 to 2 and edit the error message accordingly.


Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

campinmom03
Junior Member

USA
190 Posts

Posted - 09 March 2008 :  12:55:17  Show Profile
Howdy! Could someone please tell me which PM files and where would I find the mlev to this?

Thank you.

Have a great day!
Terry
Go to Top of Page

leesh695
Junior Member

101 Posts

Posted - 09 March 2008 :  13:57:58  Show Profile
I know theres a mlev check for PM in inc_header.asp

Edited by - leesh695 on 09 March 2008 14:38:12
Go to Top of Page

campinmom03
Junior Member

USA
190 Posts

Posted - 09 March 2008 :  17:09:24  Show Profile
leesh695, thank you for replying, but that's not it.

Does anyone else know?

Have a great day!
Terry
Go to Top of Page

JJenson
Advanced Member

USA
2121 Posts

Posted - 09 March 2008 :  17:12:02  Show Profile  Visit JJenson's Homepage
you could just do a search for mlev in each of the pm files. I am not sure where the changes are but that would be the simplest way to find each one in yours.
Go to Top of Page

campinmom03
Junior Member

USA
190 Posts

Posted - 09 March 2008 :  17:23:40  Show Profile
JJ, thanks, but that didn't turn up anything.

Have a great day!
Terry
Go to Top of Page

JJenson
Advanced Member

USA
2121 Posts

Posted - 09 March 2008 :  19:33:20  Show Profile  Visit JJenson's Homepage
Well I guess you could do something like:

if mlev >2 then
<!--#INCLUDE FILE="TheIncludeFileHere.asp" -->
end if

This would block the pm from showing up to anyone who isn't a moderator or admin. Well in theory it works I have not tested this cause I don't have the pm mod anywhere right now.

Jeff
Go to Top of Page

leesh695
Junior Member

101 Posts

Posted - 10 March 2008 :  07:40:06  Show Profile
You could do..

if mlev > 2 then Response.Redirect("default.asp")

and include that in all the PM files

You could also make a small ASP to use instead to default to give an error message.

Edited by - leesh695 on 10 March 2008 07:40:58
Go to Top of Page

campinmom03
Junior Member

USA
190 Posts

Posted - 10 March 2008 :  08:13:27  Show Profile
JJenson and leesh695,

Thank you for your suggestions. Until I can find the correct file to do this, I think I'm just going to use the block list for members who are not admins or mods. Seems to be the best route to take for now.

Thanks again and have a great day!

Edited cause I just checked that option and it won't work the way I had hoped. Oh well.

Have a great day!
Terry

Edited by - campinmom03 on 10 March 2008 08:33:21
Go to Top of Page

campinmom03
Junior Member

USA
190 Posts

Posted - 10 March 2008 :  20:05:45  Show Profile
Hey I got it! One thing though, the error message that is to be adjusted is in Italian! Whoah... anyone here that can help me translate it to English so I can fix it.

Response.Write 	"<table border=""0"" cellpadding=""0"" cellspacing=""0"" width=""60%"" align=center>" & vbNewLine & _
"<tr align=center><td>" & vbNewLine & _
"<BR>" & vbNewLine & _
"<font face=""" & strDefaultFontFace & """ size=""2"" color=""" & strDefaultFontColor & """><b>Attenzione non risulti loggato...</b></font><BR>" & vbNewLine & _
"<HR size=1>" & vbNewLine & _
"<font face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """ color=""" & strDefaultFontColor & """>Devi essere iscritto per usare la videochat." & vbNewLine & _


I really appreciate it as I couldn't get much past Attention... LOL.

Have a great day!
Terry
Go to Top of Page

JJenson
Advanced Member

USA
2121 Posts

Posted - 10 March 2008 :  22:10:24  Show Profile  Visit JJenson's Homepage
First line says something like: Attention you are not logged in.

Second Line says: You must be enrolled in order to use the videochat

At least that is what I think both say
Go to Top of Page

leesh695
Junior Member

101 Posts

Posted - 11 March 2008 :  08:03:49  Show Profile
If you cant work it out, just try it out in the diffrent situations its supposed to work take a note of which error cause which message and make your own up.
Go to Top of Page

JJenson
Advanced Member

USA
2121 Posts

Posted - 11 March 2008 :  09:59:39  Show Profile  Visit JJenson's Homepage
I don't think they are getting an error on how its working leesh I think they are getting the error messages like the forum gives saying you can't goto the admin options cause you are not logged in and so forth. I believe capinmom installed it correctly.
Go to Top of Page

campinmom03
Junior Member

USA
190 Posts

Posted - 11 March 2008 :  10:59:35  Show Profile
Originally posted by JJenson
quote:
I don't think they are getting an error on how its working leesh I think they are getting the error messages like the forum gives saying you can't goto the admin options cause you are not logged in and so forth. I believe capinmom installed it correctly.


That is correct! Thanks guys for your responses.

Have a great day!
Terry
Go to Top of Page

JJenson
Advanced Member

USA
2121 Posts

Posted - 11 March 2008 :  11:02:25  Show Profile  Visit JJenson's Homepage
No problem I hope that helped.
Go to Top of Page
Page: of 3 Previous Topic Topic Next Topic  
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.34 seconds. Powered By: Snitz Forums 2000 Version 3.4.07