Gossamer Forum
Home : Gossamer Threads Inc. : Announcements :

Gossamer Forum 1.2.2 released

Quote Reply
Gossamer Forum 1.2.2 released
We're pleased to announce the release of Gossamer Forum 1.2.2. This is primarily a bug fix release, with a few minor features as indicated below.

Bug fixes:
  • Email bans are now case-insensitive
  • Some issues with internal libraries were found and fixed. These issues are not severe, but have a tendency to show up under mod_perl environments and may have been causing some previously unexplained bugs under mod_perl installations.
  • A memory leak was found in the inline image code under mod_perl environments. mod_perl users are strongly urged to upgrade.
  • The WorldPay remote payment methods were sometimes failing during to a change to WorldPay's servers; this issue has been fixed.
  • A few advanced editor fixes have been added
  • Several missing attachment icons were added
  • A few other small miscellaneous bugs have been fixed

New features:
  • Enhanced member directory searching, allowing you to customize the search form on the member directory page. Additionally, the form for user searching was moved into a separate include template (include_user_search_form.html) to allow for easier customization. Specifically, the search changes allow:
    • user_column-opt input fields, which can contain LIKE, STARTS, ENDS, >=, <=, <, >, =, <> to change the way user_column is searched.
    • search_boolen=OR to perform a search for any matching fields, vs. the default matching all fields
    • search_whole=1 to specify that matches should match whole values rather than partial values (i.e. "abc" should not match "zabc")
    • search_column=user_column1,user_column2&search_field=searchme to search multiple columns for the single value 'searchme'
    • search_column=user_column1&search_column=user_column2&search_field=matchcol1&search_field=matchcol2 to search user_column1 for "matchcol1" and user_column2 for "matchcol2"
    • search_column=user_column-gt&search_field=3 to perform a greater-than search. 'gt' can be changed to lt, ge, le, and ne to perform less than, greater than or equal to, less than or equal to, and not equal searches, respectively.
    • search_field values may start with '!', '<', '<=', '>', or '>=' to perform not equal, less than, less than or equal, greater than, and greater than or equal searches, respectively.
  • A few different examples of the new directory searching have been added to the new include_user_search_form.html templates. To use any of the examples, just remove the <%-- and --%> comment tags around it. Additionally, the default search form has had a 'Number of Posts' option added to it. Additionally, a description of the new search parameters has been added to the updated GForum Administrator Manual.
  • (Updated): As described in the reply below, ordering of search results is now possible.

1.2.2 is available now from the Gossamer Forum download page.

Jason Rhinelander
Gossamer Threads

Last edited by:

Jagerman: Mar 8, 2004, 12:52 PM
Quote Reply
Re: [Jagerman] Gossamer Forum 1.2.2 released In reply to
Just now I've tracked down some problems in the search feature, and discovered that we can, in fact, easily add an option to sort by date or score to Gossamer Forum. To add such a change to your own forum, I've attached the two changed files to this post, and also updated the gforum-1.2.2.tar.gz install file available for download.

Search.pm replaces admin/GForum/Search.pm, and include_search_form.html replaces admin/templates/default/include_search_form.html. Alternatively, if you already have a customized include_search_form.html template, the change involves adding the following after the "Only show posts made by" row:

<td align="right">
Sort posts by:
<select name="sb" size="1" class="button">
<option value="score"<%if not sb or sb eq 'score'%> selected<%endif%>>Relevance</option>
<option value="post_time"<%if sb eq 'post_time'%> selected<%endif%>>Post date</option>

If you haven't yet updated to 1.2.2, the updated files below will also work with 1.2.0 or 1.2.1 installations.

[Update, Monday, March 8]: I've replaced the Search.pm file in this post as it led to an error of "unknown column 'score'".

Jason Rhinelander
Gossamer Threads

Last edited by:

Jagerman: Mar 8, 2004, 11:50 AM
Quote Reply
Gossamer Forum 1.2.2-de released In reply to
We're pleased to announce that the german version of Gossamer Forum 1.2.2 is now available from the download section. As there was no 1.2.1-de release, the notes regarding mandatory template changes for 1.2.1 apply to this release.

Jason Rhinelander
Gossamer Threads