Moodle – Online user campus location and graph

My online users page is proving to be very popular amongst our students, the page receives almost 4800 visits each week. 

Based on this popularity I decided to improve the page and add even more functionality.

Moodle captures the last ip address of each user and this is how we determine their campus location.

Our network is linked across many campus sites, and each site has it’s own IP range.  By creating an array to store the locations I was able to determine where the user is accessing Moodle from via a simple PHP script.

Adding visuals

I then needed a way to view the online users at a glance and see all user locations.  To do this is simply created total values for each campus and displayed them using a graph.

 

Apache error: winnt_accept: Asynchronous AcceptEx failed.

Last week our production server (windows 2003 Server, Apache, PHP) decided to start acting rather strangely. The instability was tracked down to a conflict with eAccelerator and the php Oracle drivers.

After updating the Oracle drivers we were left with a new problem. Occasionally Apache would crash and report the following error message:

winnt_accept: Asynchronous AcceptEx failed.

After spending some time on Google I managed to find a fix.
Simply make these changes to the Apache httpd.conf file:

EnableMMAP off #<– uncomment this line
EnableSendfile off #<– uncomment this line
Win32DisableAcceptEx #this line had to be added

RSC JISC Moodle User Group May 1st 09 Report

The RSC JISC Moodle User group on Friday 1st May 2009 was once again very well attended – and there were some new faces too.  There has been lots of Moodle theme improvements by many of the member colleges. 

Leeds College of Music have been using the ‘Page Module’ to good effect and Steve Dale from Education Bradford was on hand once again to show us some rather exciting content generation resources.

Belle Vue Girls’ School have made some excellent improvements to their Moodle theme and have come a long way since the last time we all met.

This was the last MUG meeting this year until September.

The next meeting is to be held at North Lindsey College in Scunthorpe.