Moodle 1.7 & 1.8 breaks amember pro

Discussion in 'Integration' started by chemistry2004, Jan 26, 2007.

  1. chemistry2004

    chemistry2004 Member

    Joined:
    Jan 26, 2007
    Messages:
    78
    I recently downloaded the trial version of amember pro to test its efficiency and its applicability to my solutions. However, when I tried to integrate as said in the instructions, the screen goes blank after login. However, I could see the user actually logged in to moodle. The whole admin options are completely disabled. When the user clicks the course the screen goes to blank.

    I think moodle has changed the external database authentication drastically. Is there a solution for this before I venture in to amember?
  2. tacit

    tacit CGI-Central Support

    Joined:
    Nov 23, 2006
    Messages:
    12
    Yes, Moodle made some changes, we will fix this problem soon.
  3. joshua_s1

    joshua_s1 New Member

    Joined:
    Aug 22, 2006
    Messages:
    1
    Is there an update on this? We have a strong interest in moving from moodle 1.6 to 1.7
  4. chemistry2004

    chemistry2004 Member

    Joined:
    Jan 26, 2007
    Messages:
    78
    when can I expect?

    I've already moved to v1.7 and ready to buy amember when this is done
  5. tacit

    tacit CGI-Central Support

    Joined:
    Nov 23, 2006
    Messages:
    12
    Moodle Plugin fixed.
    Now it's work with Moodle 1.7.1+ and 1.8
  6. studyrussian

    studyrussian New Member

    Joined:
    Dec 26, 2006
    Messages:
    1
    How can I get the updated Moodle plugin?

    Thank you for fixing the Moodle plugin. But, how can I get the updated version of it? When I download from the existing page
    http://www.amember.com/p/Integration/Moodle

    the file dates of the Moodle plugin are in the year 2005. Should it not say February 15, 2007? :confused:

    I am using Moodle 1.7+ and also experience the problem described avobe.
  7. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    The plugin on download page is updated now.
  8. chemistry2004

    chemistry2004 Member

    Joined:
    Jan 26, 2007
    Messages:
    78
    There is a problem in the plugin.

    I understand that amember permits to create multiple products for same course in moodle by assigning product id number of amember to course id number in moodle. However, with the new plugin in when I tried to assign more than one product id number in moodle course id field, it simply breaks and does not allow me in to the course. I think the plugin does not check all the numbers in the idnumber field of moodle database (as it used to do in v1.6 plugin). Can you look in to that?

    On the otherhand if I assign only one course id number, the plugin works perfectly.
  9. tacit

    tacit CGI-Central Support

    Joined:
    Nov 23, 2006
    Messages:
    12
    Moodle plugin fixed
  10. chemistry2004

    chemistry2004 Member

    Joined:
    Jan 26, 2007
    Messages:
    78
    The plugin with amember demo works great. However, readme.txt in the plugin says the following modifications:

    5. Edit file moodle/user/user.html
    Replace lines

    <tr>
    <th><?php print_string("idnumber") ?>:</th>
    <td>
    <input type="text" name="idnumber" size="25" alt="<?php print_string("idnumber") ?>" maxlength="12" value="<?php p($user->idnumber) ?>" /> <?php p($teacheronly) ?>
    <?php if (isset($err["idnumber"])) formerr($err["idnumber"]); ?>
    </td>
    </tr>

    to

    <input type="hidden" name="idnumber" value="<?php p($user->idnumber) ?>" />


    However, the recent moodle version (v1.8) does not have user/user.html file and therefore one cannot make suggested modifications. The user cannot login into a course. Moodle simply prompts, that "Manual enrolments are currently not enabled". I think the course authorization is modified again.

    I have another suggestion for moodle-amember users:
    Moodle provides alternate login url. Is it possible to make member.html (in the template folder) to have a moodle redirection with username and password returned moodle? Would this not make login, recover password, change profile etc simpler?

    Any suggestion
  11. chemistry2004

    chemistry2004 Member

    Joined:
    Jan 26, 2007
    Messages:
    78
    Dear Moodle users,

    amember team have developed a fully integrated single login script for moodle-amember integration and i just tested it. It works smoothly with moodle v1.8 and moodlev1.9 dev. There are some major problems working with moodle v1.7. The major features are:

    1. Single login for amember and moodle
    2. Amember users are automatically reflected in moodle's mdl_users table.
    3. Practically no editing is required in moodle or amember (except when you want create integrated logout also)
    4. Synchronization of users between the two databases can be done using moodle default scripts through cron job.
    5. You can use either amember login page or default moodle login page (with alternate login url setting in moodle) to enter your moodle site.

    I posted my response in the helpdesk, but I have not got any reply from them so far. But, I think the script works smoothly and so I decided to put up a note in the forum. I hope Alex can put up the updated version of the script for download so that others can also test. Please note that this scripts works only with pro version of amember and not with demo version.

    Thanks for your support all along
  12. Desiderius

    Desiderius New Member

    Joined:
    Nov 4, 2006
    Messages:
    24
    where can we download this?
  13. chemistry2004

    chemistry2004 Member

    Joined:
    Jan 26, 2007
    Messages:
    78
    I tested the codes at my localhost and have not done on my production server. Since, it is still under testing condition, ( I have not heard from cgi-central through helpdesk), I do not whether it is alright with cgi-central to attach the relevant files here for others to test. In case they do not have any objection I would attach the files.

    Dear Alex are you there?
  14. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    Oleg (tacit) will answer here tomorrow, I unfortunately have no most recent information about Moodle plugin development progress and status.
  15. mpenney

    mpenney New Member

    Joined:
    Jun 13, 2007
    Messages:
    1
    If you all can post the scripts we'll test them

    we're doing an integration now, and have some Moodle core developers with lots of experience in integration, we can test your integration and report back/update, SSO would be nice:).

    Thx!

    Michael Penney
    Managing Director, Western Region
    Moodlerooms, Inc.
    3135 Boeing Avenue, Suite A-3
    Mckinleyville, CA. 95519
    w: 707 840-0360
    michael@moodlerooms.com
  16. chemistry2004

    chemistry2004 Member

    Joined:
    Jan 26, 2007
    Messages:
    78
    Dear Michael,

    I have sent you the mail with the attachments.
  17. Desiderius

    Desiderius New Member

    Joined:
    Nov 4, 2006
    Messages:
    24
    any news about this?
  18. chemistry2004

    chemistry2004 Member

    Joined:
    Jan 26, 2007
    Messages:
    78
    No i have not heard anything from cgi-central team. They said that they would post some fixes the next day. But nothing is happening. I feel it is too embarrassing to request again and again
  19. chemistry2004

    chemistry2004 Member

    Joined:
    Jan 26, 2007
    Messages:
    78
    It is almost there. The script works great in moodle v1.7 but in v1.8 there is a problem in Change_password_url in the authentication. I am in touch with help desk. They are doing a great job. I think it should be ready for public testing this week.
  20. chemistry2004

    chemistry2004 Member

    Joined:
    Jan 26, 2007
    Messages:
    78
    Integration script is ready for testing. I tested in moodle v1.7, 1.8 and 1.9dev in both linux and windows. It seems to work smoothly.

Share This Page