Picture of man james
(URGENT BUG} Course Enrollment date shows :Not available
by man james - Monday, 25 July 2011, 10:10 AM
 

Hi,

I'm using Fn site groups to enroll my students in course, the bug i found is each course was set to 4 months of enrollment period. but when i went to check the course start date and end date of everyone of them i found what i was not expecting :

Course Enrollment date shows :Not available

Course Enrollment Ends shows : Unlimited

could you please get back to me ASAP as its the end of our 2 session here at school and i really need to know how to solve this pretty please !

Picture of Fernando Oliveira
Re: (URGENT BUG} Course Enrollment date shows :Not available
by Fernando Oliveira - Monday, 25 July 2011, 12:47 PM
 
Hi,

Have you checked all the course settings?

Can you post a screenshot of the "General" and "Enrollments" sections from the course settings screen?

Fernando
Picture of man james
Re: (URGENT BUG} Course Enrollment date shows :Not available
by man james - Monday, 25 July 2011, 11:34 PM
 

here you go, what do you think i should check in the course settings ?

i have it sat up to 124 days of enrollment period

here is a screen shot


Picture of Fernando Oliveira
Re: (URGENT BUG} Course Enrollment date shows :Not available
by Fernando Oliveira - Tuesday, 26 July 2011, 08:29 AM
 
I mean a screenshot like the one shown below.



Picture of man james
Re: (URGENT BUG} Course Enrollment date shows :Not available
by man james - Sunday, 31 July 2011, 05:22 PM
 
Here it is:

Picture of man james
Re: (URGENT BUG} Course Enrollment date shows :Not available
by man james - Tuesday, 2 August 2011, 04:10 PM
 
i am still hold and i will appreciate your help soooo much. please do something because a whole school is still waiting for this to happen
Picture of Fernando Oliveira
Re: (URGENT BUG} Course Enrollment date shows :Not available
by Fernando Oliveira - Wednesday, 3 August 2011, 12:42 PM
 
This isn't actually a bug, as far as I can tell, and your issue likely has nothing to do with the MoodleFN enrollment plugin. I suggest you change the enrollment window manually via the participant list, as shown below.

By the way, the Moodle forums are usually a good source of information for problems like this.

Picture of man james
Re: (URGENT BUG} Course Enrollment date shows :Not available
by man james - Monday, 29 August 2011, 01:10 PM
 

Hi Fernando,

i have posted a moodle tracker and 3 developers are turning back the same message which is to contact you because they suppose that the problem is the enrollment plugin storing start and end dates in a custom way, not in the standard enrollment table.

coule you please take a look at this issue.

i have tried what you said and when i try to extend the enrollment it gives me the option to extend it from the course enrollment start date or from TODAY's date which is not how they other enrollment plugins work. we sat the course enrollment periode to 4 monthes and it doesn't record that at al.

Thank you

Picture of Fernando Oliveira
Re: (URGENT BUG} Course Enrollment date shows :Not available
by Fernando Oliveira - Tuesday, 30 August 2011, 08:18 AM
 
Hi,

Thanks for verifying this problem. I'll try to track someone down to take a look.

Fernando
Picture of man james
Re: (URGENT BUG} Course Enrollment date shows :Not available
by man james - Wednesday, 7 September 2011, 11:59 PM
 

Some people on moodle are having the same problem when enrolling people manualy.

one of them came up with this solution.

Solution : remove the last condition in the query in admin/cron.php such that it will look like this:

$rs_enrol = get_recordset_sql("SELECT ra.roleid, ra.userid, ra.contextid
FROM {$CFG->prefix}course c
INNER JOIN {$CFG->prefix}context cx ON cx.instanceid = c.id
INNER JOIN {$CFG->prefix}role_assignments ra ON ra.contextid = cx.id
WHERE cx.contextlevel = '".CONTEXT_COURSE."'
AND ra.timeend > 0
AND ra.timeend < '$timenow'
");

this worked only if we enroll students manually using manual enrollment but it didn't work for FN enrollment.

i just thought to give an idea hopefully this will help to come up with a solution soon because we really appreciate your job and we can't moodle without this amazing FN site block!

Picture of Fernando Oliveira
Re: (URGENT BUG} Course Enrollment date shows :Not available
by Fernando Oliveira - Saturday, 17 September 2011, 05:41 PM
 
Hi Man,

This should fix your problem:

Please replace blocks/fn_site_groups/sitegroups.php with the attached file.
Any user who is enrolled after updating the code, will be removed after the enrol duration (set in course settings). The zip download will be updated shortly.

Credit for this fix goes to Shamim Rezaie.

Thanks,
Fernando
Moodle Theme by NewSchool Learning