Danke der Mod ist nicht schlecht, würde aber voraussetzen das die Benutzer des Forum das aktivieren müssen das sie ne benachrichtigung bekommen wollen.
Ist es nicht möglich die User herrauszufiltern welche bei einer bestehenden Topic ID gepostet haben und das dann in diesem Mod einzubauen. Die ID genügt von Hand eingegeben zu werden.
Wenn ich mich nicht irre würde ja nur eine neue Group_id benötigt.
Das weitere wäre ja nur anfügen der neuen Gruppe.
##############################################################
## MOD Title: Admin Mass Email Multi
## MOD Author: Jimmi -
phpbbmods@ourdj.com
## MOD Description: This MOD lets you select different goups of
## people to mass email. It makes the mass email
## feature much more usable!
## MOD Version: 1.0.0
## MOD Compatibility: 2.0.11 (prior release not tested)
##
## Installation Level: Easy
## Installation Time: 3 Minutes (1mn by EasyMOD of Nuttzy)
## Files To Edit: 2
## admin/admin_mass_email.php
## language/lang_english/lang_admin.php
##
## Included Files: 0
##
##############################################################
## For Security Purposes, Please Check:
http://www.phpbb.com/mods/ for the
## latest version of this MOD. Downloading this MOD from other sites could cause malicious
code
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not
offered
## in our MOD-Database, located at:
http://www.phpbb.com/mods/
##############################################################
## Author Notes:
##
##
## 1. Feature list
## -----------
## This MOD lets you:
## - Mass Email;
## 1 - All
## 2 - Inactive
## 3 - Active
## 4 - Admins
## 5 - Moderators
## 6 - Groups (broken down by group)
## 7 - Registered Inactive (completed their registration but didn't follow through)
##
##
## 3. EasyMOD
## -----------
## This MOD is compatible with EasyMOD of Nuttzy and can be
## installed by it but is not yet certified EMC (EasyMOD Compliant)!
##
http://area51.phpbb.com/phpBB22/viewforum.php?sid=&f=15
##
## However, on alpha releases of EM and meanwhile beta or
## final release some actions are NOT performed.
## You'll have to do them manually !
##
## 3.1 Translation are not managed
## -----------
## Moreover, EM can not already manage actions for any other
## language than English (but language intructions are proceed
## to all installed languages in order to prevent errors).
## So the translations provided with this MOD must be installed
## manually if you need them.
##
## 4. Official last version link
## -----------
## Meanwhile the phpBB group validation and as the MOD is not yet
## in the phpBB MOD database, check this official link for updates...
##
##############################################################
## MOD History:
##
##
## 2004-01-04 - Version 1.0.0 Release Candidate 1
## - Initial release
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To
This MOD
##############################################################
#
#-----[ OPEN ]------------------------------------------------
#
admin/admin_mass_email.php
#
#-----[ FIND ]------------------------------------------------
#
$sql = ( $group_id != -1 ) ? "SELECT u.user_email FROM " . USERS_TABLE . " u, " .
USER_GROUP_TABLE . " ug WHERE ug.group_id = $group_id AND ug.user_pending <>
" . TRUE . " AND u.user_id = ug.user_id" : "SELECT user_email FROM " .
USERS_TABLE;
#
#-----[ REPLACE WITH ]------------------------------------------
#
// Start Mass Email Multi V.1 MOD
//$sql = ( $group_id != -1 ) ? "SELECT u.user_email FROM " . USERS_TABLE . " u, " .
USER_GROUP_TABLE . " ug WHERE ug.group_id = $group_id AND ug.user_pending <>
" . TRUE . " AND u.user_id = ug.user_id" : "SELECT user_email FROM " .
USERS_TABLE;
switch ($group_id)
{
case -1:
$sql= "SELECT user_email FROM " . USERS_TABLE;
break;
case -2:
$sql= "SELECT user_email FROM " . USERS_TABLE . " WHERE
user_active=1";
break;
case -3:
$sql= "SELECT user_email FROM " . USERS_TABLE . " WHERE
user_active=0";
break;
case -4:
$sql= "SELECT user_email FROM " . USERS_TABLE . " WHERE
user_level=2";
break;
case -5:
$sql= "SELECT user_email FROM " . USERS_TABLE . " WHERE
user_level=1";
break;
case -6:
$sql= "SELECT user_email FROM " . USERS_TABLE . " WHERE
user_lastvisit=0";
break;
default:
$sql = "SELECT u.user_email FROM " . USERS_TABLE . " u, " .
USER_GROUP_TABLE . " ug WHERE ug.group_id = $group_id AND ug.user_pending <>
" . TRUE . " AND u.user_id = ug.user_id";
}
// End Mass Email Multi V.1 MOD
#
#-----[ FIND ]------------------------------------------------
#
$message = ( $group_id != -1 ) ? $lang['Group_not_exist'] : $lang['No_such_user'];
#
#-----[ REPLACE WITH ]------------------------------------------------
#
// Start Mass Email Multi V.1 MOD
//$message = ( $group_id != -1 ) ? $lang['Group_not_exist'] :
$lang['No_such_user'];
$message = ( $group_id > 0 ) ? $lang['Group_not_exist'] : $lang['No_such_user'];
// End Mass Email Multi V.1 MOD
#
#-----[ FIND ]------------------------------------------------
#
$select_list = '<select name = "' . POST_GROUPS_URL . '"><option value = "-1">' .
$lang['All_users'] . '</option>';
#
#-----[ REPLACE WITH ]------------------------------------------------
#
// Start Mass Email Multi V.1 MOD
//$select_list = '<select name = "' . POST_GROUPS_URL . '"><option value = "-1">' .
$lang['All_users'] . '</option>';
$select_list = '<select name = "' . POST_GROUPS_URL . '">
<option value = "-1">' . $lang['All_users'] . '</option>
<option value = "-2">' . $lang['Active'] . '</option>
<option value = "-3">' . $lang['Inactive'] . '</option>
<option value = "-4">' . $lang['Moderators'] . '</option>
<option value = "-5">' . $lang['Administrators'] . '</option>
<option value = "-6">' . $lang['RegInactive'] . '</option>';
// End Mass Email Multi V.1 MOD
#
#-----[ OPEN ]------------------------------------------------
#
language/lang_english/lang_admin.php
#
#-----[ FIND ]------------------------------------------------
#
$lang['Email_successfull'] = 'Your message has been sent';
#
#-----[ BEFORE, ADD ]-----------------------------------------
#
// start Mass Email Multi V.1 MOD
$lang['Active'] = 'Active Members';
$lang['Inactive'] = 'Inactive Members';
$lang['Moderators'] = 'Moderators';
$lang['Administrators'] = 'Administrators';
$lang['RegInactive'] = 'Registered but Inactive Members';
// End Mass Email Multi V.1 MOD
#
#-----[ SAVE/CLOSE ALL FILES ]--------------------------------
#
# EoM