Select Moodle version:

Blocks: Mentees Improved Block

block_menteesimproved
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.
Maintained by: Picture of Alan Reynoso Alan Reynoso
for Moodle
2.1, 2.2, 2.3, 2.4, 2.5, 2.6

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

Contributors

Picture of Alan Reynoso
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, Nov 9, 2012, 2:47 PM
    Consider adding a readme.txt here.
  • Wazza
    Fri, Nov 9, 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, Nov 9, 2012, 7:55 PM
    To answer my own question: yes. Somewhere there's hardcoded that the prefix for tables must be mdl_
  • Picture of Alan Reynoso
    Tue, Dec 4, 2012, 11:58 PM
    Hello friends thank you for your comments, now those erros are fixed!!, best regards.
  • Picture of Diane Villemure
    Thu, Apr 4, 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
  • Picture of Alan Reynoso
    Fri, Aug 30, 2013, 4:48 AM
    {table} prefix fixed, thank you all!
  • Picture of Kyriakos Terzopoulos
    Tue, Sep 10, 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()
  • Picture of Alan Reynoso
    Thu, Jan 16, 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
  • Picture of Maxime Pelletier
    Sat, Feb 22, 2014, 12:23 AM
    Hi,

    Looks like 2 translation are missing: newmenteesimprovedblock and configtitleblankhides

    Can you confirm?
Please login to post comments