24 Commits

Author SHA1 Message Date
moodler
cccb016ae4 When displaying index lists of a particular module's activities,
ensure that the order they are displayed in is always the same as the
order they have been defined in.   See bug 553.

This involved API changes to the function get_all_instances_in_course()
2003-07-12 05:19:18 +00:00
moodler
4b2b7a7110 Full formatting looks bad (too much whitespace) but smilies are OK 2003-05-23 05:05:49 +00:00
moodler
f5ca7ebe1a Display forum intros as formatted text 2003-05-23 04:51:28 +00:00
moodler
580f2fbc07 New function to detect visibility of a single module, and
use of this function when displaying list of forums
2003-04-25 05:24:29 +00:00
stronk7
f99d236832 Little update to select the forum info (avoid duplicates). 2003-04-24 17:35:34 +00:00
stronk7
3b0fb381ea Changed to show the hidden forums dimmed (bug #364) 2003-04-24 17:15:59 +00:00
moodler
3e7542449b Removed save_session() - no longer necessary 2003-02-27 02:49:18 +00:00
moodler
b0e3a92523 Clean sweep through all the important changing all include(), include_once()
and require() to require_once()
2003-01-05 14:19:20 +00:00
moodler
97485d0726 More database tweaks and improved access to forum search engine 2002-12-23 15:33:40 +00:00
moodler
dfc9ba9bbe Added navmenu in more places 2002-11-10 08:43:44 +00:00
moodler
86c5e69a36 Remove "news" and "social" forums from learning forums. 2002-10-25 14:46:42 +00:00
martin
8223d27193 Widespread changes throughout Moodle to make sure it works on
servers that have register_globals turned off (this is the
default setting on newer version of PHP).

In fact it's partly a hack that globalises all GET, POST, FILES
AND COOKIE variables.  Unfortunately though the SESSION and
USER global session variables are only available as $_SESSION["USER"]
and $_SESSION["SESSION"], which is cumbersome to use.

So, for every request I now make a copy of these two session variables
into $USER and $SESSION.  Whenever I update them thoughout Moodle I
now have to call save_session("USER") which copies them back to the
session variable.  This seems to be working well now.

Because I'm using $_SESSION etc now this will raise
the required minimum version of PHP to 4.1.0
2002-08-06 17:23:45 +00:00
martin
7c8a2faae7 Get a string from moodle.php instead of forum.php 2002-08-04 13:14:20 +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
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
0872b023d5 Fixed up forum sorting 2002-07-31 16:13:55 +00:00
martin
aa153f29e2 Fixes for long posts ... 2002-07-31 15:34:15 +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
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
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
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