MyBB Community Forums

Full Version: Add Private Message Contact Line In User Profile
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hi

i want to add Private message line below the send user email.

i want to add this below email :

Private Message:         Send ABC a private message.

please help

thanks.
member_profile_contact_details template consists of {$sendemail}
you can add {$sendpm} below that {$sendemail}

[MyBB Templates System]
(2020-03-13, 09:19 AM).m. Wrote: [ -> ]member_profile_contact_details template consists of {$sendemail}
you can add {$sendpm} below that {$sendemail}

[MyBB Templates System]


in member_profile_contact_details


<br />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder tfixed">
	<colgroup>
	<col style="width: 30%;" />
	</colgroup>
	<tr>
		<td colspan="2" class="thead"><strong>{$lang->users_contact_details}</strong></td>
	</tr>
	{$website}
	{$sendemail}
	{$sendpm}
	{$contact_fields['icq']}
	{$contact_fields['skype']}
	{$contact_fields['google']}
</table>


But still it is not showing on member profile
check content of member_profile_pm template
<tr>
	<td class="{$bgcolor}"><strong>{$lang->pm}</strong></td>
	<td class="{$bgcolor}"><a href="private.php?action=send&amp;uid={$memprofile['uid']}">{$lang->send_pm}</a></td>
</tr>
(2020-03-13, 10:05 AM).m. Wrote: [ -> ]check content of member_profile_pm template
<tr>
	<td class="{$bgcolor}"><strong>{$lang->pm}</strong></td>
	<td class="{$bgcolor}"><a href="private.php?action=send&amp;uid={$memprofile['uid']}">{$lang->send_pm}</a></td>
</tr>

[Image: ssw4Z3N.png]

Already here from starting, but not showing
is it not appearing for all users profiles ?

if you are looking at your own profile then send pm does not appear.
if a user disabled receiving PMs then send pm does not appear
Hi,

in your forum (URL_removed_by_owner_request), I see there's a problem with your ougcawards_profile_multipage template:
<t<tr>
	<td class="tfoot"></td>
</tr>

Change it to:
<tr>
	<td class="tfoot"></td>
</tr>

And check if the member_profile_pm template shows up now.

If not, try to disable the plugin and check.
(2020-03-13, 11:19 AM).m. Wrote: [ -> ]is it not appearing for all users profiles ?

if you are looking at your own profile then send pm does not appear.
if a user disabled receiving PMs then send pm does not appear

Not appearing for all users profile.

how to check user that they disabled receiving PMs or not ? if yes then how to make enable as a default for all users ?
.m. you're right, "Receive private messages from other users." option is disabled by default.
I checked now that only admin send pm line is appear on his profile but not appear on other all users, how to make it enable for all users as a default ?

thank you.

(2020-03-13, 12:13 PM)NoRules Wrote: [ -> ].m. you're right, "Receive private messages from other users." option is disabled by default.

Yes i am also sure that because i registered with a new user and checked admin profile it is appear on admin profile but not on other all users.
how to enable this option for all users as a default ?

thanks
Pages: 1 2