Help me in External Database plz

Help me in External Database plz

by ha vinh -
Number of replies: 1
I have just update Moodle from 1.5 to 1.7. And I have problem on External Database config.

My 1.5 detail:
1.jpg1.JPG

My 1.7 detail:
1.JPG
There are some new fields on 1.7 but I don't know what its mean.
they are: enrol_db_localrolefield,enrol_db_remoterolefield.
I don't know how to make the external database work on 1.7 althought I can make it work on 1.5.
Any body help me?
Thank so much.
Average of ratings: -
In reply to ha vinh

Re: Help me in External Database plz

by Clinton Graham -
The roles documentation will give you more information on this new functionality. They are optional fields, so you can use your settings as-is, or define the enrol_db_localrolefield and enrol_db_remoterolefield to reflect the user's status in the course. For example, a role may be "student" or "teacher"; the default if undefined is "student".

An example: enrol_db_localrolefield could be "shortname" (from the mdl_role table), and enrol_db_remoterolefield could be "customer_role" (assuming a new field "customer_role" in your "zen_customer_products" table).