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
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

Show comments
  • MD shot of me from his iphone4
    Fri, 9 Nov 2012, 2:47 PM
    Consider adding a readme.txt here.
  • Wazza
    Fri, 9 Nov 2012, 7:25 PM
    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
    Fri, 9 Nov 2012, 7:55 PM
    To answer my own question: yes. Somewhere there's hardcoded that the prefix for tables must be mdl_
  • Alan Reynoso
    Tue, 4 Dec 2012, 11:58 PM
    Hello friends thank you for your comments, now those erros are fixed!!, best regards.
  • Diane Villemure
    Thu, 4 Apr 2013, 11:31 AM
    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
    Fri, 30 Aug 2013, 4:48 AM
    {table} prefix fixed, thank you all!
  • Kyriakos Terzopoulos
    Tue, 10 Sep 2013, 11:34 PM
    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
    Thu, 16 Jan 2014, 3:21 AM
    Fixed "does not define the standard capability block" error and tested in versions 2.5.2 and 2.6 . All the best
  • Maxime Pelletier
    Sat, 22 Feb 2014, 12:23 AM
    Hi,

    Looks like 2 translation are missing: newmenteesimprovedblock and configtitleblankhides

    Can you confirm?
  • Babi Panjikar
    Thu, 5 Oct 2017, 6:20 PM
    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