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
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
mchurch
be69cefb90
Removed debug lines inadvertently left in last commit.
2005-02-28 21:37:11 +00:00
mchurch
1051a2a4a0
Improved speed of database calls for read tracking.
2005-02-28 21:31:13 +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
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
9fd7165aaa
Center-align some columns again
2005-01-30 05:14:03 +00:00
moodler
d0388ebe95
Added links to unread notices on course-view and forum-index
2005-01-30 04:47:09 +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
48b29ba423
Moved rsslib.php from the rss directory to the lib directory with the
...
other libraries
2005-01-25 06:09:31 +00:00
urs_hunkler
680afe2e26
_ added the DIV framework for new CSS
2005-01-19 13:16:29 +00:00
stronk7
f4646b44c1
Now RSS links ae showed properly in SITE course when
...
user isn't logged.
Solve a problem with if($USER) under PHP5.
2004-10-05 23:21:38 +00:00
stronk7
b2ddd9d7ae
Now RSS links are displayed ok in SITEID course.
...
Bug 2048.
(http://moodle.org/bugs/bug.php?op=show&bugid=2048 )
Merged from MOODLE_14_STABLE
2004-10-04 22:21:30 +00:00
gustav_delius
8f0cd6ef0f
Resolved problems with previous replacement of
...
& to & and fixed redirect() to entity encode the
inut where needed.
Julian Sedding
2004-09-21 11:41:58 +00:00
moodler
38fcc21592
Merged PHP5 fix from stable
2004-09-17 03:00:20 +00:00
gustav_delius
839f2456bb
XHTML compliance
...
- fixed (hopefully) all <img> tags
- global replace on <br> to <br />
- & in URLs
- got the forum module XHTML compliant
Julian Sedding
2004-09-16 17:13:57 +00:00
gustav_delius
41905731b7
fixed capitalization and quoting of attribute values
2004-09-12 16:24:41 +00:00
stronk7
33f48f030e
Now the RSS link is showed in the list of forums.
...
Now going to the glossary...
Bug 1706
(http://moodle.org/bugs/bug.php?op=show&bugid=1706 )
2004-08-08 18:00:32 +00:00
moodler
2862b309eb
Merging changes from Moodle 13 Stable
2004-07-07 17:42:53 +00:00
moodler
9c8b8eeeb5
Fix for the display of hidden forums to students - bug 1209
2004-04-01 03:45:34 +00:00
moodler
bd83d0a3a8
OK that should fix the access problem, as well as a bug with organising the data
2004-03-13 12:01:28 +00:00
moodler
5b5f2971f1
Some fixes to counting, still need to fix some access issues
2004-03-13 11:26:29 +00:00
moodler
a0a4a3c964
Some fixes. :-}
2004-03-13 10:56:38 +00:00
moodler
ecc8403ea2
OK, so the forums listing is revamped with different logic and it should now
...
correctly show the number of discussions for separate forums.
I'm checking this in so I can do testing on various servers.
2004-03-13 10:41:07 +00:00
moodler
68ddf8bc47
Make sure forcelogin is applied to forums at site level
2004-03-12 01:54:10 +00:00
moodler
1390f203a7
Dont print learning forums table if there aren't any
2004-01-29 05:59:26 +00:00
moodler
36c23cd6a9
Reduce intro text for general forums
2004-01-29 04:58:56 +00:00
moodler
ef6a649b72
MOds to use dividers between sections
2004-01-26 09:48:20 +00:00
moodler
c585ba8b14
Remove the forum links as well (for group forums when user not in group)
2004-01-26 08:57:01 +00:00
moodler
a0b9571f7c
Subscribe links accurately reflect what is possible according
...
to the user's group status.
Section numbers now printed once per section
2004-01-26 08:05:44 +00:00
moodler
6031fe85d5
Don't try to display forums if there aren't any
2003-12-31 06:44:39 +00:00
moodler
fa5a5b5295
Forums in section 0 (top section) now get combined in the
...
"General Forums" listing on the Forums list
2003-09-17 06:20:25 +00:00
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