Help with email notification on PM MOD - Posted (625 Views)
Starting Member
jiffy
Posts: 33
33
Sorry if this is the wrong forum for this.
I'm wanting my users to have the email notification for when they receive a PM turned on by default. Below is the section of code that needs to be edited but I'm an ASP moron so my attemps haven't been succesful. Anybody here want to take a crack at it? Should be easy for someone that knows what they're doing.

" <tr bgcolor=""" & strHeadCellColor & """>" & vbNewLine & _
" <td><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strHeadFontColor & """><b>Email Notification</b></font></td>" & vbNewLine & _
" </tr>" & vbNewLine & _
" <tr bgcolor=""" & strForumFirstCellColor & """>" & vbNewLine & _
" <td><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strForumFontColor & """><b>" & strForumTitle & " can send you an e-mail notification whenever you receive a private message.</b><br>Please select your preference.<br>" & vbNewLine & _
" <input type=""radio"" name=""emailstorage"" value=""1"""
if rs("M_PMEMAIL") = "1" then
Response.Write(" checked")
end if
Response.Write "> Receive e-mail notification of private messages.<br>" & vbNewLine & _
" <input type=""radio"" name=""emailstorage"" value=""0"""
if rs("M_PMEMAIL") = "0" then
Response.Write(" checked")
end if
Response.Write "> Do not receive notification.</font></td>" & vbNewLine & _
" </tr>" & vbNewLine & _<
Are you an InterWeberNetter? http://www.interwebernet.com
 Sort direction, for dates DESC means newest first  
 Page size 
Posted
Support Moderator
Shaggy
Posts: 6780
6780
Which PM Mod are you using? The change would need to be made in the admin files rather than the preferences file.
<
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.”
Posted
Starting Member
jiffy
Posts: 33
33
Sorry about that, I downloaded 3.5.05 from Snitz Bitz. So it wouldn't be code in the pm_options.asp file that would need to be edited?<
Are you an InterWeberNetter? http://www.interwebernet.com
Posted
Support Moderator
Shaggy
Posts: 6780
6780
Hmm, could've sworn there was an option in the admin files for turning this on or off by default, can't find it now. Try running the following through your alternative mod setup instead:
Code:
[ALTER]
MEMBERS
ALTER#M_PMEMAIL#int#NULL#1
[END]
This will alter the M_PMEMAIL field so that notification e-mails are turned on by default.
If you also want to turn on e-mail notifications for existing members, run the following through your alternative mod setup as well.
Code:
[UPDATE]
MEMBERS
M_PMEMAIL#1#M_PMEMAIL=0
[END]
You run both of those at the same time by pasting them into alternative mod setup together.
Personally, I'd recommend running the second one without somehow informing your members first and clearly providing them with instructions on how to stop receiving notifications.
<
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.”
 
You Must enter a message