342 Commits

Author SHA1 Message Date
stronk7
744d723c2c Now forum logs are restored. 2004-02-22 12:34:07 +00:00
stronk7
b17333be71 In the delete discussion action, as the discussion no longer exists,
point the url to view the forum instead of the discussion.
2004-02-22 11:50:09 +00:00
stronk7
96d6fc8f14 Solved small bug in delete discussion action, where the
info field was storing the post->id rather of the discussion->id field
2004-02-22 11:40:44 +00:00
stronk7
454e72f7d4 Added the forum->id into the info field
for the "view subscribers" action. To make
this action easily recovereable and to show
forum name when displaying logs.
2004-02-22 11:25:09 +00:00
selliott
90708fc1f3 Added logic in function forum_get_recent_mod_activity for groups 2004-02-20 21:52:56 +00:00
moodler
59c7115177 FIxed bug with forced languages by moving string definitions 2004-02-20 02:29:30 +00:00
moodler
2ab76925a2 Cleaned up group menus 2004-02-19 17:57:22 +00:00
moodler
b8be40ce52 Variable $CFG->admineditalways will enable admin editing all the time 2004-02-18 03:30:05 +00:00
moodler
096b5432a7 Fixed some old pix paths 2004-02-16 09:24:14 +00:00
moodler
e1fb2e6e09 Don't create empty $CFG->courselang to be sure 2004-02-15 14:32:18 +00:00
moodler
436a7cae88 Filter subject lines in discussion listings too. 2004-02-15 10:23:35 +00:00
moodler
83ec909837 Allow <lang> tags in forum subjects.
And filter them is $CFG->filterall is on
2004-02-15 10:16:12 +00:00
selliott
a57a7794ea deleted forum_print_recent_instance_activity and forum_get_recent_posts (only used in course/recent.php)
added  forum_get_recent_mod_activity and forum_print_recent_mod_activity for course/recent.php
2004-02-15 06:19:08 +00:00
moodler
f064a3dfb9 WHAT!??
Why doesn't this work?

   if (!empty(trim($forum->intro))) {
   }

It gave blank screens on moodle.org!   Wierd.
2004-02-13 15:20:06 +00:00
moodler
51a55508e6 Use format_text on forum intros 2004-02-13 03:39:58 +00:00
moodler
0d851f90a8 Cache format_text calls in make_mail_post for even more speed
during a forum_cron
2004-02-11 02:26:25 +00:00
moodler
9c84314ed7 Fix for recent courselang stuff 2004-02-10 14:28:32 +00:00
stronk7
e222ce0944 discussion->usermodified is in backup & restore now. 2004-02-08 19:34:22 +00:00
moodler
016cd6af4f Discussions now store the last user to change them, as well as the
last time they were modified.   This isn't actually used yet but it
will be.
2004-02-06 13:15:15 +00:00
selliott
c892ab3672 Added user parameter to print_recent_instance_activity and get_recent_posts (all for course/recent.php) 2004-02-05 20:38:14 +00:00
selliott
2bda8358da In function forum_get_recent_posts, removed u.id from select because of conflict with p.id field (p.userid is available) also changed sort from discussion id to modified. 2004-02-04 15:07:08 +00:00
moodler
a7f4452d11 Updating version numbers of all Modules to make things a bit clearer 2004-02-01 04:42:39 +00:00
moodler
69d79bc31f OK, some big improvements to the logs.
Logs now include a field called modid which contains the coursemodule id.

This makes it now possible to

   - see complete logs per-activity

   - do backup/restore of logs

The upgrade process will currently try to scan all the old logs and
rebuild this field based on available data (especially forums).

STILL TO DO:  alter all the non-forum modules to send the coursemodule id
2004-01-31 14:47:57 +00:00
stronk7
3caa089f49 Some strange line feeds in the latest version. Solved. 2004-01-30 23:15:11 +00:00
gustav_delius
800578b7fe increase mailed to number(2) 2004-01-30 21:44:44 +00:00
gustav_delius
c7cdd6ec82 moved the database update code to where it belongs 2004-01-30 21:40:31 +00:00
gustav_delius
3d94772d47 better logging of forum mail errors, see http://moodle.org/mod/forum/discuss.php?d=4865. Required the addition of an extra optional argument $user="" to add_to_log() 2004-01-30 18:21:56 +00:00
moodler
5476a93df2 Fix the mode handling for "single" forums 2004-01-30 08:45:11 +00:00
moodler
1390f203a7 Dont print learning forums table if there aren't any 2004-01-29 05:59:26 +00:00
moodler
36c23cd6a9 Reduce intro text for general forums 2004-01-29 04:58:56 +00:00
moodler
e06a8263a1 Removed function, and updated versions 2004-01-28 14:49:56 +00:00
moodler
279826e26f Yes, finally forum display preferences are preserved. :-) 2004-01-28 14:48:49 +00:00
moodler
83f007bf39 Define minimum required versions of Moodle 2004-01-28 04:27:57 +00:00
moodler
ef6a649b72 MOds to use dividers between sections 2004-01-26 09:48:20 +00:00
moodler
c585ba8b14 Remove the forum links as well (for group forums when user not in group) 2004-01-26 08:57:01 +00:00
moodler
a0b9571f7c Subscribe links accurately reflect what is possible according
to the user's group status.

Section numbers now printed once per section
2004-01-26 08:05:44 +00:00
stronk7
61f95aada5 Now userid and groupid fields are recoded correctly
in the restore process. This should make the backup utility
group-compliant !! (when talking about forums, of course) :-)
2004-01-25 21:00:06 +00:00
gustav_delius
d7143408df replaced incorrectly closed html tags, see bug 365 2004-01-25 20:34:54 +00:00
gustav_delius
8c0ef41d6a reset timelimit so that script does not get timed out when posting to many users 2004-01-25 17:04:54 +00:00
moodler
5316939bcf Prevent people from subscribing to group forums is they aren't in a group 2004-01-23 13:21:25 +00:00
moodler
a7f5bf8575 Always show correct current group in popup menu 2004-01-23 13:01:05 +00:00
moodler
2f9c977e6b Fixes for recent_activity and cron to use the new groupid stuff 2004-01-23 12:48:37 +00:00
moodler
02509fe667 Improvements to forum groups.
New forum_discussions->groupid now stores the group ID for the
discussion.
2004-01-23 12:09:25 +00:00
moodler
c6d691dc28 - Prevent users from replying in groups other then own.
- groups menu at discussion level
2004-01-20 13:51:27 +00:00
moodler
a33ba1367e Editing teachers can always get into forums 2004-01-17 06:49:18 +00:00
moodler
94d712f197 Links color = black 2004-01-16 12:16:05 +00:00
moodler
218b443372 Add some styles in the posts so the autolinks look OK. 2004-01-16 11:32:14 +00:00
moodler
71767204c9 Pass courseid to format_text explicitly 2004-01-16 10:51:24 +00:00
moodler
b78eabdcdd When using the HTML editor, don't provide format options 2004-01-16 06:42:46 +00:00
moodler
e2c4f8e4dc Save forum log url in a more standard way 2004-01-15 07:26:52 +00:00