Nice Email

Blocks ::: block_nice_mail
Maintained by SWA Sistemas Acadêmicos
A simple component to simulate email inbox between Moodle users.
Latest release:
8 sites
1 downloads
1 fans
Current versions available: 1

Screenshots

Screenshot #0

Contributors

SWA Sistemas Acadêmicos (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • MD shot of me from his iphone4
    Mon, 10 Dec 2012, 2:01 PM
    Hi there,
    This looks very neat from the screenshots! I wanted to try this out so i tried this on 2.4 and installation didn't work out :
    "Invalid table name {block_nice_mail_messages_recipients}: name is too long. Limit is 28 chars."

    perhaps you can try shortening the frankenstyle component name or perhaps just shorten the table name.
  • MD shot of me from his iphone4
    Mon, 10 Dec 2012, 4:55 PM
    also :
    - please add a readme.txt
    - the validation results under the settings block here mentions 'In your version.php you have specified $plugin->requires = 2012111000, which corresponds to Moodle 2.4 and will not install on Moodle 2.2 that you chose in the form' - this will with the table name length issue i mentioned above.
  • MD shot of me from his iphone4
    Mon, 17 Dec 2012, 12:20 PM
    I'm unapproving this for now until theres a response here. This really just needs a table name clean up for it to install fine.
    Please send this for re-approval when ready.
  • MD shot of me from his iphone4
    Wed, 19 Dec 2012, 1:24 PM
    thanks for the recent version - this now installs without fatal errors smile

    there are some things to note though before this is useful though:

    1) This is breaking any course or page viewing => upon adding the block to a course, the course doesn't load due to incorrect table name. I suggest adding a code repository link here so that others can provide feedback and possibly even simple code fixes to your plugin smile

    Debug info: Table 'p_master.mdl_block_nice_mail_messages_recipients' doesn't exist
    SELECT
    COUNT(r.id) AS messages
    FROM
    mdl_block_nice_mail_message m
    INNER JOIN mdl_block_nice_mail_messages_recipients r ON (r.messageid = m.id)
    INNER JOIN mdl_user u ON (u.id = m.fromuserid)
    WHERE
    r.intrash = 0
    AND
    r.touserid = '2'
    AND
    m.courseid = '2'
    AND
    r.readed = 0
    [array (
    )]
    Error code: dmlreadexception
    Stack trace:
    line 426 of /lib/dml/moodle_database.php: dml_read_exception thrown
    line 1023 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
    line 1382 of /lib/dml/moodle_database.php: call to mysqli_native_moodle_database->get_records_sql()
    line 325 of /blocks/nice_mail/lib.php: call to moodle_database->get_record_sql()
    line 780 of /blocks/nice_mail/lib.php: call to block_nice_mail_count_inbox_messages()
    line 91 of /blocks/nice_mail/block_nice_mail.php: call to block_nice_mail_gui_default_block_content()
    line 284 of /blocks/moodleblock.class.php: call to block_nice_mail->get_content()
    line 232 of /blocks/moodleblock.class.php: call to block_base->formatted_contents()
    line 953 of /lib/blocklib.php: call to block_base->get_content_for_output()
    line 1005 of /lib/blocklib.php: call to block_manager->create_block_contents()
    line 353 of /lib/blocklib.php: call to block_manager->ensure_content_created()
    line 6 of /theme/base/layout/general.php: call to block_manager->region_has_content()
    line 804 of /lib/outputrenderers.php: call to include()
    line 734 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
    line 230 of /course/view.php: call to core_renderer->header()

    2) The block nice_mail does not define the standard capability block/nice_mail:addinstance
    line 598 of /blocks/moodleblock.class.php: call to debugging()
    line 576 of /blocks/moodleblock.class.php: call to block_base->has_add_block_capability()
    line 236 of /lib/blocklib.php: call to block_base->user_can_addto()
    line 1834 of /lib/blocklib.php: call to block_manager->get_addable_blocks()
    line 1007 of /lib/blocklib.php: call to block_add_block_ui()
    line 353 of /lib/blocklib.php: call to block_manager->ensure_content_created()
    line 6 of /theme/base/layout/general.php: call to block_manager->region_has_content()
    line 804 of /lib/outputrenderers.php: call to include()
    line 734 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
    line 203 of /course/category.php: call to core_renderer->header()

    3) ( ! ) Notice: Undefined variable: a in /Users/aparup/Sites/p/blocks/nice_mail/lang/en/block_nice_mail.php on line 57

    ----
    in light of the fact that this is still not useable - i'll keep this held here (in unapproved) until either:
    - the repository is added for easier collaboration
    - or the block becomes useable.

    thanks for your collaboration (from what i can see from logs smile )
    - readme was added
    - version updated to 20111206..

  • MD shot of me from his iphone4
    Thu, 24 Jan 2013, 12:48 AM
    thanks for a quick new version!
    Please remember to put up useful link (like your code repository for example smile )
  • Hanaa Aboushahla
    Thu, 7 Mar 2013, 3:17 AM
    Moodle version: 2.3.4
    Browser: tested in I.E 10, Firefox and chrome
    I have successively installed “Nice Email” plugin to Moodle 2.3.4; I added the block into two courses.
    I can’t seem to be able to “Add recipients” when composing a message.
    I logged in as a teacher and as a student with no luck; any recommendation?
    Course has 8 participants in total, two of which are teachers.

  • Fernando Martínez Rodríguez
    Thu, 7 Mar 2013, 5:35 AM
    No es posible agragar destinatarios...probado en la versión 2.4 y NO sirve
Please login to post comments