249 Commits

Author SHA1 Message Date
martin
64eacd6f76 A teacher can now delete any post (as long as it doesn't have replies). 2002-08-05 09:48:17 +00:00
martin
77db7e4c49 Fixes in display of standard user_complete and user_outline functions
for journal, forum and assignments
2002-08-04 17:13:49 +00:00
martin
f9641a9d24 Updated version numbers 2002-08-04 16:42:27 +00:00
martin
7c8a2faae7 Get a string from moodle.php instead of forum.php 2002-08-04 13:14:20 +00:00
martin
4d871a721b Added FORUM_SHORT_POST 2002-08-04 13:13:59 +00:00
martin
94361e021e Lots of work on site display, over many files. Improved front page
and display of site modules.
2002-08-03 08:16:31 +00:00
martin
04eba58f57 Moved all mod.php functions from modules into lib.php, and
updated course/mod.php to use them there.  No longer need module/mod.php
2002-08-03 02:29:21 +00:00
martin
8c3c848114 Just a couple of changes 2002-08-02 19:01:14 +00:00
martin
7ea53a1fb1 Removed fullname and search fields from modules table. Fullname is now
derived from the string 'modulename' in the lang files for each module.
2002-08-02 17:42:59 +00:00
martin
9b9f9ab449 bugfixes and clean up 2002-08-02 17:35:40 +00:00
martin
ffe1164090 SOme major bugfixes to forum_cron() and lots of translating 2002-08-02 17:34:26 +00:00
martin
7a12aab48b Fixed up some forum functions and constants (consistency) 2002-08-02 09:50:53 +00:00
martin
f781b79425 Changes related to language strings and clean up 2002-08-02 09:19:45 +00:00
martin
238a826393 This file is not linked to or used by anything yet, but I've found it
useful to delete forums properly while testing stuff.
2002-08-02 09:19:22 +00:00
martin
ef58b82265 Misc changes to improve performance on a brand-new installation 2002-08-01 15:48:27 +00:00
martin
3b9af3dd6f Centered new topic link 2002-08-01 09:38:45 +00:00
martin
bc9ab4dd62 Changed the ratings to new separate/connected system - just for testing 2002-08-01 09:36:18 +00:00
martin
8f9c8aaf31 Yet more improvements to user discussion listing (added forum link to each discussion printed) 2002-08-01 04:05:56 +00:00
martin
b76128b0f5 More improvements to user discussion display 2002-08-01 04:00:56 +00:00
martin
4ca090910e Whoops! Hide teacher discussions when printing list of user discussions 2002-08-01 03:56:55 +00:00
martin
11b0c46971 A big clean up of all the forum functions (including renaming them all
to start with forum_ ) and all the follow-on effects that caused
Some miscellaneous bug fixes and code clean-ups along the way
2002-08-01 03:50:27 +00:00
martin
d7d1f618e8 Fixes to logging and log display 2002-07-31 16:53:32 +00:00
martin
498178e41e Fixed up activity display for forums 2002-07-31 16:52:27 +00:00
martin
0230010489 Fixed up some forum logging 2002-07-31 16:33:50 +00:00
martin
0872b023d5 Fixed up forum sorting 2002-07-31 16:13:55 +00:00
martin
37c6527855 Tweak to add ... after shortpost 2002-07-31 15:55:11 +00:00
martin
6bebaa642f whoops typo, forgot global 2002-07-31 15:43:02 +00:00
martin
aa153f29e2 Fixes for long posts ... 2002-07-31 15:34:15 +00:00
martin
310da1666a Fixed subscribe info for students 2002-07-31 15:09:39 +00:00
martin
501cdbd8bb OK, some massive changes with many files removed or changed.
Basically the changes are:

 - I've merged the 'discuss' module into the forum module
   which makes the interface MUCH clearer for everyone
 - I've added a new 'single' forum type that replicates
   what the old discuss course modules used to look like.
 - I've got rid of the "discussion" forum type - it will
   still exist in upgraded courses but as a normal forum.
 - the 'discuss' module is completely deleted - gone.
 - the 'chat' module is completely deleted - gone.
 - The upgrading system has been improved, and all code
   is stored in version.php.
 - I've put in upgrading commands to do the best I can
   (right now) to upgrade courses that used the discuss
   module.  It should mostly work, just leaving some
   "orphan" coursemodules on you course front page.  You
   can easily delete these using the little 'x'.
   I may have forgotten something  - I've only tested on
   my testing server and I'm about to test on my production
   server to see how it goes.
 - Forums have a lot of little new features and fixes.  The
   main one is the subscription process.  Teachers can 'force'
   subscriptions on any forum.  This disallows everyone from
   choosing their own mail subscription - it's just on.
 - The assignment module is half-finished and not working yet

I've still some massive changes to do, mostly involving making
all the lib.php function names more standardised, so consider
this is an interim checkin to do some tests.
2002-07-31 14:19:35 +00:00
martin
ab001fe77d Fixed link for "older topics" 2002-07-29 13:45:09 +00:00
martin
77305fe6eb Minor forum formatting tweaks 2002-07-29 09:17:14 +00:00
martin
944d5a3c98 Cleaned up subscription checking - it's a bit slower but will work with the
upcoming changes to forums (subscribeall flag).  Code is shorter too.
2002-07-29 08:24:13 +00:00
martin
d9bf513d9c edit icon always appears now, as long as a coursemodule exists 2002-07-29 08:11:12 +00:00
martin
12b820c227 Changes to suit new upgrading procedure (admin/index.html) 2002-07-27 06:07:49 +00:00
martin
0d22e7cc7e Got rid of the user.php code fragments and implemented much cleaner
system which certain-named functions in lib.php ... called from /course/user.php
2002-07-25 13:48:14 +00:00
martin
37b155148d Slight formatting tweaks (forum index) 2002-07-20 18:20:19 +00:00
martin
71fb963094 Changed listing of forums 2002-07-20 17:56:21 +00:00
martin
bffb106d50 Added ability for teacher to see subscribers for each forum 2002-07-14 13:32:51 +00:00
martin
bec7ff3ee3 Added search box here 2002-07-10 15:26:08 +00:00
martin
82aa0e8de6 Added new teacher forum. TABLE CHANGED: forum 2002-07-04 08:30:36 +00:00
martin
da8b7aa7a5 Fix to update_module_icon (to pass the courseid) 2002-07-04 07:48:44 +00:00
martin
7a302afc5f Slight changes to userdate() function. It now uses gmstrftime() instead of
gmdate to format times, thus allowing it to take advantage of locale, if set,
to print dates in the appropriate language.  Several userdate invocations
had to be changed, though, to use the different formatting specs.
2002-07-02 07:02:28 +00:00
martin
b5fe4c935d Major changes throughout to change "week" notation to "section" notation.
Sections covers "weeks", "topics" and anything else that may come along.
Note, again, some databases have changed esp course_weeks -> course_sections
and several fields called "week" are now "section.  Also course no longer
has an enddate, but instead has a numsections field.
2002-06-25 11:49:06 +00:00
martin
e07635f4d0 Changes related to new forum type: eachuser and some general forum-related tweaking 2002-06-25 06:47:34 +00:00
martin
8b03b86b6a Updated icon to make it less like discussions and more flexible 2002-06-25 03:23:40 +00:00
martin
dd831125fa Typo in add_to_log ... index->view 2002-06-24 15:27:12 +00:00
martin
3901360532 Bugfixes from move - this is now up to date 2002-06-20 15:41:02 +00:00
martin
f93f848ab3 Mass change related to separating forum from discuss and making it a
separate module (again).  This frees up forums for some interesting
developments.  Note that database tables have moved around.
2002-06-20 15:15:22 +00:00