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

Presario
Starting Member

46 Posts

Posted - 04 December 2005 :  11:58:18  Show Profile
I have just today installed the PM script onto my forum and whilst it seems to work on SOME users, it wont work on others.

For example : Out of just 53 members who have signed up to my forum, only 25 have the PM icon in their profile. When I click on the memberlist link to PM them, again, only 25 members are able to receive and send PMs?

Anyone know or may have had this problem themselves? Why arent all my members able to send or receive PMs??

< Moved to Help: MOD Implementation by Shaggy />

Edited by - Shaggy on 05 December 2005 08:48:52

Presario
Starting Member

46 Posts

Posted - 04 December 2005 :  12:07:47  Show Profile
Sorted... Sorry guys..

The original code in the members.asp script had the following line :

If strDBNTUserName <> "" and Members_MemberPMreceive = "1" and strPMStatus = "1" Then
Response.Write " <a href=""privatesend.asp?method=Topic&mname=" & ChkString(Members_MemberName,"display") & """>" & getCurrentIcon(strIconPmprivatemessage,"Send " & ChkString(Members_MemberName,"display") & " a Private Message","align=""absmiddle"" hspace=""0""") & "</a>" & vbNewLine
End If



I have simply removed the If strDBNTUserName <> "" and Members_MemberPMreceive = "1" and strPMStatus = "1" Then statement!

Bingo.. It works!!
Go to Top of Page

modifichicci
Average Member

Italy
787 Posts

Posted - 04 December 2005 :  14:01:49  Show Profile  Visit modifichicci's Homepage
In this way there is not a control on dbUsername, check if members have the pm receive field set to 1 in db.. in memebers table

Ernia e Laparocele
Forum di Ernia e Laparocele
Acces - MySql Migration Tutorial
Adamantine forum
Go to Top of Page

Presario
Starting Member

46 Posts

Posted - 04 December 2005 :  16:35:40  Show Profile
Many thanks for the tip.. I have just done that and it does work!

Cheers!!
Go to Top of Page

Presario
Starting Member

46 Posts

Posted - 06 December 2005 :  10:42:50  Show Profile
Sorry for this guys, but another problem I have noticed :

When a new member joins up to my forum, he or she does not automatically get added to the private members list. Ie, there is not an `icon` next to his/her name which you can click on to send them a pm?

Any ideas?

Edited by - Presario on 06 December 2005 10:43:24
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 06 December 2005 :  11:01:18  Show Profile
That's because, by default, the option to receive PMs is switched off. Have a search of the mod forums, pretty sure I've posted some code before to switch it so's it's on by default.


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

Presario
Starting Member

46 Posts

Posted - 12 December 2005 :  16:40:42  Show Profile
Hi.. I have tried searching the forum on how to change the default settings but struggling to find it..

Any ideas..

Another couple of people have registered onto my forum and they cannot use the PM service... So, does anyone know which .asp scrip I need to find to change the default settings so when a new member joins my forum they will automatically be able to use the pm service?

Cheers in advance..
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 13 December 2005 :  06:03:07  Show Profile
Ah, it was the default setting for the e-mail notification I changed. You can see what I did here; just change M_PMEMAIL to M_PMRECEIVE to do what you want.


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

Ranko
Junior Member

400 Posts

Posted - 13 December 2005 :  07:32:24  Show Profile
quote:
Originally posted by Presario

Hi.. I have tried searching the forum on how to change the default settings but struggling to find it..


Open the dbs file in notepad. Find the value of M_PmRecieve, change it from 0 to 1 (or 1 to 0). Save and apply the dbs now.
Go to Top of Page

Presario
Starting Member

46 Posts

Posted - 13 December 2005 :  12:35:48  Show Profile
quote:
Originally posted by Shaggy

Ah, it was the default setting for the e-mail notification I changed. You can see what I did here; just change M_PMEMAIL to M_PMRECEIVE to do what you want.






Superb!!! This worked without any probs.. Many thanks for the info, much appreciated!!
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 13 December 2005 :  12:39:19  Show Profile
You're welcome

Might want to let your membership know what you've done and how to switch it back off in case they don't want to receive PMs.


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.”
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.25 seconds. Powered By: Snitz Forums 2000 Version 3.4.07