Author |
Topic |
|
Riccardo
New Member
86 Posts |
Posted - 21 September 2005 : 08:47:56
|
I'm testing this mod but when i receive the mail with the address where i can view the PM i get not the real address. Why?
here the example: You can view your message by visiting:
http://www.peperonciniamoci.it/2/ (which is not correct!)
|
http://www.peperonciniamoci.it peppers and peppers and peppers (working on an international version)
|
|
Shaggy
Support Moderator
Ireland
6780 Posts |
Posted - 21 September 2005 : 08:57:08
|
What should it be? Is your forum URL correct in your admin options?
|
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.” |
|
|
Riccardo
New Member
86 Posts |
Posted - 21 September 2005 : 09:02:04
|
yes it is.. but the problem is that with this address i only view the "default.asp" page and not the "pm_view.asp" |
http://www.peperonciniamoci.it peppers and peppers and peppers (working on an international version)
|
|
|
Riccardo
New Member
86 Posts |
|
Riccardo
New Member
86 Posts |
Posted - 21 September 2005 : 09:14:37
|
This is the line (i suppose) to modify in private_send.info: but how? strMessage = strMessage & "You can view your message by visiting " & Left(Request.Form("refer"), InstrRev(Request.Form("refer"), "/")) & vbCrLf |
http://www.peperonciniamoci.it peppers and peppers and peppers (working on an international version)
|
|
|
Shaggy
Support Moderator
Ireland
6780 Posts |
Posted - 21 September 2005 : 09:30:13
|
Modify the DoReplyEmail sub to look like this:sub DoReplyEmail()
'## Emails all users who wish to receive notification of private message
'## Forum_SQL
strSql = " SELECT " & strMemberTablePrefix & "MEMBERS.MEMBER_ID "
strSql = strSql & ", " & strMemberTablePrefix & "MEMBERS.M_NAME "
strSql = strSql & ", " & strMemberTablePrefix & "MEMBERS.M_EMAIL "
strSql = strSql & ", " & strMemberTablePrefix & "MEMBERS.M_PMEMAIL "
strSql = strSql & ", " & strTablePrefix & "PM.M_ID "
strSql = strSql & ", " & strTablePrefix & "PM.M_SUBJECT "
strSql = strSql & " FROM " & strMemberTablePrefix & "MEMBERS "
strSql = strSql & " INNER JOIN " & strTablePrefix & "PM "
strSql = strSql & " ON " & strMemberTablePrefix & "MEMBERS.MEMBER_ID = " & strTablePrefix & "PM.M_TO "
strSql = strSql & " ORDER BY " & strTablePrefix & "PM.M_SENT DESC"
set rsTopicAuthor = my_Conn.Execute (strSql)
strRecipientsName = rsTopicAuthor("M_NAME")
strRecipients = rsTopicAuthor("M_EMAIL")
strSubject = strForumTitle & " - New Private Message"
strMessage = "Hello " & rsTopicAuthor("M_NAME") & vbCrLf & vbCrLf
strMessage = strMessage & strDBNTUserName & " has sent you a private message at " & strForumTitle & "." & vbCrLf
if Request.Form("Subject") = "" then
strMessage = strMessage & "Regarding - " & txtSubject & "." & vbCrLf & vbCrLf
else
strMessage = strMessage & "With the subject entitled - " & Request.Form("Subject") & "." & vbCrLf & vbCrLf
end if
strMessage = strMessage & "You can view your message by visiting " & strForumURL & "privateread.asp?id=" & clng(rsTopicAuthor("M_ID")) & vbCrLf
rsTopicAuthor.close
set rsTopicAuthor = nothing
%>
<!--#INCLUDE FILE="inc_mail.asp" -->
<% end sub %> Incidentally, to correct any typos in or make any additions to your posts here, you can use the icon above them to edit them.
|
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.” |
|
|
Riccardo
New Member
86 Posts |
Posted - 21 September 2005 : 09:34:19
|
person like you are the best...thanks! Fast and correct answer..
p.s. it works now.. |
http://www.peperonciniamoci.it peppers and peppers and peppers (working on an international version)
|
Edited by - Riccardo on 21 September 2005 09:34:43 |
|
|
Shaggy
Support Moderator
Ireland
6780 Posts |
Posted - 21 September 2005 : 09:40:51
|
You're welcome
|
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.” |
|
|
|
Topic |
|