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 Messaging: removing disable
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Carabosse
Starting Member

United Kingdom
36 Posts

Posted - 02 October 2003 :  13:49:03  Show Profile
I have the private messaging mod. Is there anything I can do to stop users disabling their PM?

The facility to enable/disable is in "pm_options.asp".

Thanks.

Edited by - Roland on 02 October 2003 14:20:33

Carabosse
Starting Member

United Kingdom
36 Posts

Posted - 03 October 2003 :  20:48:32  Show Profile
I actually have another question related to the PM mod, as well.

Is it possible to get pop-ups to alert you to a new PM. This is available in other forum software but I haven't seen it in Snitz.
Go to Top of Page

Carabosse
Starting Member

United Kingdom
36 Posts

Posted - 12 October 2003 :  16:01:52  Show Profile
Hmmmm..... nobody??!!
Go to Top of Page

masterao
Senior Member

Sweden
1678 Posts

Posted - 12 October 2003 :  17:00:57  Show Profile  Visit masterao's Homepage
PM alert topics:

http://forum.snitz.com/forum/topic.asp?TOPIC_ID=41289&SearchTerms=pm,alert
http://forum.snitz.com/forum/topic.asp?TOPIC_ID=42444&SearchTerms=pm,alert
http://forum.snitz.com/forum/topic.asp?TOPIC_ID=29912&SearchTerms=pm,alert

There are several more topics with pm alert code, all found by using the search page in the MOD Add-On Forum (W/Code) with Archive Posts checked.

As for you first question, look for the following block of code in pm_options:


				"  <tr bgcolor=""" & strHeadCellColor & """>" & vbNewLine & _
				"    <td><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strHeadFontColor & """><b>Enable/Disable Private Messages</b></font></td>" & vbNewLine & _
				"  </tr>" & vbNewLine & _
				"  <tr bgcolor=""" & strForumFirstCellColor & """>" & vbNewLine & _
				"    <td><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strForumFontColor & """><b>" & strForumTitle & " private messages are currently turned "
		if rs("M_PMRECEIVE") = "1" then
			Response.Write	"ON"
		else
			Response.Write	"OFF"
		end if
		Response.Write	"</b>.<br>You may turn it <b>"
		if rs("M_PMRECEIVE") = "1" then
			Response.Write	"OFF"
		else
			Response.Write	"ON"
		end if
		Response.Write	"</b> below.  By doing so you will no longer be able to receive private messages<br>" & vbNewLine & _
				"    <input type=""radio"" name=""statusstorage"" value=""1"""
		if rs("M_PMRECEIVE") = "1" then
			Response.Write(" checked")
		end if
		Response.Write	"> Enable private messages.<br>" & vbNewLine & _
				"    <input type=""radio"" name=""statusstorage"" value=""0"""
		if rs("M_PMRECEIVE") = "0" then
			Response.Write(" checked")
		end if
		Response.Write	"> Disable private messages.<br>" & vbNewLine & _
				"    You may turn Private Messages back on by returning to this page</font></td>" & vbNewLine & _
				"  </tr>" & vbNewLine & _


Replace it with the following:

    "    <input type=""hidden"" name=""statusstorage"" value=""1"">" & vbNewLine & _


I tested it on my test-server (access db), and it worked like a charm.

Jan
===========
FR Portal Forums | Active Users 4.0.20 Mod
Go to Top of Page

Carabosse
Starting Member

United Kingdom
36 Posts

Posted - 13 October 2003 :  02:30:32  Show Profile
Thank you, Masterao.
Go to Top of Page

masterao
Senior Member

Sweden
1678 Posts

Posted - 13 October 2003 :  08:22:26  Show Profile  Visit masterao's Homepage
You're welcome .

Jan
===========
FR Portal Forums | Active Users 4.0.20 Mod
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.3 seconds. Powered By: Snitz Forums 2000 Version 3.4.07