Moodle integration

Hey! sorry for bothering you guys again and again. But I really would like to use gibbon for the financial aspects of moodle as it seems the ideal solution. I have both moodle and gibbon installed on a local server. When I apply the settings mentioned in the moodle module’s description I get this message but the users from gibbon don’t appear in my moodle. Am I missing something or doing something wrong?

Hi Ibrahim,

Unfortunately I don’t use Moodle so I can’t offer much help. It looks like Ghulam has mentioned that this module may not work anymore with the current version of Moodle. If there is a community member who is interested in looking into this that would be awesome, since the core Gibbon developers do not use Moodle for their schools, we’re not able to offer much support.

Hi everyone,

I’ve been searching for a solution for the Moodle integration module.

I’ve read Connecting to Moodle :: Gibbon Docs page and have followed the instructions except with changing to use mysqli for the method of connection. At the bottom of the page, I am puzzled by the last comment (“Beyond this, follow the Moodle instructions for using cron to periodically pull data across from Gibbon to Moodle”) on the page.

Does this mean the Gibbon Moodle integration module and the Moodle’s cron.php file (“/path/to/moodle/admin/cli/cron.php”) work together? Does this mean Moodle’s cron.php file (“/path/to/moodle/admin/cli/cron.php”) needs to be changed also or is the current state of Moodle’s cron.php file supposed to work automatically?

Thanks for any help on this item.


The Moodle module still works I believe. I’ve got this to work recently.
The Moodle module creates a table in Gibbon that allows you to map user and course fields from Gibbon to Moodle.
The Moodle cron.php serves as a scheduled task to sync these fields periodically (pull data across from Gibbon to Moodle).
I hope this helps.

OK. Just to following up. The Gibbon Moodle integration modules works. These are the software versions I’m working with.

Gibbon version: 25.0.0
Moodle version: 4.1

As indicated in other threads, the Gibbon Moodle integration module creates database views required by Moodle to read the Gibbon user info and insert new records into the Moodle users database.

Then you need to go into the Moodle’s “Scheduled Tasks” and enable the “Synchronise users task”. (Yes, “Synchronise” is misspelled, but that is the name of the task as of Moodle v4.1).

To reach this task, following steps:

  1. Login to Moodle with administration rights.
  2. Select “Site Administration” option/tab at top of Moodle page.
  3. Select “Server” option/tab at Moodle Site Adminstration menu bar.
  4. At “Task” section, select “Scheduled Tasks”.
  5. Under “Scheduled Tasks”, find “Synchronise users task” and select gear icon to configure.
  6. Uncheck “Disabled” option.
  7. Similar to a crontab entry, select the specific times, day of week this task is supposed to run like a crontab entry.

In my case, I used the following option for this task to run every 5 minutes. (I may change later if too CPU intensive):
Minute: */5
Hour: *
Day: *
Month: *
Day of Week: *

NOTE: These values are heavily dependent on having the Unix cron subsystem to automatically run the cron.php file that will read in the values configured into the “Synchronise users task” via the Moodle Site Administration.

Also to note is that while the Gibbon user is duplicated into the Moodle user database, the Gibbon password value does not work with Moodle. So when the user logs into Moodle, they will need to recover the password in Moodle.

In other words, while the username is the same in both Gibbon and Moodle, the password in each system are independent of each other. So be sure Moodle can send outbound emails for the user to receive the password reset email.

I hope this helps others.

1 Like

@tiekubd : Thank you for your response. Yes, I was able to get it working. I found several post about it not working. So I wasn’t sure. I hope I provided enough explanation of what I did to help other newbees.

1 Like