Contributions
Multiple newsletter 'types', ala mailing lists
Replaces the stock Y/N customer newsletter option with up to 32 different newsletters, each of which can be subscribed/unsubscribed individually.
The Admin->Tools->Newsletter Manager has been enhanced to send newsletters by type (while retaining the product_notification functionality).
However, this module is aimed more at automated newsletters. It originally derived from the concept of a daily/weekly e-mail of all store specials. A functional Perl script is included which demonstrates this proof-of-concept.
See the mod in action at http://www.theboyz.biz/create_account.php ... (Although most of the interesting changes -- and the majority of the coding -- are on the admin side.)
Expand All / Collapse All
Adds the missing 'set_type' function to admin/includes/modules/newsletters/newsletter.php. No other changes from the previous version.
(This one-line function has caused far more grief than it was worth. ;)
I encountered the following error after installing the latest version and trying to send my first newsletter with the update module:
Fatal error: Call to undefined function: set_type() in /mnt/web_k/d05/s48/a000mmmy/www/agot/nfoscomm/catalog/admin/newsletters.php on line 249
Any ideas?
This is a complete re-packaging of the original contribution. It contains all new and modified files, as well as directions for applying the requisite changes to sites where other contributions are already in use.
This release includes *all* files, as well as cleaning up several errors and inconsistencies. Most recently, it includes the previously missing admin/includes/modules/newsletters/newsletter.php file as well as addressing the issue of newsletter preferences not being set correctly when the account is initially created.
If you already have this contribution working, you do not need this file.
This file contains ONLY the ../admin/includes/modules/newsletters/newsletter.php module, which is missing from the previous "comprehensive" upload.
If you are using this contribution and having problems, please be sure this module is updated.
(This was stolen from a production server, but hopefully does not contain any site-specific code.)
The (text file only) presents some simple options for modifying the behaviour of the multiple newsletters with respect to the defined/selected language(s). Sorry for the lack of a more comprehensive fix; perhaps someday.
Also, to clarify the 'symbolic link' portion of the instruction, just copy the newsletters.php file to both ../includes/classes and ../admin/includes/classes; see my post in the the support thread for more info.
This version contains fixes for outstanding known bugs, a procedure for kludging multilingual support and pre-modified versions of all required files, based on osCommerce 2.2-MS2.
This is a stand-alone file which should contain all required pieces.
Just wanted to add a link to a thread I created which will hopefully be used as a support thread.
http://forums.oscommerce.com/index.php?showtopic=128915
Version 0.5 - Fixes a bug whereby new newsletters don't actually get e-mailed. Thanks to everyone who has provided testing and feedback for this module.
(Package includes a pre-modified stock admin/newsletters.php - the only file modified in this version - for your convenience.)
Same as the previous file, only in .ZIP format, for those without easy access to tar and gunzip.
This complete package supercedes previous versions with some minor bug fixes. Thanks to Steve Philips for finding most of the bugs fixed in v0.3 and v0.4!
See the included files for complete details on installation and/or upgrading.
This is a complete re-packaging of the original contribution, includes the changes from v0.2, and also including the hithertofore missing ../admin/includes/languages/english/newsindex.php file.
Hopefully this will work better with all the pieces available. ;)
Sorry, I broke the admin/mail.php module without realizing it (I never use it). To fix, replace .../classes/newsletters.php with the included module, and add the two lines (from the README) to the top of mail.php.
I was HOPING not to have to do this....
Replaces the stock Y/N customer newsletter option with up to 32 different newsletters, each of which can be subscribed/unsubscribed individually.
The Admin->Tools->Newsletter Manager has been enhanced to send newsletters by type (while retaining the product_notification functionality).
However, this module is aimed more at automated newsletters. It originally derived from the concept of a daily/weekly e-mail of all store specials. A functional Perl script is included which demonstrates this proof-of-concept.
See the mod in action at http://www.theboyz.biz/create_account.php ... (Although most of the interesting changes -- and the majority of the coding -- are on the admin side.)
Note: Contributions are used at own risk.