[Server-devel] Moodle/Ejabberd group config

Dave Bauer dave at solutiongrove.com
Tue Oct 13 11:58:58 EDT 2009


On Tue, Oct 13, 2009 at 11:38 AM, Dave Bauer <dave at solutiongrove.com> wrote:
> On Tue, Oct 13, 2009 at 11:30 AM, Martin Langhoff
> <martin.langhoff at gmail.com> wrote:
>> On Tue, Oct 13, 2009 at 5:22 PM, Dave Bauer <dave at solutiongrove.com> wrote:
>>> I am trying to test out the Moodle/Ejabberd course/group configuration
>>> following http://wiki.laptop.org/go/XS_Techniques_and_Configuration#Segregating_presence_by_course_groups
>>>
>>> I turned on the presence service on moodle, restarted everything,
>>> created some courses.
>>
>> Good!
>>
>>> ejabberdctl srg-list-groups
>>>
>>> returns online "Online" and I can confirm I can still see everyone in
>>> the neighborhood even though they are seperated into different
>>> courses.
>>
>> - Did you create courses and assign users as teachers or students in them?
>>
>
> Yes
>
>> - After ~10 minutes ejabberdctl srg-list-groups still lists only Online?
>>   - Recheck that you got the setting on moodle admin correct
>
> Yes
>
>>   - look at /var/log/moodle/cron.log -- it is fairly verbose, but it
>> will talk of creating / destroying the SRGs in ejabberd
>>
> Thanks, I'll check that out.
>


I tracked this down. In moodle/web/auth/olpcxs/auth.php where
schoolserver is set as the hostname. I changed it to use
php_uname('n') and it is working now. I'll submit a patch if you think
this is workable. It coincides with the registration patches to allow
other server names.

Dave

> Dave
>>
>> m
>> --
>>  martin.langhoff at gmail.com
>>  martin at laptop.org -- School Server Architect
>>  - ask interesting questions
>>  - don't get distracted with shiny stuff  - working code first
>>  - http://wiki.laptop.org/go/User:Martinlanghoff
>>
>
>
>
> --
> Dave Bauer
> dave at solutiongrove.com
> http://www.solutiongrove.com
>



-- 
Dave Bauer
dave at solutiongrove.com
http://www.solutiongrove.com


More information about the Server-devel mailing list