Commit graph

4047 commits

Author SHA1 Message Date
defacer
630bd96bd9 Fixing read tracking link when tracking is forced. 2005-04-26 22:02:26 +00:00
defacer
c6c3a59941 Initializing $parent to new stdClass was a major oops. However, seems it doesn't
need to be initialized at all. So I won't hold this against the practice in general.
2005-04-26 21:50:44 +00:00
defacer
10426cefb6 Fixing the two other functions that feed stuff into forum_print_post_full as well. 2005-04-26 21:45:48 +00:00
defacer
6572ab7170 Fix for bug 3047, which I leave open because I don't know if this
is the desired way of fixing the problem. Hopefully it is.
2005-04-26 21:29:29 +00:00
defacer
a2ad73deb9 Initialize object as new stdClass instead of NULL. 2005-04-26 21:26:17 +00:00
defacer
16955dc619 Some double quotes to single, use optional_param for $reply.
I 'm debugging some PHP5 notices which aren't just notices, they imply
there's a bug somewhere here? Or maybe an inconsistency in parameter types
of the variables being passed around...
2005-04-26 20:39:08 +00:00
mchurch
eaf50aeff8 Added tracking settings per forum. 2005-04-26 16:27:51 +00:00
moodler
326ce3c4b5 Don't put paragraphs around forum texts 2005-04-26 08:34:32 +00:00
moodler
c246882469 Now it behaves properly when tracking is turned off 2005-04-25 18:36:32 +00:00
moodler
343af2747d Fixed up some functions calls with funny parameters 2005-04-25 18:25:04 +00:00
moodler
b71772e25e MOved updating of user forum into the right place 2005-04-25 18:07:14 +00:00
moodler
5733262d15 Making display of "mark read" function much more efficient
removed tables, added XHTML, using CSS, caching string ...
2005-04-25 18:00:23 +00:00
moodler
6de6cd5a27 Fixed forum index, removed "mark read" links .... 2005-04-25 17:45:15 +00:00
mchurch
20a3dad574 Added the ability to mark discussions read. 2005-04-25 15:00:27 +00:00
mchurch
45293cd330 More robust personal forum tracking logic. Added personal forum tracking
option setting to forum view page.
2005-04-25 14:02:00 +00:00
moodler
f2379d2d2e Tweaking 2005-04-25 10:56:11 +00:00
moodler
a0288610be Tidying up mail and stuff 2005-04-25 10:48:01 +00:00
moodler
47d0630139 Fixed display of unread column in news forums 2005-04-25 09:08:21 +00:00
mchurch
331c512a10 Added the ability to mark all posts in a forum as read. 2005-04-25 03:56:02 +00:00
moodler
77e75a76f7 FIxed relative link in mailouts 2005-04-25 03:42:50 +00:00
moodler
add3201ede Fixed up styles and strings in posted mail 2005-04-25 01:51:51 +00:00
mchurch
5cc300633d Added postgres support for user specific forum tracking. 2005-04-24 19:49:42 +00:00
mchurch
9e2b1877e0 Added enable/disable forum tracking in a user profile. 2005-04-24 19:46:13 +00:00
moodler
10b9a26a20 Add link for advanced searching 2005-04-24 15:13:58 +00:00
mchurch
cb9ef4a06d Fixed Bug 3021. Forum ID was getting changed in read tables. 2005-04-24 14:54:15 +00:00
mchurch
143b43cbcc Added user read tracking logic to forum_print_post. 2005-04-24 14:31:03 +00:00
mchurch
1d2256d020 Added user forum tracking logic to discussion display. 2005-04-24 14:06:23 +00:00
mchurch
38994d6ff7 Added the user forum tracking settings. 2005-04-24 13:27:20 +00:00
mchurch
cfdc10e63c Corrected an SQL statement that used 'user' instead of $CFG->prefix.'user'.
Note - this is a left join of a table that is already inner joined in the
same statement. There may be other problems here.
2005-04-24 02:02:09 +00:00
moodler
3a70cb6441 Added new script to upgrade the forum records (it has a pretty progress bar
and it means the main upgrade isn't held up.
2005-04-23 13:36:18 +00:00
moodler
f8156e56eb Delete forum_read records more efficiently 2005-04-23 05:06:17 +00:00
moodler
096de9addc Improved handling of userlastmodified 2005-04-22 18:53:04 +00:00
moodler
13597d018f Hack to speed up forum_get_discussions in blocks etc 2005-04-22 16:45:51 +00:00
moodler
4abef03b8b Optimisations for read posts 2005-04-22 16:38:50 +00:00
moodler
36ad8acd31 Much more efficient updating of forum_read table! I think it works ...! 2005-04-22 15:48:05 +00:00
moodler
81c679ce87 Two weeks is enough (wish I'd set this small on moodle.org upgrade!) 2005-04-22 13:37:23 +00:00
moodler
8cb091e643 Fixed a minor PHP warning. Bug 2979. (SE) 2005-04-21 08:11:07 +00:00
moodler
768f90f657 DOn't allow discussions to be moved out of the teacher's forum. 2005-04-20 13:26:06 +00:00
moodler
4c3b9e020f MOre cleanups to links etc 2005-04-20 05:27:20 +00:00
moodler
9a0eb67916 Cleaned up the display of forum introductions and added link to discussion count 2005-04-20 05:19:52 +00:00
moodler
0d5da5dd1f Just tidying 2005-04-19 16:05:50 +00:00
moodler
b82faacd03 Fix for bug 1938. Now a teacher can delete any post, and all the
children are deleted as well (after a warning and a preview of the
affected posts).
2005-04-19 11:25:59 +00:00
moodler
63e20b8854 Merge fix from stable 2005-04-13 09:19:48 +00:00
moodler
af3014b489 Merged logic fix for replying from STABLE 2005-04-13 08:27:09 +00:00
thepurpleblob
551d79f848 Fixed small sql error. 2005-04-13 07:34:43 +00:00
moodler
535136bde7 Correct calls to require_course_login 2005-04-13 07:00:35 +00:00
stronk7
85b9471fb4 Now all the wiki formated texts are converted to markdown
by the restore process. Such conversion is performed for
every backup file prior to 2005041100.
Wiki internal links are dinamically changed and then,
converted to Markdown. Bye, Wiki! ;-)
2005-04-12 23:42:56 +00:00
thepurpleblob
c5c36dac9f Whoops! Forgot prefix on the DB where clauses 2005-04-12 19:57:51 +00:00
thepurpleblob
229b068d44 Now 20050411: Convert wiki-like format in forum posts to Markdown format. 2005-04-11 13:05:38 +00:00
thepurpleblob
62caf19111 Wiki-Like format in forum posts is converted to Markdown format. 2005-04-11 13:04:48 +00:00