I read a lot of messages about permission problems when trying to give right to somebody else then admin to mass email. In fact, in the group admin board, whatever you do, it always turns back to admin.
I had this problem too. It was quite embarrassing since this MOD is made for this purpose !
Here is how i fixed it:
in your_forum/admin/admin_groups.php,
find
- Code: Select all
$sql = "UPDATE " . GROUPS_TABLE . "
replace next line
- Code: Select all
SET group_type = $group_type, group_name = '" . str_replace("\'", "''", $group_name) . "', group_description = '" . str_replace("\'", "''", $group_description) . "', group_moderator = $group_moderator
by
- Code: Select all
SET group_type = $group_type, group_name = '" . str_replace("\'", "''", $group_name) . "', group_description = '" . str_replace("\'", "''", $group_description) . "', group_moderator = $group_moderator, group_allow_email = $group_allow_email
find
- Code: Select all
else if( $mode == 'newgroup' )
replace next line
- Code: Select all
$sql = "INSERT INTO " . GROUPS_TABLE . " (group_type, group_name, group_description, group_moderator, group_single_user)
VALUES ($group_type, '" . str_replace("\'", "''", $group_name) . "', '" . str_replace("\'", "''", $group_description) . "', $group_moderator, '0')";
by
- Code: Select all
$sql = "INSERT INTO " . GROUPS_TABLE . " (group_type, group_name, group_description, group_moderator, group_single_user, group_allow_email)
VALUES ($group_type, '" . str_replace("\'", "''", $group_name) . "', '" . str_replace("\'", "''", $group_description) . "', $group_moderator, '0', $group_allow_email)";
Hope it helps !
Marco

