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
 Private Messages Limit
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

leatherlips
Senior Member

USA
1838 Posts

Posted - 11 April 2008 :  21:10:32  Show Profile  Visit leatherlips's Homepage
I've had the PM mod installed for a long time now and have never encountered a problem. But now I have an issue.

It says in the instructions
quote:
You must turn them 'ON' and specify a number for 'Maximum Private Messages Allowed' (this is the maximum amount of private messages a member is allowed in their inbox). Please note; Admin and Moderators override this feature and are allowed unlimted (despite the limit warning they see in their inbox!!!)

My inbox has reached the maximum I set but it will not let me send anymore even though as the Admin this shouldn't apply. Where should I look in the code to see where my error may be?

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

Carefree
Advanced Member

Philippines
4207 Posts

Posted - 14 April 2008 :  05:31:42  Show Profile
The file to edit is pm_view.asp.

At line 163 find the following:
	If pmtotal = strPMLimit or pmtotal > strPMLimit then
		Response.Write ("<center><b><font face=""" & strDefaultFontFace & """ color=""" & StrHiLiteFontColor & """ size=""" & strFooterFontSize & """>You have reached your private message limit of " & strPMLimit & ".<br>To send further private messages you must clean your Inbox.</font></center>")
	else
		Response.Write ("<center><b><font face=""" & strDefaultFontFace & """ color=""" & strDefaultFontColor & """ size=""" & strFooterFontSize & """>You currently have " & pmtotal & " saved private messages.<br>Your Inbox limit is " & strPMLimit & ".<br>Please delete your messages once you have read them.</font></center>")
	end if


Replace that with the following:

if mLev < 3 then 
	If pmtotal = strPMLimit or pmtotal > strPMLimit then
		Response.Write ("<center><b><font face=""" & strDefaultFontFace & """ color=""" & StrHiLiteFontColor & """ size=""" & strFooterFontSize & """>You have reached your private message limit of " & strPMLimit & ".<br>To send further private messages you must clean your Inbox.</font></center>")
	else
		Response.Write ("<center><b><font face=""" & strDefaultFontFace & """ color=""" & strDefaultFontColor & """ size=""" & strFooterFontSize & """>You currently have " & pmtotal & " saved private messages.<br>Your Inbox limit is " & strPMLimit & ".<br>Please delete your messages once you have read them.</font></center>")
	end if
end if
Go to Top of Page

MaD2ko0l
Senior Member

United Kingdom
1053 Posts

Posted - 14 April 2008 :  07:08:56  Show Profile  Visit MaD2ko0l's Homepage
doesnt that just change what it says when u have reched the limit? by the sounds of it, he is tryign to send a message and then gets a message when he trys to send it.

you would need to look in the privatesend.asp? or whatever the file is.

if i get some times i will see if i can whip up a test install somwhere to try it out as i dont think i have ever had this problem with the install.

have you changed anything to do with the pm mod?

© 1999-2010 MaD2ko0l
Go to Top of Page

leatherlips
Senior Member

USA
1838 Posts

Posted - 14 April 2008 :  09:44:38  Show Profile  Visit leatherlips's Homepage
quote:
Originally posted by MaD2ko0l

have you changed anything to do with the pm mod?

The only thing I did was add the Online/Offline status to the privateread.asp file.

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
Go to Top of Page

MaD2ko0l
Senior Member

United Kingdom
1053 Posts

Posted - 14 April 2008 :  10:55:48  Show Profile  Visit MaD2ko0l's Homepage
just looking at the code, it should work fine and not be a problem.

try downloading a fresh copy

© 1999-2010 MaD2ko0l
Go to Top of Page

MaD2ko0l
Senior Member

United Kingdom
1053 Posts

Posted - 14 April 2008 :  13:32:31  Show Profile  Visit MaD2ko0l's Homepage
find line 76 of privatesend.asp

should be

If pmtotal = strPMLimit or pmtotal > strPMLimit and mlev < 3 then

then replace that line with this

If (pmtotal = strPMLimit or pmtotal > strPMLimit) and mlev < 3 then


notice that the brackets have been added

now mods and admins dont have a pmlimit

© 1999-2010 MaD2ko0l

Edited by - MaD2ko0l on 14 April 2008 13:37:29
Go to Top of Page

leatherlips
Senior Member

USA
1838 Posts

Posted - 14 April 2008 :  14:12:31  Show Profile  Visit leatherlips's Homepage
MaD2ko0l,

That is perfect! Now it works like it should! Thank you very much!

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
Go to Top of Page

MaD2ko0l
Senior Member

United Kingdom
1053 Posts

Posted - 14 April 2008 :  16:11:02  Show Profile  Visit MaD2ko0l's Homepage
glad to help ;-)

© 1999-2010 MaD2ko0l
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.45 seconds. Powered By: Snitz Forums 2000 Version 3.4.07