659 Commits

Author SHA1 Message Date
moodler
4dca83a703 Fix for bug where forum search would return posts by users in other groups
when the course was in separate group mode. Bug 3073. (SE)
2005-05-04 08:54:07 +00:00
moodler
524f9dbe72 Added link to mark all posts in forum as read, and also removed
error notices from markposts.php because we don't really care
2005-05-03 16:32:25 +00:00
moodler
d494dd8351 Fixed a typo 2005-05-02 03:53:18 +00:00
mchurch
4822e9d26d Added 'trackforums' to the fields retrieved for 'forum_subscribed_users' so
that emailed posts are marked as 'read' correctly.
2005-05-02 03:18:03 +00:00
mchurch
c39748f4b4 Re: Bug 3033 - fixed incorrect arguments in markposts for the forum index
screen.
2005-04-28 19:49:01 +00:00
moodler
1da8c5685a New function to update the last post in a given discussion.
Called whenever deleting posts or splitting discussions - bug 3050 (SE).
2005-04-28 07:42:14 +00:00
fiedorow
858cf14dc2 Fix for Bug 3033 2005-04-27 21:23:26 +00:00
moodler
8fbdc99251 Removed extra JOIN :-D 2005-04-27 14:45:28 +00:00
paca70
79fb043e3e Use integer instead of tinyint with postgres 2005-04-27 13:14:54 +00:00
moodler
e6ce125c68 Fixes for trackingtype upgrade and defaults 2005-04-27 06:14:01 +00:00
moodler
3ad7a8c7a8 Fixed a notice 2005-04-27 06:02:08 +00:00
moodler
77efef3e50 Dealing with forumid and forum_print_post in a more coherent way ... bug 3047 2005-04-27 05:55:30 +00:00
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