PDA

View Full Version : problem: email spammers for certain group


trainer
04-22-2002, 02:43 PM
problem: email spammers for certain group

i have setup a sellers usergroup so we can easily identify people who are using the board to advertise products/services. no problem until recently some in this usergroup are spamming the members with ads via email. we are using the email form so is there a way to limit access to this email form for this one usergroup. i don't want them to have any access to the email form

thanks

trainer
04-29-2002, 06:38 PM
bump anyone know?

WizyWyg
04-29-2002, 07:03 PM
Under your Admin CP turn of Email functions for that user group.

Logician
04-29-2002, 07:29 PM
Edit member.php:

Find:
-- cut--
// ############################### start mail member ###############################
if ($action=="mailform") {
include("./global.php");
$userid=verifyid("user",$userid);

if (!$bbuserinfo['userid'] or $bbuserinfo['usergroupid']==3) {
-- cut--

Replace LAST LINE as
-- cut --
if (!$bbuserinfo['userid'] or $bbuserinfo['usergroupid']==3 or $bbuserinfo['usergroupid']==X) {
-- cut --

Change X to your Seller Group ID.

Enjoy..

Logician