phpBB2Refugees.com Logo
Not affiliated with or endorsed by the phpBB Group

Register •  Login 

Continue the legacy...

Welcome to all phpBB2 Refugees!Wave Smilie

This site is intended to continue support for the legacy 2.x line of the phpBB2 bulletin board package. If you are a fan of phpBB2, please, by all means register, post, and help us out by offering your suggestions. We are primarily a community and support network. Our secondary goal is to provide a phpBB2 MOD Author and Styles area.

Search by Time Frame gives no results


 
Search this topic... | Search General Support... | Search Box
Register or Login to Post    Index » General Support  Previous TopicPrint TopicNext Topic
Author Message
dogs and things
Board Member



Joined: 18 Nov 2008

Posts: 621
Location: Spain


flag
PostPosted: Sun Sep 19, 2010 9:26 am 
Post subject: Search by Time Frame gives no results

Hi,

I just noticed that my board's search doesn´t show any results for the search by Time Frame. If I search for author using the * wildcard leaving the keywords empty and select any time frame no results are given.

However, if I use a keyword and use a partial author name plus the * wildcard results are given.

So it seems that the problem is in the use of only the * wildcard for authors.

My search.php is heavily modded so the first thing I tried was replacing that file by a clean search.php from a fresh phpBB2.

The same thing happened.

This leaves me totally puzzled, I'm in the same state as my Time Frame search, No results are found for my search. icon_eek.gif

What might be causing this behavior, any sugestions?

Greetings.

_________________
phpBB2 will never die, I hope!
Back to top
Salvatos
Board Member



Joined: 19 Feb 2009

Posts: 430
Location: Québec


flag
PostPosted: Sun Sep 19, 2010 4:25 pm 
Post subject: Re: Search by Time Frame gives no results

Found this on line 445:
Code:
        //
        // Author name search
        //
        if ( $search_author != '' )
        {
            $search_author = str_replace('*', '%', trim($search_author));

            if( ( strpos($search_author, '%') !== false ) && ( strlen(str_replace('%', '', $search_author)) < $board_config['search_min_chars'] ) )
            {
                $search_author = '';
            }
        }

I don't see that option in the admin panel, though... and I don't even see it in the _config table. As far as I know, every $board_config comes from that table. If it really doesn't exist, I would expect it to default to 0 but maybe the code considers that everything is shorter than it, resulting in this behaviour.
Back to top
dogs and things
Board Member



Joined: 18 Nov 2008

Posts: 621
Location: Spain


flag
PostPosted: Sun Sep 19, 2010 4:39 pm 
Post subject: Re: Search by Time Frame gives no results

Thanks for having a look! icon_smile.gif

On this site, phpBBrefugees, you can search for author using * and apply a time frame.

It's strange though, this reference to a config table setting that does not exist in that table, nor in the ACP.

_________________
phpBB2 will never die, I hope!
Back to top
dogs and things
Board Member



Joined: 18 Nov 2008

Posts: 621
Location: Spain


flag
PostPosted: Mon Sep 20, 2010 9:21 am 
Post subject: Re: Search by Time Frame gives no results

Code:
        //
        // Author name search
        //
        if ( $search_author != '' )
        {
            $search_author = str_replace('*', '%', trim($search_author));

            if( ( strpos($search_author, '%') !== false ) && ( strlen(str_replace('%', '', $search_author)) < $board_config['search_min_chars'] ) )
            {
                $search_author = '';
            }
        }
Appears two times in search.php.

Replacing
Code:
$board_config['search_min_chars']
with a simple 0 (zero )solved the problem is solved.
_________________
phpBB2 will never die, I hope!
Back to top
Holger
Board Member



Joined: 19 Jan 2009

Posts: 509
Location: Hanover


flag
PostPosted: Mon Sep 20, 2010 9:32 am 
Post subject: Re: Search by Time Frame gives no results

D&T could you please show me how you search in a time frame? What would the entry in the field look like?
Back to top
dogs and things
Board Member



Joined: 18 Nov 2008

Posts: 621
Location: Spain


flag
PostPosted: Mon Sep 20, 2010 10:04 am 
Post subject: Re: Search by Time Frame gives no results

In the search form place an * in the author name field and select a time frame in the dropdown where it says Time Frame Specify a time limit for your search.

I initially wanted to install:
Code:
##############################################################
## Mod Name:            view_recent_posts_v1_0_3.txt
## Mod Date:            2002-06-07
## Mod Title:            View Recent Posts
## Mod Version:            1.0.3
## for phpBB Version:    2.0.1
## Author:                Matthias C. Hormann <matthias@hormann-online.net>
## Description:            This mod allows viewing recent posts directly from
##                        the index page. It introduces a new 'View Posts
##                        from previous <selection>' on the main page,
##                        directly below the 'View unanswered posts' link.
##                        The selection box has the standard search selections
##                        (1 day/1 week/2 weeks/1 month/3months/6 month/1 year)
##                        and defaults to '1 day'.
##
##                        Results are shown as a search-like topic list.
##                        If you really want, you can also follow the 'OR'
##                        REPLACE in 'templates/subSilver/index_body.tpl' to
##                        get results displayed as posts, but personally I
##                        don't like it since it's non-standard and doesn't
##                        really help if your user wants an overview.
##
##                        Guests can also use it (no need to be logged in).
##                        The mod will honor all board restrictions, i.e.,
##                        no hidden forums/topics will be shown if permissions
##                        are insufficient (uses the 'search' logic).
##
##                        This mod was requested by users that are not online
##                        so very often and just want to easily check what has
##                        happened recently.
##
## Installation Level:    Easy
## Installation Time:    5 Minutes
##
## Files To Edit:        3 (4)
##                        index.php
##
##    The following need to be modified for every TEMPLATE you are using:
##                         templates/subSilver/index_body.tpl
##
##    The following need to be modified for every LANGUAGE you are supporting:
##                         language/lang_english/lang_main.php
##                         language/lang_german/lang_main.php
##
## Included Files:        (n/a)
##############################################################

##############################################################

##############################################################
## Author Note:
## ------------
##
## o This mod is EasyMod v0.4alpha compatible.
## o Best viewed when your editor's tab size is set to 4.
##
##
## Change Log:
## -----------
##
## o v1.0.3
##   - Sorry! Forgot including template vars - now works!
##     Kudos to 'bitboy0' of phpBB2-users.de for pointing
##     this out to me :-)
## o v1.0.2
##   - Initial release to the public.
##   - Includes English as well as German language mod.
## o v1.0.0
##   - Initial release for internal testing.
##
##############################################################

##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################

#
#-----[ OPEN ]------------------------------------------
#
index.php
#
#-----[ FIND ]------------------------------------------
#
    //
    // Start output of page
#
#-----[ BEFORE, ADD ]------------------------------------------
#
    //
    // MOD: View Recent Posts v1.0.3
    //
    $previous_days = array(1, 7, 14, 30, 90, 180, 364);
    $previous_days_text = array($lang['1_Day'], $lang['7_Days'], $lang['2_Weeks'], $lang['1_Month'], $lang['3_Months'], $lang['6_Months'], $lang['1_Year']);
   
    $s_time = '';
    for($i = 0; $i < count($previous_days); $i++)
    {
        $selected = ( $topic_days == $previous_days[$i] ) ? ' selected="selected"' : '';
        $s_time .= '<option value="' . $previous_days[$i] . '"' . $selected . '>' . $previous_days_text[$i] . '</option>';
    }
    //
    // MOD: -END-
    //

#
#-----[ FIND ]------------------------------------------
#
        'L_ONLINE_EXPLAIN' => $lang['Online_explain'],
#
#-----[ AFTER, ADD ]------------------------------------------
#
        //
        // MOD: View Recent Posts v1.0.3
        //
        'L_SEARCH_TIME' => $lang['View_posts_of_last'],
        'L_GO' => $lang['Go'],
        'S_SEARCH_ACTION' => append_sid("search.$phpEx?mode=results&search_author=*"),
        'S_TIME_OPTIONS' => $s_time,
        //
        // MOD: -END-
        //
#
#-----[ OPEN ]------------------------------------------
#
# The following need to be modified for every TEMPLATE you are using:
#
templates/subSilver/index_body.tpl
#
#-----[ FIND ]------------------------------------------
#
        <a href="{U_SEARCH_UNANSWERED}" class="gensmall">{L_SEARCH_UNANSWERED}</a></td>
#
#-----[ REPLACE WITH ]------------------------------------------
#
# Show results as a forum/topic list (recommended)
#
        <!-- MOD: View Recent Posts v1.0.3 -->
        <a href="{U_SEARCH_UNANSWERED}" class="gensmall">{L_SEARCH_UNANSWERED}</a><br />
        <span class="gensmall"><form action="{S_SEARCH_ACTION}" method="POST">{L_SEARCH_TIME}&nbsp;<select class="gensmall" name="search_time">{S_TIME_OPTIONS}</select>&nbsp;<input type="submit" class="gensmall" value="{L_GO}" name="submit" /><input type="hidden" name="show_results" value="topics"><input type="hidden" name="sort_by" value="0"><input type="hidden" name="sort_dir" value="DESC"></form>
        </td>
        <!-- MOD: -END- -->
#
#-----[ OR ]------------------------------------------
#
# Show results as a list of single posts (not recommended)
#
        <!-- MOD: View Recent Posts v1.0.3 -->
        <a href="{U_SEARCH_UNANSWERED}" class="gensmall">{L_SEARCH_UNANSWERED}</a><br />
        <span class="gensmall"><form action="{S_SEARCH_ACTION}" method="POST">{L_SEARCH_TIME}&nbsp;<select class="gensmall" name="search_time">{S_TIME_OPTIONS}</select>&nbsp;<input type="submit" class="gensmall" value="{L_GO}" name="submit" /><input type="hidden" name="show_results" value="posts"><input type="hidden" name="sort_by" value="0"><input type="hidden" name="sort_dir" value="DESC"></form>
        </td>
        <!-- MOD: -END- -->
#
#-----[ OPEN ]------------------------------------------
#
# The following need to be modified for every LANGUAGE you are supporting:
# (ENGLISH)
#
language/lang_english/lang_main.php
#
#-----[ FIND ]------------------------------------------
#
$lang['7_Days'] = '7 Days';
#
#-----[ REPLACE WITH ]------------------------------------------
#
# Replace '7 days' with '1 week' -- it's more easy understandable at a glance ;-)
#
$lang['7_Days'] = '1 Week';
#
#-----[ FIND ]------------------------------------------
#
//
// That's all Folks!
#
#-----[ BEFORE, ADD ]------------------------------------------
#
//
// MOD: View Recent Posts v1.0.3
//
$lang['View_posts_of_last'] = 'Ver mensajes nuevos desde';
//
// MOD: -END-
//

#
#-----[ OPEN ]------------------------------------------
#
# The following need to be modified for every LANGUAGE you are supporting:
# (GERMAN)
#
language/lang_german/lang_main.php
#
#-----[ FIND ]------------------------------------------
#
$lang['7_Days'] = '7 Tage';
#
#-----[ REPLACE WITH ]------------------------------------------
#
# Replace '7 days' with '1 week' -- it's more easy understandable at a glance ;-)
#
$lang['7_Days'] = '1 Woche';
#
#-----[ FIND ]------------------------------------------
#
//
// That's all Folks!
#
#-----[ BEFORE, ADD ]------------------------------------------
#
//
// MOD: View Recent Posts v1.0.3
//
$lang['View_posts_of_last'] = 'Beiträge anzeigen, die neuer sind als';
//
// MOD: -END-
//

#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM



But I fanilly discovered another MOD that I like better:


Code:
##############################################################
## MOD Title: Search latest 24h 48h 72h
## MOD Author: markus_petrux < nospam@phpmix.com > (Markus) http://www.phpmix.com
## MOD Description: This MOD adds a new search feature so it allows to search for posts from
##                  latest XX hours. The list of latest hours can be specified from the ACP,
##                  also whether to show results as posts or topics.
## MOD Version: 1.1.0
##
## Installation Level: (Easy)
## Installation Time: 15 Minutes
## Files To Edit: 7
##        language/lang_english/lang_main.php
##        language/lang_english/lang_admin.php
##        index.php
##        templates/subSilver/index_body.tpl
##        search.php
##        admin/admin_board.php
##        templates/subSilver/admin/board_config_body.tpl
## Included Files: none
## License: http://opensource.org/licenses/gpl-license.php GNU Public License v2
##############################################################
## For security purposes, please check: http://www.phpbb.com/mods/
## for the latest version of this MOD. Although MODs are checked
## before being allowed in the MODs Database there is no guarantee
## that there are no security problems within the MOD. No support
## will be given for MODs not found within the MODs Database which
## can be found at http://www.phpbb.com/mods/
##############################################################
## Author Notes:
##
## - Tested with phpBB 2.0.15, 2.0.16 and 2.0.17
## - This MOD is EasyMOD friendly.
##
##############################################################
## MOD History:
##
## 2005/07/25 - 1.1.0
##    - Added ability to specifiy the list of hours from the ACP,
##    also whether to show results as posts or topics.
##
## 2005/06/17 - 1.0.2
##    - Changed the way the links are constructed, so all HTML/CSS attributes
##    are now moved to the template, for easy adaption to other styles.
##
## 2005/01/31 - 1.0.0
##    - Initial release
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################

#
#------[ SQL ]--------------------------------------
#
INSERT INTO phpbb_config (config_name, config_value) VALUES ('search_latest_hours', '24,48,72');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('search_latest_results', 'topics');
#
#------[ OPEN ]--------------------------------------
#
language/lang_english/lang_main.php
#
#------[ FIND ]--------------------------------------
#
//
// That's all, Folks!
// -------------------------------------------------
#
#------[ BEFORE, ADD ]-----------------------------
#
//+MOD: Search latest 24h 48h 72h
$lang['Search_latest'] = 'View latest';
$lang['Search_latest_XXh'] = '%dh';
//-MOD: Search latest 24h 48h 72h

#
#------[ OPEN ]--------------------------------------
#
language/lang_english/lang_admin.php
#
#------[ FIND ]--------------------------------------
#
//
// That's all Folks!
// -------------------------------------------------
#
#------[ BEFORE, ADD ]-----------------------------
#
//+MOD: Search latest 24h 48h 72h
$lang['Search_latest_hours'] = 'Search latest (hours)';
$lang['Search_latest_hours_explain'] = 'Specify a comma separated list of numbers. These numbers will be used to dynamically build the search latest hours links on top of your forum index.';
$lang['Search_latest_hours_error'] = 'Invalid value entered in the \'Search latest (hours)\' field.<br /><br />Please, specify a comma separated list of numbers.';
$lang['Search_latest_results'] = 'Search latest (results)';
$lang['Search_latest_results_explain'] = 'Specify how results of the the search latest hours links should be shown.';
//-MOD: Search latest 24h 48h 72h

#
#-----[ OPEN ]------------------------------------------
#
index.php
#
#-----[ FIND ]-----------------------------------------
#
    $template->set_filenames(array(
        'body' => 'index_body.tpl')
    );
#
#-----[ AFTER, ADD ]----------------------------------
#

//+MOD: Search latest 24h 48h 72h
    $search_latest_hours = explode(',', $board_config['search_latest_hours']);

    for( $search_i = 0; $search_i < (count($search_latest_hours)-1); $search_i++ )
    {
        $template->assign_block_vars('search_latest', array(
            'L_SEARCH_LATEST_XXH' => sprintf($lang['Search_latest_XXh'], $search_latest_hours[$search_i]),
            'U_SEARCH_LATEST_XXH' => append_sid('search.'.$phpEx.'?search_id=latest&amp;hours=' . $search_latest_hours[$search_i])
        ));
    }
    $template->assign_vars(array(
        'L_SEARCH_LATEST' => $lang['Search_latest'],
        'L_SEARCH_LATEST_XXH' => sprintf($lang['Search_latest_XXh'], $search_latest_hours[$search_i]),
        'U_SEARCH_LATEST_XXH' => append_sid('search.'.$phpEx.'?search_id=latest&amp;hours=' . $search_latest_hours[$search_i])
    ));
//-MOD: Search latest 24h 48h 72h
#
#-----[ OPEN ]-----------------------------------------
# NOTE --- Remember to do this for all your installed styles
#
templates/subSilver/index_body.tpl
#
#-----[ FIND ]-----------------------------------------
# NOTE --- This is a partial match. The original line in subSilver looks something like this:
#        <a href="{U_SEARCH_UNANSWERED}" class="gensmall">{L_SEARCH_UNANSWERED}</a></td>
#
{U_SEARCH_UNANSWERED}
#
#------[ BEFORE, ADD ]-----------------------------
#
        <!-- +MOD: Search latest 24h 48h 72h -->
        {L_SEARCH_LATEST}:
        <!-- BEGIN search_latest -->
        <a href="{search_latest.U_SEARCH_LATEST_XXH}" class="gensmall">{search_latest.L_SEARCH_LATEST_XXH}</a>
        <!-- END search_latest -->
        <a href="{U_SEARCH_LATEST_XXH}" class="gensmall">{L_SEARCH_LATEST_XXH}</a><br />
        <!-- -MOD: Search latest 24h 48h 72h -->
#
#-----[ OPEN ]------------------------------------------------
#
search.php
#
#-----[ FIND ]-----------------------------------------
#
    //
    // Cycle through options ...
    //
    if ( $search_id == 'newposts' ||
#
# NOTE --- the previous is a partial search. The line should something like this:
#    if ( $search_id == 'newposts' || $search_id == 'egosearch' || $search_id == 'unanswered' || $search_keywords != '' || $search_author != '' )
#
#
#-----[ IN-LINE FIND ]----------------------------------------
#
$search_id == 'newposts'
#
#-----[ IN-LINE AFTER, ADD ]----------------------------------
#
|| $search_id == 'latest'
#
#-----[ FIND ]-----------------------------------------
#
        if ( $search_id == 'newposts' ||
#
# NOTE --- the previous is a partial search. The line should something like this:
#        if ( $search_id == 'newposts' || $search_id == 'egosearch' || ( $search_author != '' && $search_keywords == '' )  )
#
#
#-----[ IN-LINE FIND ]----------------------------------------
#
$search_id == 'newposts'
#
#-----[ IN-LINE AFTER, ADD ]----------------------------------
#
|| $search_id == 'latest'
#
#-----[ FIND ]------------------------------------------------
#
            else if ( $search_id == 'egosearch' )
#
#-----[ BEFORE, ADD ]-----------------------------------------
#
//+MOD: Search latest 24h 48h 72h
            else if ( $search_id == 'latest' )
            {
                $search_latest_hours = explode(',', $board_config['search_latest_hours']);

                $latest_hours = intval( isset($HTTP_GET_VARS['hours']) ? $HTTP_GET_VARS['hours'] : $search_latest_hours[0] );
                if( !in_array($latest_hours, $search_latest_hours) )
                {
                    $latest_hours = $search_latest_hours[0];
                }

                $sql = "SELECT post_id
                    FROM " . POSTS_TABLE . "
                    WHERE post_time > " . ( time() - ($latest_hours * 60 * 60) );

                $show_results = $board_config['search_latest_results'];
                $sort_by = 0;
                $sort_dir = 'DESC';
            }
//-MOD: Search latest 24h 48h 72h
#
#-----[ OPEN ]------------------------------------------------
#
admin/admin_board.php
#
#-----[ FIND ]-----------------------------------------
#
        if ($config_name == 'cookie_name')
#
#------[ BEFORE, ADD ]-----------------------------
#
//+MOD: Search latest 24h 48h 72h
        if ($config_name == 'search_latest_hours' && isset($HTTP_POST_VARS['submit']))
        {
            $temp = explode(',', $new['search_latest_hours']);
            sort($temp);
            for( $num = 0; $num < count($temp); $num++ )
            {
                if( ($temp[$num] = intval($temp[$num])) <= 0 )
                {
                    message_die(GENERAL_ERROR, $lang['Search_latest_hours_error']);
                }
            }
            $new['search_latest_hours'] = implode(',', $temp);
            unset($temp, $num);
        }
//-MOD: Search latest 24h 48h 72h

#
#-----[ FIND ]-----------------------------------------
#
$override_user_style_yes = ( $new['override_user_style'] ) ? "checked=\"checked\"" : "";
#
#------[ BEFORE, ADD ]-----------------------------
#
//+MOD: Search latest 24h 48h 72h
$search_latest_results_posts = ( $new['search_latest_results'] == 'posts' ) ? ' checked="checked"' : '';
$search_latest_results_topics = ( $new['search_latest_results'] != 'posts' ) ? ' checked="checked"' : '';
//-MOD: Search latest 24h 48h 72h

#
#-----[ FIND ]-----------------------------------------
# NOTE --- This is a partial match. The original line looks something like this:
#    "L_TOPICS_PER_PAGE" => $lang['Topics_per_page'],
#
"L_TOPICS_PER_PAGE" =>
#
#------[ BEFORE, ADD ]-----------------------------
#
//+MOD: Search latest 24h 48h 72h
    'L_SEARCH_LATEST_HOURS' => $lang['Search_latest_hours'],
    'L_SEARCH_LATEST_HOURS_EXPLAIN' => $lang['Search_latest_hours_explain'],
    'L_SEARCH_LATEST_RESULTS' => $lang['Search_latest_results'],
    'L_SEARCH_LATEST_RESULTS_EXPLAIN' => $lang['Search_latest_results_explain'],
    'L_TOPICS' => $lang['Topics'],
    'L_POSTS' => $lang['Posts'],
//-MOD: Search latest 24h 48h 72h
#
#-----[ FIND ]-----------------------------------------
# NOTE --- This is a partial match. The original line looks something like this:
#    "TOPICS_PER_PAGE" => $new['topics_per_page'],
#
"TOPICS_PER_PAGE" =>
#
#------[ BEFORE, ADD ]-----------------------------
#
//+MOD: Search latest 24h 48h 72h
    'SEARCH_LATEST_HOURS' => $new['search_latest_hours'],
    'SEARCH_LATEST_RESULTS_POSTS' => $search_latest_results_posts,
    'SEARCH_LATEST_RESULTS_TOPICS' => $search_latest_results_topics,
//-MOD: Search latest 24h 48h 72h
#
#-----[ OPEN ]------------------------------------------------
# NOTE --- Remember to do this for all your installed styles
#
templates/subSilver/admin/board_config_body.tpl
#
#-----[ FIND ]-----------------------------------------
# NOTE --- This is a partial match. The original line in subSilver looks something like this:
#    <tr>
#        <td class="row1">{L_TOPICS_PER_PAGE}</td>
#
<tr>
{L_TOPICS_PER_PAGE}
#
#------[ BEFORE, ADD ]-----------------------------
#
    <!-- +MOD: Search latest 24h 48h 72h -->
    <tr>
        <td class="row1">{L_SEARCH_LATEST_HOURS}:<br /><span class="gensmall">{L_SEARCH_LATEST_HOURS_EXPLAIN}</span></td>
        <td class="row2"><input class="post" type="text" name="search_latest_hours" size="30" maxlength="40" value="{SEARCH_LATEST_HOURS}" /></td>
    </tr>
    <tr>
        <td class="row1">{L_SEARCH_LATEST_RESULTS}:<br /><span class="gensmall">{L_SEARCH_LATEST_RESULTS_EXPLAIN}</span></td>
        <td class="row2"><input type="radio" name="search_latest_results" value="posts"{SEARCH_LATEST_RESULTS_POSTS} /> {L_POSTS}&nbsp;&nbsp;<input type="radio" name="search_latest_results" value="topics"{SEARCH_LATEST_RESULTS_TOPICS} /> {L_TOPICS}</td>
    </tr>
    <!-- -MOD: Search latest 24h 48h 72h -->
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM


If you want to see this last MOD in action have a look at my board.

Btw. For this last MOD there's no need to change the fix I posted earlier. That fix is needed to make the first MOD work, the one I did not install.

_________________
phpBB2 will never die, I hope!
Back to top
Holger
Board Member



Joined: 19 Jan 2009

Posts: 509
Location: Hanover


flag
PostPosted: Mon Sep 20, 2010 10:06 am 
Post subject: Re: Search by Time Frame gives no results

OMG I have never noticed that dropdown! icon_eek.gif
Back to top
dogs and things
Board Member



Joined: 18 Nov 2008

Posts: 621
Location: Spain


flag
PostPosted: Mon Sep 20, 2010 10:27 am 
Post subject: Re: Search by Time Frame gives no results

I knew it was there but never used it so I never noticed the problem. icon_biggrin.gif

Either one of those two MODs is a useful addon for my users, have a look at them, they are easy to install and test, maybe you too will like one of them.

_________________
phpBB2 will never die, I hope!
Back to top
Holger
Board Member



Joined: 19 Jan 2009

Posts: 509
Location: Hanover


flag
PostPosted: Mon Sep 20, 2010 11:00 am 
Post subject: Re: Search by Time Frame gives no results

I have the Recent Posts (Advanced), covering both above.

Edit: http://www.phpbb2refugees.com/viewtopic.php?t=728
Back to top
dogs and things
Board Member



Joined: 18 Nov 2008

Posts: 621
Location: Spain


flag
PostPosted: Mon Sep 20, 2010 11:39 am 
Post subject: Re: Search by Time Frame gives no results

I'll check that one out. icon_wink.gif
_________________
phpBB2 will never die, I hope!
Back to top
Holger
Board Member



Joined: 19 Jan 2009

Posts: 509
Location: Hanover


flag
PostPosted: Mon Sep 20, 2010 11:40 am 
Post subject: Re: Search by Time Frame gives no results

You might be able to see it here:
http://www.maskinisten.net/recent.php
(I dont know if you need to be logged in)
Back to top
drathbun
Board Member



Joined: 24 Jul 2008

Posts: 665
Location: Texas


flag
PostPosted: Mon Sep 20, 2010 10:46 pm 
Post subject: Re: Search by Time Frame gives no results

For what it's worth, if my memory is correct using the * by itself as a wildcard for username searches was disallowed in later versions of phpBB2 for performance reasons. It's the same thing that caused them to put in search flood limits.

Obviously it still works here. icon_smile.gif But it may not work on various other versions of phpBB2.

_________________
phpBBDoctor Blog
Back to top
dogs and things
Board Member



Joined: 18 Nov 2008

Posts: 621
Location: Spain


flag
PostPosted: Tue Sep 21, 2010 6:50 am 
Post subject: Re: Search by Time Frame gives no results

That's correct, I guess, on other phpBB2 boards that I administer the same limitation is present.
_________________
phpBB2 will never die, I hope!
Back to top
Display posts from previous:   
Register or Login to Post    Index » General Support  Previous TopicPrint TopicNext Topic
Page 1 of 1 All times are GMT
 
Jump to:  

Index • About • FAQ • Rules • Privacy • Search •  Register •  Login 
Not affiliated with or endorsed by the phpBB Group
Powered by phpBB2 © phpBB Group
Generated in 0.0343 seconds using 15 queries. (SQL 0.0025 Parse 0.0009 Other 0.0308)
phpBB Customizations by the phpBBDoctor.com
Template Design by DeLFlo and MomentsOfLight.com Moments of Light Logo