680 Commits

Author SHA1 Message Date
defacer
7f65461c36 Merging from STABLE:
Moving <i> to CSS and small CSS improvement.
2005-06-30 00:03:03 +00:00
fiedorow
e2c1dbe922 Bug fix for bug #3614 2005-06-23 15:29:43 +00:00
mjollnir_
80d3523ed0 Merged from MOODLE_15_STABLE: fixing bug 3569: current workaround= one query for postgres, one for mysql. probably a better way to do it when someone has more time 2005-06-20 04:32:29 +00:00
stronk7
9d8caf59ec Order by rating now works. See bug 3566.
(http://moodle.org/bugs/bug.php?op=show&bugid=3566)

Merged from MOODLE_15_STABLE
2005-06-19 17:14:32 +00:00
mjollnir_
93d58b30f3 Merged from MOODLE_15_STABLE: Another postgres fix -- this time forums were not being displayed 2005-06-16 03:12:10 +00:00
defacer
93c865201a Merging from STABLE:
Fix for bug 3467: Adding "single discussion forum" was broken. Now works.
2005-06-14 15:52:49 +00:00
thepurpleblob
70e3da07fd Changed all optional_variable() and require_variable() to equivalent
optional_param() and required_param() for greater security.
2005-06-10 19:54:41 +00:00
stronk7
a9022f9e9b Generate properly RSS column. It was breaking styled (colored) rows.
Merged from MOODLE_15_STABLE
2005-06-10 09:04:59 +00:00
stronk7
b2abce7ccf Added support for forum->trackingtype
Merged from MOODLE_15_STABLE
2005-06-03 17:37:11 +00:00
moodler
a8d7ea4df3 Merged search results fix from stable 2005-05-29 04:05:53 +00:00
moodler
6ea5ebd43e Fixed some notices. 2005-05-19 15:34:08 +00:00
moodler
a4f7aac1d0 JUst realigned code while debugging 2005-05-14 03:59:11 +00:00
moodler
e62b179042 Some little style fixes bug 3222 2005-05-14 03:22:09 +00:00
moodler
acb50c1bf8 Don't save Guest forum mode to database (just session) 2005-05-13 02:06:16 +00:00
moodler
ddff098403 Fixed typo 2005-05-10 03:36:57 +00:00
moodler
fd8585a08d Modification to forum post headers to make filtering a bit easier,
and also to support more of RFC2919 and RFC2369
2005-05-10 03:34:43 +00:00
defacer
fee287f3e7 Random change while searching for something:
Removing border attribute from <img>, these are handled through CSS
(a img {border: none;})
2005-05-07 17:46:20 +00:00
moodler
b1dc6929bc 10 per page by default 2005-05-06 12:50:49 +00:00
urs_hunkler
e1ddfa6bc6 On the admin user page you select "forum posts" which becomes the active selection in the second row. This should be visualized in the tabs. Therefore I added the parameter "$activetwo" to the tabs functions to be able to set the class "activetwo" for the active tab in the second row.
added the parameter "$activetwo"
2005-05-05 09:35:21 +00:00
moodler
453b53140e Fixed some excess SQL load and duplicate returns 2005-05-04 13:39:15 +00:00
moodler
167f3fae36 Removing commented line from previous commit. (SE) 2005-05-04 08:57:22 +00:00
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