MOD download & history

This mod, will add the ability to make "newsletters" and other customised mass emails, status is showen while sending mass email
It will also be posible to grant other users permissions to send mass email to a specific usergroup
Forum rules
The content in this forum is dated Dec. 21 2005 and can be used as Archive only. This Forum is LOCKED and READ ONLY !

MOD download & history

Postby Niels on Sun 12. May, 2002 21:01

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}
##
##############################################################

:arrow: To know the languages already available in the MOD archive, please click here

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
Last edited by Niels on Mon 05. Sep, 2005 00:47, edited 13 times in total.
(if a how-to is EM ready, it will mostly be bullet prof, since a machine is more picky than a human. :D)
User avatar
Niels
Poster
Poster
 
Posts: 4390
Joined: Sat 27. Jul, 2002 15:46

Postby Niels on Wed 15. May, 2002 02:21

Now also support my auto group, witch will allow admin to make a group
e.g. "all usres with more than 100 post" and mass email them


picture from admin panel[url=mods.db9.dk/contrib/mass_email.gif]here[/url]


the mass email will spilt the mass email up if meny users are to be sendt, so that for every 100 users the email is stoped an a new wil continue from there the script was, that way awoiding timeout problems (if guess, I haven't been able to test with meny users, please feed back)
User avatar
Niels
Poster
Poster
 
Posts: 4390
Joined: Sat 27. Jul, 2002 15:46

Question

Postby Brandons on Tue 28. May, 2002 08:31

Hi. Great Site. Got A Question About This Mod.

I have a mailing list of about 4300 people.

Can this mod handle that many? Do you know how many it can handle?
& does it send the mail in html? or can it?

Thanks Alot. In Advance
Brandons
 

Postby Niels on Tue 28. May, 2002 10:22

I have heard that the original mass email did not alwas worked if mailing meny users, This mod is made for handling email to large groups of users,
I haven't been able to test it, but your case would be a excellent case, you should how ever know that admin alway get a "copy" of the email send, that is a basic feature of how phpbb2 handles to send BCC messages, therefore you will have a mail for every 100 members you email to (I guess) in your case you would resive 42 email with the same conntet, but this is ofcouse only a cosmetic isue for you as admin

and since the mod is supporting to send out the messages via language dependent templates, then you can make the "messages" inside the template, thereby emailing in the users language...

let me know how this turns out, if you can not send out for that meny users using this mod, then I will try look into it (btw. if unsuccesful then please take a screen dump of the output from after the mass_email)
(if a how-to is EM ready, it will mostly be bullet prof, since a machine is more picky than a human. :D)
User avatar
Niels
Poster
Poster
 
Posts: 4390
Joined: Sat 27. Jul, 2002 15:46

hello

Postby Brandons on Tue 28. May, 2002 11:38

ok. will do. thanks. appreciate it
Brandons
 

Postby Niels on Fri 18. Oct, 2002 13:53

I have updated the mass_email.php in the download

new features are:

only fetches 100 users at a time from the DB, before sending the email
posible to include a list of username witch have also recieved this email


Note: if email are split up in to more languages/more emails, then the username list only applyes eatch email - this is to enshure that it will be posible to sendt out to eatch user using only the users name in the email

this is done by altering the mass_email.php file and change the MAX_CLIENT_IN_EMAIL to 1, this way eatch users recieve his/her own personal email, including his/her name

see this post for more details
http://www.phpbb.com/phpBB/viewtopic.ph ... 878#280878
User avatar
Niels
Poster
Poster
 
Posts: 4390
Joined: Sat 27. Jul, 2002 15:46

Postby Niels on Sat 09. Nov, 2002 11:44

I have updated the mass_email.php, please update with the one in the download
new version is 1.0.6
User avatar
Niels
Poster
Poster
 
Posts: 4390
Joined: Sat 27. Jul, 2002 15:46

new version

Postby Niels on Sun 10. Nov, 2002 20:53

I have now updated this mod, new features are availble

to upgrade simply restore the original phpbb2 admin/mass_email.php (now this is original), then do the how-to, over write the olde files with the new one in the zip

after the mod, you can as admin specify per usergroup (ADMIN PANEL -> GROUP MANAGEMENT), witch types of users are allowed to mass email a specific usergroup

Note:
ALL: any user may mass email this usergroup
REG: only registerd user may mass email this usergroup
PRIVATE: members of the usergroup can send mass email to the usergroup
MOD: Only the moderator of the usergroup (and admin) may mass email the usergroup
ADMIN: Only admin's can mass email the usergroup
User avatar
Niels
Poster
Poster
 
Posts: 4390
Joined: Sat 27. Jul, 2002 15:46

Next

Return to Custom mass email [2.0.8/EM]

Who is online

Users browsing this forum: No registered users and 0 guests

cron