Index: openacs-4/packages/forums/forums.info =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/forums/forums.info,v diff -u -N -r1.18 -r1.19 --- openacs-4/packages/forums/forums.info 30 Sep 2003 05:19:19 -0000 1.18 +++ openacs-4/packages/forums/forums.info 3 Oct 2003 11:37:06 -0000 1.19 @@ -6,25 +6,24 @@ Forums f f - - - - oracle - postgresql - + + Ben Adida Online discussion boards with many configuration options. + 2003-10-03 This online discussion board software is the successor of the original bboard package. The biggest improvement is the new scalable datamodel. This package supports threaded and flat view, moderation, a stand alone search function as well as integration with the OpenACS search package and integration with the notifications package for email alerts. It also supports automatic posting of incoming email. - + + + + + - - Index: openacs-4/packages/forums/sql/oracle/forums-search-create.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/forums/sql/oracle/forums-search-create.sql,v diff -u -N -r1.5 -r1.6 --- openacs-4/packages/forums/sql/oracle/forums-search-create.sql 9 Aug 2002 20:51:49 -0000 1.5 +++ openacs-4/packages/forums/sql/oracle/forums-search-create.sql 3 Oct 2003 11:37:06 -0000 1.6 @@ -17,7 +17,7 @@ -- -- Support for searching of forum messages -- --- @author yon@openforce.net +-- @author yon@openforce.net -- @creation-date 2002-07-01 -- @version $Id$ -- Index: openacs-4/packages/forums/www/search-oracle.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/forums/www/Attic/search-oracle.xql,v diff -u -N -r1.3 -r1.4 --- openacs-4/packages/forums/www/search-oracle.xql 4 Dec 2002 09:46:40 -0000 1.3 +++ openacs-4/packages/forums/www/search-oracle.xql 3 Oct 2003 11:37:07 -0000 1.4 @@ -8,6 +8,41 @@ select forums_messages.*, person.name(forums_messages.user_id) as user_name, to_char(forums_messages.posting_date, 'YYYY-MM-DD HH24:MI:SS') as posting_date_ansi, + 100 as the_score + from forums_messages, + forums_forums + where forums_messages.forum_id = forums_forums.forum_id + and forums_forums.package_id = :package_id + and forums_messages.state = 'approved' + and upper(forums_messages.subject || ' ' || dbms_lob.substr(forums_messages.content) || ' ' || person.name(forums_messages.user_id)) + like '%' || upper(:search_text) || '%' + order by forums_messages.posting_date desc + + + + + + select forums_messages.*, + person.name(forums_messages.user_id) as user_name, + to_char(forums_messages.posting_date, 'YYYY-MM-DD HH24:MI:SS') as posting_date_ansi, + 100 as the_score + from forums_messages, + forums_forums + where forums_forums.forum_id = :forum_id + and forums_forums.package_id = :package_id + and forums_messages.forum_id = forums_forums.forum_id + and forums_messages.state = 'approved' + and upper(forums_messages.subject || ' ' || dbms_lob.substr(forums_messages.content) || ' ' || person.name(forums_messages.user_id)) + like '%' || upper(:search_text) || '%' + order by forums_messages.posting_date desc + + + + + + select forums_messages.*, + person.name(forums_messages.user_id) as user_name, + to_char(forums_messages.posting_date, 'YYYY-MM-DD HH24:MI:SS') as posting_date_ansi, score(1) as the_score from forums_messages, forums_forums @@ -20,7 +55,7 @@ - + select forums_messages.*, person.name(forums_messages.user_id) as user_name, Index: openacs-4/packages/forums/www/search-postgresql.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/forums/www/Attic/search-postgresql.xql,v diff -u -N -r1.5 -r1.6 --- openacs-4/packages/forums/www/search-postgresql.xql 3 Oct 2003 10:33:26 -0000 1.5 +++ openacs-4/packages/forums/www/search-postgresql.xql 3 Oct 2003 11:37:07 -0000 1.6 @@ -9,15 +9,14 @@ person__name(forums_messages.user_id) as user_name, to_char(forums_messages.posting_date, 'YYYY-MM-DD HH24:MI:SS') as posting_date_ansi, 100 as the_score - from forums_messages, - forums_forums - where forums_messages.forum_id = forums_forums.forum_id - and forums_forums.package_id = :package_id - and forums_messages.state = 'approved' - and upper(forums_messages.subject || ' ' || forums_messages.content || ' ' || person__name(forums_messages.user_id)) - like '%' || upper(:search_text) || '%' - order by the_score desc, - forums_messages.posting_date desc + from forums_messages, + forums_forums + where forums_messages.forum_id = forums_forums.forum_id + and forums_forums.package_id = :package_id + and forums_messages.state = 'approved' + and upper(forums_messages.subject || ' ' || forums_messages.content || ' ' || person__name(forums_messages.user_id)) + like '%' || upper(:search_text) || '%' + order by forums_messages.posting_date desc @@ -27,16 +26,15 @@ person__name(forums_messages.user_id) as user_name, to_char(forums_messages.posting_date, 'YYYY-MM-DD HH24:MI:SS') as posting_date_ansi, 100 as the_score - from forums_messages, - forums_forums - where forums_forums.forum_id = :forum_id - and forums_forums.package_id = :package_id - and forums_messages.forum_id = forums_forums.forum_id - and forums_messages.state = 'approved' - and upper(forums_messages.subject || ' ' || forums_messages.content || ' ' || person__name(forums_messages.user_id)) - like '%' || upper(:search_text) || '%' - order by the_score desc, - forums_messages.posting_date desc + from forums_messages, + forums_forums + where forums_forums.forum_id = :forum_id + and forums_forums.package_id = :package_id + and forums_messages.forum_id = forums_forums.forum_id + and forums_messages.state = 'approved' + and upper(forums_messages.subject || ' ' || forums_messages.content || ' ' || person__name(forums_messages.user_id)) + like '%' || upper(:search_text) || '%' + order by forums_messages.posting_date desc Index: openacs-4/packages/forums/www/search.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/forums/www/search.adp,v diff -u -N -r1.5 -r1.6 --- openacs-4/packages/forums/www/search.adp 22 May 2003 14:56:35 -0000 1.5 +++ openacs-4/packages/forums/www/search.adp 3 Oct 2003 11:37:07 -0000 1.6 @@ -1,6 +1,6 @@ -#forums.Search_Forums# -@context;noquote@ + @page_title;noquote@ + @context;noquote@
Index: openacs-4/packages/forums/www/search.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/forums/www/search.tcl,v diff -u -N -r1.11 -r1.12 --- openacs-4/packages/forums/www/search.tcl 20 Jun 2003 15:24:24 -0000 1.11 +++ openacs-4/packages/forums/www/search.tcl 3 Oct 2003 11:37:07 -0000 1.12 @@ -45,9 +45,9 @@ set messages:rowcount 0 } -set context [list [_ forums.Search_1]] +set page_title [_ forums.Search_Forums] +set context [list $page_title] -ad_return_template