Firefox PHP

Module: Admin Mass Email

Posted by Joe Curia 
Re: Module: Admin Mass Email
September 23, 2008 03:41PM
I have a little Problem with my newsletter-idea... how can users leave groups on theire own? :/
Module: Admin Mass Email v5.2.1.03 - Conditional Recipients and Content, Preview Email
September 24, 2008 02:21PM
Sorry for the delayed answer, but I was finishing up the next update and it included some help for you.

No, users cannot leave groups on their own. However, this mod does include an unsubscribe feature. This will unsubscribe the users from all admin emails, but you can edit the \lang\english.php file included in the mod to reword the unsubscribe option to something like "Subscribe to MYSITE's newsletter:" Not a perfect solution, but it might work for you. Please download the latest version of this mod to try it.

Anyway, I have completed version 5.2.1.03 of this mod with these changes:

- Added the ability to add content to the subject and the body of the email based on selected criteria.

- Added the ability to select recipients based on selected criteria.

- Added the ability to preview the email as it would appear to a selected user.

- Added a language file to customize the unsubscribe option info.

- Fixed a bug which kept the unsubscribe option from appearing.

Please refer to the updated README for help on using the new features.


Joe Curia (aka Azumandias)
Modules: l0Admin Mass Email00000000l000000Automatic Time Zones000ll.l00000Enhanced Custom Profiles0.00Google Calendar0000l.l000000Post Previews
000000000Admin Security Suite000000000000Check Modules for Upgrades0000External Authentication000000Group Auto-Email00000.00000Private Message Alerts
000000000Attachment Download Counter0000Custom Attachment Icons000ll.ll00Favorite Forums000000.00000Highlighted Search Terms0000Self-Delete Posts Option
000000000Attachment Watermarks0l00000000Custom Language Database00l.l.0Forum Lockdown00000.00000Ignore Forums0000000000000Threaded Tree View
000000000Automatic Message Pruning00.llll.00Easy Color Scheme Manager0l.l00Forum Subscriptions0000lll000Moderated User Group
Templates:lGeneric Integration000000000 0000Simple Rounded000000 00000000Tabbed Emerald
Re: Module: Admin Mass Email
September 27, 2008 09:32AM
Thanks for your helping hand. I just installed the new version, but now i get

Parse error: syntax error, unexpected '{' in .../mods/admin_mass_email/admin_mass_email.php on line 440

Language: PHP
438 if(!empty($address)){ 439 440 try { 441 442 // include the swiftmailer-class 443 444 require_once SWIFT_DIRECTORY."/Swift.php"; 445 require_once SWIFT_DIRECTORY."/Swift/Connection/SMTP.php";

Thats part of the SMTP Mail-Module

greetings
Sun
Re: Module: Admin Mass Email
September 27, 2008 09:56AM
Looks like PHP4 is in use on your server and not the recommended PHP5. For the included Swift mailer package, PHP5 is mandatory.


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: Module: Admin Mass Email
September 27, 2008 10:44AM
Maurice is 95% there. This mod does require PHP5, not just for the Swift Mailer (which it only uses if you have the SMTP module enabled), but for the try{} functionality. If you do not use the swift mailer you can remove lines 427-509 from the file and it should run fine. I will look for workarounds for the next version.

Maybe Maurice et al. could help me here. Is it possible to include a try{} block in php but escape around it for older versions that do not support it?


Joe Curia (aka Azumandias)
Modules: l0Admin Mass Email00000000l000000Automatic Time Zones000ll.l00000Enhanced Custom Profiles0.00Google Calendar0000l.l000000Post Previews
000000000Admin Security Suite000000000000Check Modules for Upgrades0000External Authentication000000Group Auto-Email00000.00000Private Message Alerts
000000000Attachment Download Counter0000Custom Attachment Icons000ll.ll00Favorite Forums000000.00000Highlighted Search Terms0000Self-Delete Posts Option
000000000Attachment Watermarks0l00000000Custom Language Database00l.l.0Forum Lockdown00000.00000Ignore Forums0000000000000Threaded Tree View
000000000Automatic Message Pruning00.llll.00Easy Color Scheme Manager0l.l00Forum Subscriptions0000lll000Moderated User Group
Templates:lGeneric Integration000000000 0000Simple Rounded000000 00000000Tabbed Emerald




Edited 1 time(s). Last edit at 09/27/2008 10:48AM by Azumandias.
Re: Module: Admin Mass Email
September 27, 2008 11:45AM
I don't think it is possible, since this is a parsing syntax error and not a runtime error.


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Module: Admin Mass Email v5.2.1.04 - Batch sending and bugfix for conditional recipients
October 12, 2008 09:31AM
I have completed v5.2.1.04 of this mod with the following changes:

- Added a batch sending system to send emails out in smaller batches to avoid timeouts. Big thanks go to Maurice Makaay for his guidance and previous code work on this.

- Fixed a bug which hindered sending mail to recipients based on selected criteria.


Joe Curia (aka Azumandias)
Modules: l0Admin Mass Email00000000l000000Automatic Time Zones000ll.l00000Enhanced Custom Profiles0.00Google Calendar0000l.l000000Post Previews
000000000Admin Security Suite000000000000Check Modules for Upgrades0000External Authentication000000Group Auto-Email00000.00000Private Message Alerts
000000000Attachment Download Counter0000Custom Attachment Icons000ll.ll00Favorite Forums000000.00000Highlighted Search Terms0000Self-Delete Posts Option
000000000Attachment Watermarks0l00000000Custom Language Database00l.l.0Forum Lockdown00000.00000Ignore Forums0000000000000Threaded Tree View
000000000Automatic Message Pruning00.llll.00Easy Color Scheme Manager0l.l00Forum Subscriptions0000lll000Moderated User Group
Templates:lGeneric Integration000000000 0000Simple Rounded000000 00000000Tabbed Emerald
Re: Module: Admin Mass Email
April 14, 2009 04:08PM
hi,

i'm trying this module, i have many problem with conditionnal users send to. So whatever conditions i choose i can't see any mail preview.

For example, i want to send email to user who post more than 2000 message, i think there is a bug , it's not working.

thanks for help.
Re: Module: Admin Mass Email
April 15, 2009 10:56PM
Could you give me an example of your exact conditions for sending (if any), your exact subject (if there is conditional content) and your exact message (again only if there is conditional content)? I am able to generate conditions based on post count and send based on post count.

Please note that the user list for generating previews is not tied to any conditions set in the "Send email to: Conditional Users" option and will only show conditional content if the user selected meets the conditional criteria.


Joe Curia (aka Azumandias)
Modules: l0Admin Mass Email00000000l000000Automatic Time Zones000ll.l00000Enhanced Custom Profiles0.00Google Calendar0000l.l000000Post Previews
000000000Admin Security Suite000000000000Check Modules for Upgrades0000External Authentication000000Group Auto-Email00000.00000Private Message Alerts
000000000Attachment Download Counter0000Custom Attachment Icons000ll.ll00Favorite Forums000000.00000Highlighted Search Terms0000Self-Delete Posts Option
000000000Attachment Watermarks0l00000000Custom Language Database00l.l.0Forum Lockdown00000.00000Ignore Forums0000000000000Threaded Tree View
000000000Automatic Message Pruning00.llll.00Easy Color Scheme Manager0l.l00Forum Subscriptions0000lll000Moderated User Group
Templates:lGeneric Integration000000000 0000Simple Rounded000000 00000000Tabbed Emerald
Re: Module: Admin Mass Email
April 16, 2009 11:02AM
Hello,

i just want to use conditionnal users, subject and content are not conditionnal.

for example i want to send email to users who have more than 2000 posts.

thats what i have done :

In conditionnal user i'm selecting posts item chooosing ">=" rules and define 2000 as limit

in subject i put hello and in body i write something like "congratulations you wrote more than 2000 posts"

my user got more than 7000 post, if i send mail whith that conditions no email are sent and i can't see anything in email preview selecting my user.

Perhaps i missunderdtood the reame file but i don't fink so

thanks for help.
Sorry, only registered users may post in this forum.

Click here to login