Author |
Topic |
|
Presario
Starting Member
46 Posts |
Posted - 04 December 2005 : 11:58:18
|
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
|
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!!
|
|
|
modifichicci
Average Member
Italy
787 Posts |
|
Presario
Starting Member
46 Posts |
Posted - 04 December 2005 : 16:35:40
|
Many thanks for the tip.. I have just done that and it does work!
Cheers!!
|
|
|
Presario
Starting Member
46 Posts |
Posted - 06 December 2005 : 10:42:50
|
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 |
|
|
Shaggy
Support Moderator
Ireland
6780 Posts |
Posted - 06 December 2005 : 11:01:18
|
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.” |
|
|
Presario
Starting Member
46 Posts |
Posted - 12 December 2005 : 16:40:42
|
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.. |
|
|
Shaggy
Support Moderator
Ireland
6780 Posts |
Posted - 13 December 2005 : 06:03:07
|
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.” |
|
|
Ranko
Junior Member
400 Posts |
Posted - 13 December 2005 : 07:32:24
|
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. |
|
|
Presario
Starting Member
46 Posts |
Posted - 13 December 2005 : 12:35:48
|
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!! |
|
|
Shaggy
Support Moderator
Ireland
6780 Posts |
Posted - 13 December 2005 : 12:39:19
|
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.” |
|
|
|
Topic |
|