Mentees Improved Block

Blocks ::: block_menteesimproved
Maintained by Alan Reynoso
This Plugin is just a fix for the original mentees because the mentees have to click 3 times before reach the course, Mentees Improved hows the student courses with a direct link to the course.
Latest release:
2 sites
2 downloads
1 fans
Current versions available: 2

This Plugin is just a fix for the original mentees because the mentees have to click 3 times before reach the course, Mentees Improved shows the student courses with a direct link to the course.

 

 

 

 

 

 To install Mentees Improved Block follow next steps:

1. Unzip the downloaded zip folder.
2. move folder menteesimproved to your [moodleroot]/block directory.
4. Login as administrator on your moodle site. Go to My Home
5. Click on customise
6. Add Block > Mentees Improved
7. Set Title "My childs" or whatever you want

  • Default Region "Content"
  • Default weight -1
  • Visible:yes 
  • Default Region "Content"
  • Default weight -1

8.- Save Changes

Screenshots

Screenshot #0

Contributors

Alan Reynoso (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Mostra comentaris
  • MD shot of me from his iphone4
    dv., 9 de nov. 2012, 14:47
    Consider adding a readme.txt here.
  • Wazza
    dv., 9 de nov. 2012, 19:25
    It doesn't work for me, I get this error:

    Debug info: Table 'deb5715_mood2.mdl_user_enrolments' doesn't exist
    SELECT courseid, shortname
    FROM mdl_user_enrolments ue
    LEFT JOIN mdl_enrol e ON e.id=ue.enrolid
    LEFT JOIN mdl_course c ON c.id = e.courseid
    WHERE userid=3;
    [array (
    )]

    Might it be that you make the assumption that the tablenames are default moodle tablenames?
  • Wazza
    dv., 9 de nov. 2012, 19:55
    To answer my own question: yes. Somewhere there's hardcoded that the prefix for tables must be mdl_
  • Alan Reynoso
    dt., 4 de des. 2012, 23:58
    Hello friends thank you for your comments, now those erros are fixed!!, best regards.
  • Diane Villemure
    dj., 4 d’abr. 2013, 11:31
    I still found hard-coded mdl_ prefix on lines 44 to 46 of block_menteesimproved.php. When I removed the prefix it worked:
    FROM user_enrolments ue
    LEFT JOIN enrol e ON e.id=ue.enrolid
    LEFT JOIN course c ON c.id = e.courseid
  • Alan Reynoso
    dv., 30 d’ag. 2013, 04:48
    {table} prefix fixed, thank you all!
  • Kyriakos Terzopoulos
    dt., 10 de set. 2013, 23:34
    Hi, I get this in Moodle 2.5.2
    The block menteesimproved does not define the standard capability block/menteesimproved:addinstance
    line 606 of /blocks/moodleblock.class.php: call to debugging()
    line 584 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 1866 of /lib/blocklib.php: call to block_manager->get_addable_blocks()
    line 1005 of /lib/blocklib.php: call to block_add_block_ui()
    line 355 of /lib/outputrenderers.php: call to block_manager->ensure_content_created()
    line 45 of /theme/enterschool/layout/columns3.php: call to core_renderer->standard_head_html()
    line 860 of /lib/outputrenderers.php: call to include()
    line 790 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
    line 99 of /my/indexsys.php: call to core_renderer->header()
  • Alan Reynoso
    dj., 16 de gen. 2014, 03:21
    Fixed "does not define the standard capability block" error and tested in versions 2.5.2 and 2.6 . All the best
  • Maxime Pelletier
    ds., 22 de febr. 2014, 00:23
    Hi,

    Looks like 2 translation are missing: newmenteesimprovedblock and configtitleblankhides

    Can you confirm?
  • Babi Panjikar
    dj., 5 d’oct. 2017, 18:20
    I am having a trouble upgrading to moodle 3.2 because of this plugin. Kindly advise please...

    !!! Plugin "block_menteesimproved" is defective or outdated, can not continue, sorry. !!!
    !! Missing $plugin->component declaration in version.php.
    Error code: detectedbrokenplugin !!
    !! Stack trace: * line 831 of /lib/upgradelib.php: plugin_defective_exception thrown
    * line 446 of /lib/upgradelib.php: call to upgrade_plugins_blocks()
    * line 1754 of /lib/upgradelib.php: call to upgrade_plugins()
    * line 181 of /admin/cli/upgrade.php: call to upgrade_noncore()
Please login to post comments