Turn off 30 minute time limit?

Turn off 30 minute time limit?

by Tim Lamas -
Number of replies: 5
Is there any way to turn off the 30 minute time limit of forum posts?

In a classroom setting, time is always a limiting factor when working on forum posts. In the past (on an unmentioned rival CMS!), I have always been able to tell students they can finish their post when they get home, since their limited  time on the computer always leaves them short on time.

If there isn't a way to opt out of the 30 minute limit, is there interest among other Moodlers to make that limit an option rather than a given?

Tim
Average of ratings: -
In reply to Tim Lamas

Re: Turn off 30 minute time limit?

by Bryan Williams -
You can change the time limit for forum postings to whatever you want by adjusting the "maxeditingtime:" setting in Administration >> Configuration >> Variables setting.
Average of ratings: Useful (1)
In reply to Bryan Williams

Re: Turn off 30 minute time limit?

by Sven Wiebusch -
But the values are limitted to 60 minutes...That is also too short in my opinion, how can one set this value to "unlimited", so that a user can always edit his/her posts?

I went to phpmyadmin and changed that value to a very large number, but everytime I change something in the variables-configuration of moodle, the maxeditingtime-value is changed, too...
In reply to Sven Wiebusch

Re: Turn off 30 minute time limit?

by Przemyslaw Stencel -
When you look at the admin/config.html file, you'll see this section:

<tr valign=top>
<td align=right><p>maxeditingtime:</td>
<td>
<?php
unset($options);
$options[3600] = get_string("numminutes", "", 60);
$options[2700] = get_string("numminutes", "", 45);
$options[1800] = get_string("numminutes", "", 30);
$options[900] = get_string("numminutes", "", 15);
$options[300] = get_string("numminutes", "", 5);
$options[60] = get_string("numminutes", "", 1);

I guess you could just add lines for 24 hours:
$options[86400] = get_string("numminutes", "", 1440);

or for 1 month
$options[2678400] = get_string("numminutes", "", 44640);

or even for 1 year:
$options[31536000] = get_string("numminutes", "", 525600);

but I don't know how to make it unlimited.

Note: I haven't tested this solution, so use at your own risk big grinwink
In reply to Przemyslaw Stencel

Re: Turn off 30 minute time limit?

by Anthony Crooks -
I tried the hack and it seems to be working. My classes don't last for more than a year and the year setting will be fine for my needs.