PDA

View Full Version : Admin can use the email even when members denied


bashy
10-26-2006, 05:21 PM
Hi peeps

I have just tried to email a member from thier profile and i couldnt due to they had turned it off, I had to go into the admincp to email the member.

Perhaps a hack that can restrict all members other than admin please?

Paul M
10-26-2006, 06:09 PM
The point of the option is to restrict e-mails from administrators. There is already a seperate one to stop ordinary members.

bashy
10-26-2006, 06:49 PM
Sorry, i was asuming that when members diable the email from members that even admin cannot retrieve it from their profile on the forum, admincp yes, but not the profile, im gonna check this out now....brb lol

I am right, if the member has set it so they dont receive emails from members, even the admin cannot retrieve thier email from their profile in the forum itself, you have to go into the admincp to get it!!!

I have just tried it out now with my spare account!

Paul M
10-26-2006, 07:14 PM
Oh I see, I didn't understand what you meant. I thought you wanted to e-mail members who had turned off the "receive e-mail from administrators" option. Yes, you would need a mod to do what you want.

bashy
10-26-2006, 07:37 PM
Thought so, no probs m8, thanks for checking it out :)

eXtremeTim
10-26-2006, 10:36 PM
I will take a look at this one shortly.

In sendmessage.php

find (twice):


else if (!$userinfo['showemail'])


Replace with (twice):


else if (!$userinfo['showemail'] && $vbulletin->userinfo['usergroupid']!=6)

bashy
10-27-2006, 05:12 AM
Thanks alot eXtremeTim, i noticed the hack ya done 1st lol

eXtremeTim
10-27-2006, 06:13 PM
;) Enjoy it.