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

leatherlips
Senior Member

USA
1838 Posts

Posted - 01 June 2008 :  18:34:54  Show Profile  Visit leatherlips's Homepage
I can't figure out my private message issue. If a member on my forum disables private messages it still shows their pm icon on any topic in which they made replies. If they started the topic, then it does not appear. I've checked my code and can't find the problem. Any ideas?<

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

leatherlips
Senior Member

USA
1838 Posts

Posted - 01 June 2008 :  19:00:20  Show Profile  Visit leatherlips's Homepage
I fixed it.

I had added the little snippet of code found in this thread:

http://forum.snitz.com/forum/topic.asp?TOPIC_ID=64323

I needed to comment out the first two lines in each of the sections like this:

'#####PM status#####
'Reply_MemberPM = 1
'strPMStatus = 1

If (Reply_MemberPM = "1" and strPMStatus = "1") Then
if Trim(Reply_MemberPM) <> "" then
Response.Write " <font color=""" & strForumFontColor & """ face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """><small> <a href=""privatesend.asp?method=Topic&mname=" & ChkString(Reply_MemberName,"display") & """>" & getCurrentIcon(strIconPmprivatemessage,"Send " & ChkString(Reply_MemberName,"display") & " a Private Message","align=""absmiddle"" style=""margin:3px 3px 3px 0;"" hspace=""0""") & "Send PM</a><br>" & vbNewLine
End If
End IF
'#####PM Status end#####

And then here:

'#####PM status#####
'Reply_MemberPM = 1
'strPMStatus = 1

If (Member_PM = "1" and strPMStatus = "1") Then
if Trim(Member_PM) <> "" then
Response.Write " <font color=""" & strForumFontColor & """ face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """><small> <a href=""privatesend.asp?method=Topic&mname=" & ChkString(Member_Name,"display") & """>" & getCurrentIcon(strIconPmprivatemessage,"Send " & ChkString(Member_Name,"display") & " a Private Message","align=""absmiddle"" style=""margin:3px 3px 3px 0;"" hspace=""0""") & "Send PM</a><br>" & vbNewLine
End If
End IF
'#####PM Status end#####<

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

Edited by - leatherlips on 01 June 2008 19:00:55
Go to Top of Page

Andy Humm
Average Member

United Kingdom
908 Posts

Posted - 01 June 2008 :  19:44:31  Show Profile
If I remember from the linked snippet, the reason we commented out 'Reply_MemberPM = 1 and 'strPMStatus = 1 was because it biased the two strings on, allowing the next line If (Member_PM = "1" and strPMStatus = "1") Then to show the PM link irrespective of any external control ie admin or member switching the PM status off.<
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.33 seconds. Powered By: Snitz Forums 2000 Version 3.4.07