I have just update Moodle from 1.5 to 1.7. And I have problem on External Database config.
My 1.5 detail:
My 1.7 detail:
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.
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).
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).