mchurch
9e2b1877e0
Added enable/disable forum tracking in a user profile.
2005-04-24 19:46:13 +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
81c679ce87
Two weeks is enough (wish I'd set this small on moodle.org upgrade!)
2005-04-22 13:37:23 +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
a702e65741
At site level, admin can see user posts from ALL courses
2005-04-11 08:43:28 +00:00
stronk7
95c67e2fe1
Now xxx_print_recent_mod_activity() supports filterall.
...
(assignment, forum, quiz and workshop)
2005-04-02 23:19:01 +00:00
moodler
5c8d186608
Removed some cellspacing to help IE
2005-04-02 14:06:53 +00:00
stronk7
ac21ad392d
Now course/recent.php works under PHP5.
...
See bug 2828
(http://moodle.org/bugs/bug.php?op=show&bugid=2828 )
Merged from MOODLE_14_STABLE
2005-04-02 11:32:22 +00:00
stronk7
c78ac79818
Now discussion->name works under filterall.
2005-03-26 17:11:30 +00:00
stronk7
17dc3f3cc6
Now post->subject works under filterall too.
2005-03-26 11:43:16 +00:00
stronk7
3849dae80f
Now the FIRST string working under CFG->filterall is done:
...
forum->name
(everything tested but email)
(I'm going to maintain a list of strings in Developers Wiki)
2005-03-26 01:57:40 +00:00
moodler
7105cf8d21
More generic indent tag
2005-03-24 02:37:11 +00:00
martinlanghoff
0362d553eb
Merged from MOODLE_14_STABLE - More efficient SQL UPDATE in forum_mark_old_posts_as_mailed() -- improves performance under PostgreSQL.
2005-03-20 23:13:18 +00:00
moodler
4f321bdb3d
SOme necessary fixes to searching to allow arbitrary SQL to be added to the
...
search, and also removed some old stuff
2005-03-20 12:05:58 +00:00
moodler
7ff9860db0
This change will break themes for sideblock, but now all the main TH cells that use
...
the standard kind of look (eg gradient) have a consistent class "th.header"
2005-03-13 13:50:23 +00:00
stronk7
c206050394
Old bug introduced in lib.php 1.280. It was causing a lot of mails being sent
...
instead of the 2 days limit. Bug 2716
(http://moodle.org/bugs/bug.php?op=show&bugid=2716 )
2005-03-10 20:26:25 +00:00
moodler
8f7dc7f1c7
Variety of small fixes, but mostly related to how the recent activity
...
block is constructed. A new function exists to pump these notes out
in a standard way : print_recent_activity_note.
Module dependencies also updated because of this.
2005-03-10 13:30:57 +00:00
defacer
6f1cc8d63c
Simplified by removing two optional parameters from forum_print_search_form,
...
because everyone was using the same values for them!
Also renamed the function to simply forum_search_form, because in the end
noone was using it to PRINT html, it was just put into a variable.
2005-03-09 20:50:37 +00:00
moodler
0efb3c3d1d
Prevent guests from making ratings in forums
2005-03-08 17:59:57 +00:00
moodler
af328e4b14
Speed and beauty improvements when displaying discussion listings
2005-03-08 17:32:08 +00:00
moodler
90ec387a54
Major gain in efficiency for the latest news block and better styles
...
Still working on more improvements here
2005-03-08 12:58:51 +00:00
moodler
f1e0649c1c
Removed files/mimetype.php and put it into lib/filelib.php instead
...
where it always should have been.
2005-03-07 11:32:03 +00:00
moodler
baa2f74e1c
Default old posts from 60 > 30 ...
2005-03-04 05:59:22 +00:00
mchurch
226f79e03a
Corrected a typo that was throwing errors.
2005-03-04 05:36:26 +00:00
mjollnir_
cf4a271d64
Reworking join to make it compatible with postgres
2005-03-03 23:19:19 +00:00
moodler
77ffdf4b4c
Finishing off search capability with the ability to search by instance,
...
and in this case, by forum.
2005-03-03 12:22:13 +00:00
moodler
3320057725
Cellspacing 0 for forum posts to help poor little IE
2005-03-01 17:16:57 +00:00
mchurch
1051a2a4a0
Improved speed of database calls for read tracking.
2005-02-28 21:31:13 +00:00
moodler
4e471fc62a
Forum searching now allows searching by date, and no longer has confusing help.
2005-02-28 12:40:29 +00:00
defacer
f99fcffeb9
Fix for bug 2648: call-time pass by reference has been deprecated, the constructor
...
of search_lexer now accepts the parser argument by reference all... one time it's called :)
2005-02-28 00:30:39 +00:00
defacer
0b5257c351
Bugfix for bug 2653 (visual glitch).
...
Better and less HTML for the "block" version of forum_print_search_form().
2005-02-27 20:32:56 +00:00
moodler
b23c06ada1
Show link even when no discussions
2005-02-27 10:12:45 +00:00
moodler
173dbed416
Added a link from the user page to a search for all posts.
...
It works but it's not very pretty ... feedback welcome!
2005-02-27 10:08:13 +00:00
moodler
e6ae4dc8dd
Much better "full" search page. Still needs some polishing.
...
Also, you can now search for all posts by one user. Which brings me to my
next check-in....
2005-02-27 09:57:31 +00:00
moodler
f0b8884d08
Added search help to the small search forms (big search form coming next)
2005-02-26 08:52:03 +00:00
moodler
d5bbc5568b
A few minor changes for XHTML compatibility and general tidy up. (SE)
2005-02-25 13:20:48 +00:00
gustav_delius
1c887009ab
fixed single quote bug that led to $post->subject being displayed.
2005-02-24 22:24:03 +00:00
moodler
5b257acd23
Merged fix for 2613
2005-02-21 15:39:44 +00:00
moodler
a48e8c4b7e
Efficiency for forum_count_discussion_replies() from stable
2005-02-18 08:00:00 +00:00
gustav_delius
56c0715e77
The teacher forum has no coursemodule and this led to errors in particular in forum_print_latest_discussions().
2005-02-18 06:41:12 +00:00
gustav_delius
ec81373f50
In order to ensure that when a teacher hides a resource or an activity that students really can't get at it, even if they know the direct links to its pages, I have given an optional third argument $cm to the functions require_login() and require_course_login(). Pages showing information about a particular course module now pass the course module object in this third argument. The login functions will then test if either the course module is visible or the user is a teacher. If neither is the case then the user is redirected to the course homepage after being shown a message "Sorry, this activity is currently hidden".
...
(While I was at it I also turned the autologinguests off for most module pages, except on the index.php pages and the view.php pages for those modules that allow guests)
2005-02-16 10:40:48 +00:00