The following warnings occurred:
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $newpmmsg - Line: 40 - File: global.php(841) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/global.php(841) : eval()'d code 40 errorHandler->error
/global.php 841 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 909 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 909 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5024 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 5024 errorHandler->error
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "additionalgroups" - Line: 7162 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 7162 errorHandler->error
/inc/functions.php 5044 is_member
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key 1 - Line: 1415 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 1415 errorHandler->error
/inc/functions.php 1370 fetch_forum_permissions
/printthread.php 76 forum_permissions
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Form Tools
Newsletter Functionality - Subscribe & Unsubscribe functions - Printable Version

+- Form Tools (https://forums.formtools.org)
+-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1)
+--- Forum: General Discussion (https://forums.formtools.org/forumdisplay.php?fid=5)
+--- Thread: Newsletter Functionality - Subscribe & Unsubscribe functions (/showthread.php?tid=11)



Newsletter Functionality - Subscribe & Unsubscribe functions - antonitus - Feb 26th, 2009

Hi Ben,

Is there a way to set this form so that you can use it as an email e-Newsletter mailing list to subscribe and automatically unsubscribe emails when someone clicks on an unsubscribed link.

At present I can set it up to send an immediate HTML newsletter when someone subscribes (i.e. when they enter their email address in a field). However, I'd like to control this by sending the newsletter at a desired time, say a different one every month, with the details of their email addresses stored in the database, just like a mailing list. Once again I know you can build more than one form within the system and probably do this, but what I'm struggling to figure out is how to apply this within your form and turn it into a proper newsletter system, if possible. Sorry if this may sound confusing, please let me know if it is.

Regards,
antonitus


RE: Newsletter Functionality - Subscribe & Unsubscribe functions - Ben - Feb 26th, 2009

Hi Antonitus -

No, not confusing at all!

The short answer is no. Form Tools 2 doesn't have any mass email functionality, so it would need to be developed as a separate module, or have an external script incorporated as a module. I'll definitely keep this in mind when I'm next looking for new modules to work on.

In terms of immediate solutions, you may want to consider finding and installing a separate newsletter script. I confess I don't know any good ones off hand, but they must exist (!). Any script worth its mettle will be able to input existing mailing lists from various formats, so you can create a View that would either generate the email information in a file, say, then use that to be inputted into the newsletter script.

This is hardly a 1-step solution unfortunately, but perfectly do-able.

Sorry I couldn't be more help!

- Ben


RE: Newsletter Functionality - Subscribe & Unsubscribe functions - antonitus - Feb 26th, 2009

Thanks Ben,

I think this would be an excellent module to add in the future as it will cover most areas of form submissions. I like the way your script holds email addresses in a database, which is sort of like holding them in a mailing list. All that is needed is a mailing list/e-newsletter module to complete an excellent module that already exists in your script.

Just to let you know, I'm actually enjoying using your script, I think it's excellent. No doubt I'll be saying this to you many times.

Regards,
antonitus