MyBB Community Forums
Private messages are disabled...? - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Community Archive (https://community.mybb.com/forum-106.html)
+--- Forum: Archived Forums (https://community.mybb.com/forum-143.html)
+---- Forum: Archived Development and Support (https://community.mybb.com/forum-155.html)
+----- Forum: MyBB 1.6 (https://community.mybb.com/forum-138.html)
+------ Forum: 1.6 General Support (https://community.mybb.com/forum-127.html)
+------ Thread: Private messages are disabled...? (/thread-137176.html)

Pages: 1 2


Private messages are disabled...? - dj83 - 2013-04-04

Hello,

on my forum I have Private messaging enabled but it's disabled in members profile. How can I fix this? Thanks for any help!

Permissions:
   

Profile Where it's Blank:
   


RE: Private messages are disabled...? - .m. - 2013-04-04

check whether below code exists in member_profile template
<tr>
<td class="{$bgcolors['pm']}"><strong>{$lang->pm}</strong></td>
<td class="{$bgcolors['pm']}"><a href="private.php?action=send&amp;uid={$memprofile['uid']}">{$lang->send_pm}</a></td>
</tr>
if it does not then you can add it after any of </tr> code


RE: Private messages are disabled...? - Dennis Tsang - 2013-04-04

Each user has a setting in their options: "Receive private messages from other users."
Maybe they have it disabled.


RE: Private messages are disabled...? - dj83 - 2013-04-04

All of the code is there. All older members are showing like above....

When new members join it shows.


RE: Private messages are disabled...? - .m. - 2013-04-04

you can run below SQL query through phpMyAdmin
UPDATE `mybb_users` SET `receivepms`=1 WHERE `receivepms` =0



RE: Private messages are disabled...? - dj83 - 2013-04-04

That fixed it! Thanks so much .m.


RE: Private messages are disabled...? - Dennis Tsang - 2013-04-05

Note that if the user disables PM again, their link will disappear.


RE: Private messages are disabled...? - GCZone - 2015-04-10

Thanks for the sql query .m. fixed the same problem for me.

However all my new registrations are being set as NO and i need it to be Yes.

Any ideas on how to fix?


RE: Private messages are disabled...? - .m. - 2015-04-10

^ you can try SQL query like below
ALTER TABLE `mybb_users` CHANGE `receivepms` `receivepms` INT  NOT NULL DEFAULT 1



RE: Private messages are disabled...? - GCZone - 2015-04-10

Cheers buddy, prompt as always Big Grin