Your Moodle version

Activities: Newsletter

mod_newsletter
Maintained by it's me David Bogner
This is a newsletter module for moodle. Currently only beta version is available. Please use only for testing purposes.
573
Moodle 2.4, 2.5, 2.6

Newsletter module

This is a typical newsletter module for moodle. It is still in beta version and missing some features like bounce processing.

Contributors

it's me
David Bogner (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • MD shot of me from his iphone4
    Wed, Feb 12, 2014, 2:09 PM
    Hi, perhaps you can describe above the differences between the news forum and this. A feature list will be useful to see here smile
  • MD shot of me from his iphone4
    Wed, Feb 12, 2014, 2:16 PM
    It looks very useful, thanks for sharing!

    ps: error seen
    Field 'status' doesn't have a default value
    INSERT INTO mdl_newsletter_issues (newsletterid,title,htmlcontent,publishon,stylesheetid) VALUES(?,?,?,?,?)
    [array (
    0 => '1',
    1 => 'issue 1 - the beginning ',
    2 => '

    hello. you\'re reading this from newsletters module!

    ',
    3 => 1392271800,
    4 => '0',
    )]
  • Jan Sosniecki
    Fri, Mar 21, 2014, 6:44 PM
    I am looking for a news forum where I can decide when to publish and to unpublish a news item. For instance, I would like to publish an information concerning an exam, but I want to do it one week before, and when the exam is over, I would like the news item to disappear automatically at my specfied time.
  • Picture of Vinayan Ramchandran
    Tue, Dec 30, 2014, 3:47 PM
    I have installed newsletter nad added issues but when I try to run cron, it gives me error :
    "
    Processing module function newsletter_cron ...... started 07:43:34. Current memory use 30.4MB.
    !!! error/typenotimplement !!!
    "

    What is wrong and what should I do to actually run it?
  • Picture of Stefano Andreola
    Wed, Jan 7, 2015, 6:26 PM
    Hi all,



    I would like to ask if anyone can shed a light about how to use the installed add-on.

    I am new to moodle and I don't know where to look on the platform to create the newsletter.

    Is there a standard path where the add-ons go or it depends on the specific add-on? In this specific case how do I access the newsletter?



    Thank you in advance for your help.



    Stefano
  • it's me
    Thu, Jan 8, 2015, 8:52 PM
    Hi Stefano,

    indeed there is a description how to install the plugin at: https://docs.moodle.org/28/en/Installing_plugins Basically you just place the folder "newsletter" in moodleroot/mod/ and then you log in as admin on your moodle site.

    Best,
    David
  • Picture of Bernhard W. Zaunseder
    Sun, May 3, 2015, 7:08 PM
    Hi David,

    I like your modul and have tried to use it an to translate the language file. Thanks!

    I had to change the fields 'status' and 'delivered' in the table newsletter_issues to default to NULL to make it work for me. Otherwise I could not save new issues.

    The other thing regarding the language:

    in renderer.php
    $output .= 'Group issues by'; [position 217:21]

    is hard coded and can not be changed in the language file.

    CU, Bernhard
  • it's me
    Sun, May 3, 2015, 9:05 PM
    Hi Bernhard,
    thanks for your comments. Actually this plugin is not useable yet. We are working on it and plan to switch from "Beta" to "Stable" at the end of may. Meanwhile you can download an improved version at https://github.com/dasistwas/moodle-mod_newsletter
    The issues concerning status should haven been already resolved there. Also we are now developping on 2.7 and plan to support 2.9 by end of august.
    If you want to test and/or contribute your testing results I can create an account for you in our project management platform.

    Best,
    David
  • Picture of Bernhard W. Zaunseder
    Mon, May 4, 2015, 12:18 PM
    Hi David,
    thanks for the reply. When I tried to install the new version I got:

    Debug info: Data truncated for column 'delivered' at row 1
    ALTER TABLE mdl_newsletter_issues MODIFY COLUMN delivered SMALLINT(4) NOT NULL DEFAULT 0 after status
    Error code: ddlexecuteerror
    Stack trace:
    line 449 of /lib/dml/moodle_database.php: ddl_change_structure_exception thrown
    line 899 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
    line 88 of /lib/ddl/database_manager.php: call to mysqli_native_moodle_database->change_database_structure()
    line 77 of /lib/ddl/database_manager.php: call to database_manager->execute_sql()
    line 588 of /lib/ddl/database_manager.php: call to database_manager->execute_sql_arr()
    line 94 of /mod/newsletter/db/upgrade.php: call to database_manager->change_field_type()
    line 689 of /lib/upgradelib.php: call to xmldb_newsletter_upgrade()
    line 418 of /lib/upgradelib.php: call to upgrade_plugins_modules()
    line 1601 of /lib/upgradelib.php: call to upgrade_plugins()
    line 438 of /admin/index.php: call to upgrade_noncore()

    What can I do?

    Regarding contributions to your project management platform: I'm interested, but I will stick to 2.6 for a while.

    CU,
    Bernhard
  • it's me
    Mon, May 4, 2015, 3:46 PM
    Hi Bernhard,

    you can go to /admin/modules.php on your moodle site as admin and uninstall the newsletter module, then reinstall it immediatly afterwards. This will recreate the database structure. Also we do not support Moodle 2.6, we are developping on 2.7 now. Also Moodle 2.7 is long term support, so I highly recommend to switch to Moodle 2.7 soon.

    Best,
    David
Please login to post comments