mjollnir_
098d27d46e
New forum type: question and answer: requires students to post their answer before being able to view other posts. After initial post, students can view & respond normally
2006-01-16 04:57:48 +00:00
patrickslee
6af7cc2206
Moved Embargoed Announcements related search into SQL. So that paging/counting for the search results will be accurate.
2005-11-18 04:35:14 +00:00
patrickslee
abbb3308a2
Made forum search page aware of Embargoed Announcements
2005-11-13 22:52:23 +00:00
moodler
3ad24ceaeb
Fixed typo so dateto uri parameter works.
2005-10-31 07:33:04 +00:00
moodler
7f9dd6b43c
Merged fix from stable
2005-07-20 06:42:57 +00:00
moodler
a8d7ea4df3
Merged search results fix from stable
2005-05-29 04:05:53 +00:00
moodler
b1dc6929bc
10 per page by default
2005-05-06 12:50:49 +00:00
moodler
77efef3e50
Dealing with forumid and forum_print_post in a more coherent way ... bug 3047
2005-04-27 05:55:30 +00:00
moodler
10b9a26a20
Add link for advanced searching
2005-04-24 15:13:58 +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
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
a4affadef1
Show last search in the mini search bar
2005-03-03 12:25:10 +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
7369657c9b
Use s function to print search string properly
2005-03-01 08:12:25 +00:00
moodler
ab00aa12a9
Disable dates if not being used.
...
Fixed bug that wasn't highlighting search words
2005-03-01 06:54:30 +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
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
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
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
9044a3874e
Cleaned up some bodgy search code and formatted according to guidelines ..
2005-02-12 04:41:17 +00:00
fiedorow
cdea3a531c
Highlight search terms found only in HTML markup
2005-02-08 18:06:06 +00:00
moodler
fe98d35d43
FIxes from tony for highlighting
2005-02-01 02:58:51 +00:00
moodler
b2432b7fbb
Fixed xml again (bug 2413)
2005-01-31 07:17:54 +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
6a855f5b89
Searching was still calling $usexml Bug #2413
2005-01-23 05:55:02 +00:00
urs_hunkler
680afe2e26
_ added the DIV framework for new CSS
2005-01-19 13:16:29 +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
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
gustav_delius
f950af3c43
All modules are now suitable for the site page. They now all follow the same rules, namely that any students enrolled in at least one course is considered to be a student on the site.
...
All the page headers work correctly also on the site course.
On the site page the modules don't require login unless necessary or required by $CFG->forcelogin.
2004-08-22 14:38:47 +00:00
gustav_delius
77915f7aa7
Site option forcelogin is now respected by /mod/forum/search.php, fixing bug 1566
2004-06-14 20:02:50 +00:00
moodler
2abc70b558
Whoops typo
2003-11-05 13:48:25 +00:00
moodler
c7563a9c70
Improved fix to $search variable
2003-11-05 13:47:19 +00:00
moodler
cd6f0c1e28
Fixing up some handling when searching for strings with quotes in them
2003-11-05 13:43:31 +00:00
moodler
e764aa71ef
Add navmenu to header of forum search pages
2003-10-31 08:31:39 +00:00
moodler
1c10b4c5c1
Search results link use the anchor tag rather than parent for better context
2003-08-31 06:39:06 +00:00
moodler
1930e95964
Even nicer interface with help
2003-08-19 04:45:29 +00:00
moodler
1ede7c03ce
tweak
2003-08-19 04:40:35 +00:00
moodler
b1267a180d
Slightly neater help
2003-08-19 04:39:59 +00:00
moodler
8b9c7aa069
Searching forums now has proper paging.
2003-08-19 03:35:53 +00:00
moodler
ceca2ad2b0
Looks better when nothing is found
2003-08-09 07:59:39 +00:00
moodler
3f26745351
Better button behaviour
2003-08-09 06:02:01 +00:00
moodler
b800ac5a10
Much improved forum searching, with independent words and paging
2003-08-09 05:35:02 +00:00
moodler
88438a5893
New highlighting function that is able to cope with HTML.
...
It's a bit slower, but links in forums no longer cause problems.
See bug #589
2003-08-09 03:57:46 +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
ebc3bd2b24
Changes throughout Moodle to remove any reserved words from the
...
Moodle tables.
ie user -> userid in many tables, plus in user_students
start -> starttime and end -> endtime
I've just done all this as carefully as I could ... I don't think
I missed anything but it's pretty intensive work and I'd be fooling myself
if I didn't think I'd missed a couple.
Note that this version should pretty much be able to bootstrap itself
using PostgreSQL now ... but this is untested
2002-12-23 09:39:26 +00:00