MyBB Community Forums

Full Version: EmailUser Admin Override
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
There is no admin override to email an individual user.

member.php
if($mybb->input['action'] == "emailuser")
{
	$plugins->run_hooks("member_emailuser_start");

	// Guests or those without permission can't email other users
	if($mybb->usergroup['cansendemail'] == 0 || !$mybb->user['uid'])
	{
		error_no_permission();
	}

	if($to_user['hideemail'] != 0)
	{
		error($lang->error_hideemail);
	}

It should include an admin override. This might not be viewed as a bug but imho it is. There are lots of admin overrides like PM communication. There should be also for email too. The link should also show up in the profile even if cansendemail is set 0. Also hideemail prevents admins from sending emails too. Nothing should be hidden from admins. It's a pain in the lime to go into admincp just to see the email and then there is zero method for admin to email the user from mybb. Not in usercp or admincp.

I very often need to email users. And I will not use my local client to do so for security purposes. I want to use the built in my_mail() of mybb.

Thank you for any consideration on this.
I rarely have to email users but it's a good idea none the less.
I agree that it's a bug of some sort... or rather a lacking. Also, there is no admin PM override.
ya that right admin override work for me.