| View previous topic :: View next topic |
| Author |
Message |
dibblethewrecker n00b


Joined: 07 Jan 2004 Posts: 20
|
Posted: Sat Sep 03, 2005 10:36 am Post subject: Forum Customization Questions |
|
|
I have a few questions about the customizations that have been made to the forum.
1) Glance: how have you reduced the fields/columns shown in the list? I can't seem to find an explanation - just people saying they have done it - [FIXED] you need to edit the template glance_body.tpl
2) How/Why does the gentoo forums plugin for firefox return results with AND enabled and by threads rather than posts? Have you hacked search.php to make this a default? I am quite sure it is not the plugin itself that controls this.
Many thanks _________________ .: dibblethewrecker | Dell C610 - Arch PKGBUILDS | My fluxbox styles :.
| Code: | [dibble]
Server = http://dtw.jiwe.org/share/pkgs/dibble |
|
|
| Back to top |
|
 |
amne Bodhisattva


Joined: 17 Nov 2002 Posts: 6377 Location: Graz / EU
|
Posted: Sat Sep 03, 2005 11:55 am Post subject: Re: Forum Customization Questions |
|
|
| dibblethewrecker wrote: |
2) How/Why does the gentoo forums plugin for firefox return results with AND enabled and by threads rather than posts? Have you hacked search.php to make this a default? I am quite sure it is not the plugin itself that controls this.
|
I don't really know which plugin you are talking about, but we have changed some of the default settings (such as enabling AND) on the search page, maybe that affects the plugin? _________________ Dinosaur week! (Ok, this thread is so last week) |
|
| Back to top |
|
 |
dibblethewrecker n00b


Joined: 07 Jan 2004 Posts: 20
|
Posted: Sat Sep 03, 2005 12:05 pm Post subject: |
|
|
Hello,
I'm refering to the firefox gentoo forum searchplugin listed here - as far as I can tell there are no special commands in the plugin that effect the results display - so I assume the changes must be in search.php - is it possible to have a list of those changes? _________________ .: dibblethewrecker | Dell C610 - Arch PKGBUILDS | My fluxbox styles :.
| Code: | [dibble]
Server = http://dtw.jiwe.org/share/pkgs/dibble |
|
|
| Back to top |
|
 |
Earthwings Administrator


Joined: 14 Apr 2003 Posts: 7747 Location: Karlsruhe, Germany
|
Posted: Sat Sep 03, 2005 12:49 pm Post subject: |
|
|
For 2), have a look at this patch for an older version of phpbb:
| Code: | --- ../phpBB/search.php 2005-03-19 12:17:58.000000000 +0100
+++ search.php 2005-04-23 18:56:45.000000000 +0200
@@ -69,7 +69,8 @@
$search_id = ( isset($HTTP_GET_VARS['search_id']) ) ?
$HTTP_GET_VARS['search_id'] : '';
-$show_results = ( isset($HTTP_POST_VARS['show_results']) ) ?
$HTTP_POST_VARS['show_results'] : 'posts';
+$show_results = ( isset($HTTP_GET_VARS['show_results']) ) ?
$HTTP_GET_VARS['show_results'] : 'topics';
+$show_results = ( isset($HTTP_POST_VARS['show_results']) ) ?
$HTTP_POST_VARS['show_results'] : 'topics';
$show_results = ($show_results == 'topics') ? 'topics' : 'posts';
if ( isset($HTTP_POST_VARS['search_terms']) ) |
Don't use it this way however: | myself wrote: |
Thinking on it, "topics" shouldn't be default as it would affect
search.php?search_author=<user> which is used by the "show all posts from"
button. |
I think you get the idea. _________________ KDE 4.10 - Get It While It's Hot! |
|
| Back to top |
|
 |
dibblethewrecker n00b


Joined: 07 Jan 2004 Posts: 20
|
Posted: Sat Sep 03, 2005 2:00 pm Post subject: |
|
|
Well, we could have two search.phps - one would be the regular one for the site and search2.php could be used by the firefox plugin to always sort by threads - I am still have problems with an AND search by default tho - that is the main problem - 100 results for the word "is" is no good for anyone! _________________ .: dibblethewrecker | Dell C610 - Arch PKGBUILDS | My fluxbox styles :.
| Code: | [dibble]
Server = http://dtw.jiwe.org/share/pkgs/dibble |
|
|
| Back to top |
|
 |
ian! Bodhisattva


Joined: 25 Feb 2003 Posts: 3826 Location: Essen, Germany
|
Posted: Sat Sep 03, 2005 3:09 pm Post subject: |
|
|
I'm currently working on a new search engine. I don't think we will make any changes to the existing one because it will become obsolete soon. (As well as the browser plugin.) _________________ "To have a successful open source project, you need to be at least somewhat successful at getting along with people." -- Daniel Robbins |
|
| Back to top |
|
 |
|