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
moodler
c8680d86e9
Remove html around paging bar
2005-02-16 07:41:29 +00:00
moodler
c2b552feeb
Some fixes to styles etc
2005-02-16 07:35:57 +00:00
moodler
f51e8d7ed6
FIxed up styles and lots of quotes
2005-02-16 06:17:31 +00:00
moodler
d3583b418b
Checking in what I've got so far here ... lots to do.
2005-02-15 17:27:52 +00:00
gustav_delius
c7a5b3b1f7
Forum search now no longer shows posts from other groups from forums that are in separate groups mode, see bug 2308
2005-02-13 20:49:28 +00:00
moodler
0d2c0cfdf8
Added a little class to the "edited by" line
2005-02-13 17:26:13 +00:00
moodler
0936de64a5
Add an "edited by" message to posts when they have been edited by a
...
different person from the original poster. See bug 2392
2005-02-13 17:20:17 +00:00
gustav_delius
e3ff14ca3c
Fixed bug 2392
2005-02-13 16:41:12 +00:00
stronk7
95e72c12d0
Now retrieving only needed fields!
2005-02-13 00:42:29 +00:00
moodler
425b4f1abe
Err, fixed a typo
2005-02-12 15:56:03 +00:00
moodler
4e00a4d923
A new discussion is now marked read by the current user right away
2005-02-12 15:01:39 +00:00
moodler
3a68fbbb04
Show group icon or group name on the discussion listing
2005-02-12 14:53:48 +00:00
defacer
83a305a7e7
Renaming some $course to $courseid to make it clear to anyone reading the code...
2005-02-08 01:34:14 +00:00
moodler
27888a2038
Disable $CFG->forum_trackreadposts completely when the user is a guest
...
or not logged in.
2005-02-07 11:58:49 +00:00
defacer
379a42cb26
Bugfix: don't send HTML digests to users who want simple text mail.
2005-02-04 21:13:28 +00:00
stronk7
ac1d9a2212
One notice is out showing recent recent activity of deleted posts.
2005-02-01 23:57:58 +00:00
moodler
78c0d9094b
Added all styles to forum posts
2005-02-01 11:30:41 +00:00
mchurch
90fd2b51aa
Fixed insert_record call in forum_tp_add_read_record. Added read post
...
marking for posts over a day old to the upgrade procedure.
2005-01-31 19:24:14 +00:00
mchurch
489de4ae13
Fixed a special case issue with the news forum on the front page and
...
non-logged in users.
2005-01-31 15:04:10 +00:00
moodler
855c0839fc
Forum searching is now implemented using a lex-based method, which allows
...
extra capabilities such as:
- "phrase searching"
- user matching: user:tony
- subject matching: subject:thing
This code is all from Tony Hursh. THANKS TONY!!
2005-01-31 07:41:47 +00:00
moodler
f37da85054
MAJOR NEW FEATURE: Tracking of read/unread posts
...
Many thanks to Mike Churchward for his work on this and persevering
with sending updated versions to me. :-)
Shane and I have polished it up, rewritten a few parts (display-related)
and here it is, finally in CVS!
I think there will still need to be some optimisation for the SQL,
since it's still pretty intensive. Perhaps some sort of caching in
the session that gets modified along with the database whenever
something gets read.
However if there are problems the whole thing can be switched off
in the forum module config so this is not crucially urgent.
2005-01-29 09:49:42 +00:00
moodler
039c0ec444
Removed some inline styles
2005-01-25 14:32:43 +00:00
moodler
d30867b0bf
Removed some THEME stuff
2005-01-25 14:28:47 +00:00
moodler
bb3b56c633
Using divs to do the indenting, rather than <UL>
...
This probably needs to be named class
2005-01-22 08:45:47 +00:00
moodler
49aa374281
Changed new discussion link to a form button
2004-12-14 05:59:30 +00:00
moodler
268c64855a
Added name of the last poster to the discussion listing
...
- thanks to Dmitry for his patch! (dlnsk % mail.ru)
2004-11-29 08:18:32 +00:00
mjollnir_
a56f0d607b
Merged from MOODLE_14_STABLE: Forum: Do not trust userid from hidden form field, use $USER->id instead for db inserts
2004-11-23 23:34:34 +00:00
mjollnir_
7b07a935c5
Merged from MOODLE_14_STABLE: Fixing weird forum bug to do with forum ratings (manifested itself in invalid postgres sql)
2004-11-23 02:49:51 +00:00
moodler
906fef94ed
Use the defined defines that we defined (eg FORUM_FORCESUBSCRIBE)
2004-11-18 06:41:51 +00:00
moodler
de78568276
Changes for XHTML compatibility
2004-10-08 13:34:48 +00:00
ikawhero
f13075f14f
Fixed string error
2004-10-08 00:18:36 +00:00