- Code: Select all
########################################################
## MOD Title: Custom mass email
## MOD Author: Niels < ncr@db9.dk > (Niels Chr. Rød) http://mods.db9.dk
## MOD Description: extended mass emailer, Admin may define who may mass email
## and optinal using special email templates for specific
## usergroups, e.g. newsletters. - users reciving a email may unsubscribe
## This MOD also allowing spliting the mass email into several smaller emails
##
## MOD Version: 1.2.2.
## MOD Compatibility: 2.0.x - 2.0.17.
##
## Installation Level: Intermediate
## Installation Time: 10 Minutes (1mn by EasyMOD of Nuttzy)
## Files To Edit: 6
## privmsg.php
## admin/admin_groups.php
## language/lang_english/lang_admin.php
## templates/subSilver/subSilver.cfg
## templates/subSilver/privmsgs_body.tpl
## templates/subSilver/admin/group_edit_body.tpl
##
## Included files: 4
## mass_email.php
## unsubscribe.php
## language/lang_english/lang_mass_email.php
## language/lang_english/email/custom_email_newsletter.tpl
##
##############################################################
## 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. EasyMOD
## -----------
## This MOD is compatible and can be installed by EasyMOD
## of Nuttzy (but is not officially 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 !
##
## 1.1 SQL commands are not performed
## -----------
## This MOD need a database update.
## Then, in any case if you install this MOD manually or using
## an alpha release of EM, please copying the *_db_update.php
## in your phpBB root directory, run it with your navigator,
## and then delete it from the phpBB root directory.
##
## Please, do it NOW! Before editing phpBB files by EM or manually!!!
## Otherwise, you may have an error message during your next
## connection.
##
## 1.2 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.
## For this MOD, copy lang_*.php file(s) manually from
## their root/language/lang_xxx directories to their respective
## language/lang_xxx directories in the phpBB root dir.
##
## 2. 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...
## http://mods.db9.dk/viewtopic.php?t=137
##
## 3. Misc.
## -----------
## The custom mass emailer, can use special email templates for specific usergroups
## this is done by making a new email template (to all installed langauges)
## and name it custom_email_XX.tpl, where XX is substituded with the usergroup name,
## if you witch to make custom templates for "all users", simply make a template
## with the name custom_email.tpl.
##
## The new file mass_email.php will also allow you as admin to define who can
## mass email a specific usergroups, this is done inside the ACP -> group management.
## Here is a opption about who may mass email that specific group
## You may select between "ALL", "REG", "PRIVATE", "MOD" or "ADMIN".
## If PRIVATE is selected members of the group can mass email the other members
##
## Oposite, the original phpbb mass email, this mod can handle to split the email
## into meny smaller emails, how meny users are in each email can be configured
## in the mass_email.php file "define('MAX_CLIENT_IN_EMAIL', 100);"
## a list of the reciving users can be included in the email - all usernames reciving
## same email will be included, so if only 1 name should be in the email,
## then make shure the MAX_CLIENT_IN_EMAIL is set to 1
## to include the username(s) in the template use the tag {USERNAME_LIST} (capital letters)
## in the email template. This will be replaced with the users nick name
##
## to include a link to unsubscribe for the usergroup, then add this tag {UNSUBSCRIBE}
##
##############################################################
I have previous made a custom mass email mod, that allow admin to send "specific" letters" for each group - by that I mean that every group have a template so the "style" and pre typed words can be different, also different templates are used depending on the users language.
in the "mass email it is also posible to include a "unsubscribe link" , so if this is used for a "newsletter" users can easely unsubscribe, once they have "subscribed" they will be remove from the usergroup - if they later ned to re-join, they do it by re-join the usergroup
EDIT: new version also allow admin to specify witch type of users may mass email a specific usergroup
e.g. admin can specify (group management) that usergroup A may be rec ive mass email from all REG users, while usergroup B only may recive mass emails from the MOD/ADMIN of that usergroup


