Jump to content
InvisionCommunity.de - Der Deutsche Invision Community Support
Sign in to follow this  
www.filmforen.de

Suchparameter

Recommended Posts

Hallo,

standardmäßig ist bei unserem Forum im Suchfeld angewählt:

1. "Beiträge suchen aus ... letzten 30 Tage"

2. "Im Forum suchen ... all open Forums"

Vor allem der erste Punkt hat schon oft dazu geführt, dass User geglaubt haben, ein Suchbegriff sei nicht zu finden.

Wie/Wo kann ich einstellen, dass folgende Start-Suchparameter verwendet werden:

1. "Beiträge suchen aus ... alle"

2. "In Kategorien suchen ... All Categrories"

Frohe Weihnachten!

Stefan

Edited by www.filmforen.de

Share this post


Link to post

Problem 1:

skin_search.php

Suchen:

        <select name='prune' class='forminput'>
       <option value='1'>{$ibforums->lang['today']}
       <option value='7'>{$ibforums->lang['this_week']}
       <option value='30' selected>{$ibforums->lang['this_month']}
       <option value='365'>{$ibforums->lang['this_year']}
       <option value='0'>{$ibforums->lang['ever']}
       </select>
Ändern in:
        <select name='prune' class='forminput'>
       <option value='1'>{$ibforums->lang['today']}
       <option value='7'>{$ibforums->lang['this_week']}
       <option value='30' >{$ibforums->lang['this_month']}
       <option value='365'>{$ibforums->lang['this_year']}
       <option value='0' selected>{$ibforums->lang['ever']}
       </select>
Problem 2: gleiche Datei Suchen:
                       	 <tr>
                         <td valign='top' width='40%' nowrap><input type='radio' name='cat_forum' value='cat'>&nbsp;<b>{$ibforums->lang['search_cats']}</b></td>
                         <td valign='top' width='60%'>$cats</td>
                       </tr>
                       <tr>
                       <td valign='top' nowrap><input type='radio' name='cat_forum' value='forum' checked>&nbsp;<b>{$ibforums->lang['search_forums']}</b></td>
                       <td valign='top'>$forums</td>
                       </tr>
Ändern in:
                       	 <tr>
                         <td valign='top' width='40%' nowrap><input type='radio' name='cat_forum' value='cat' checked>&nbsp;<b>{$ibforums->lang['search_cats']}</b></td>
                         <td valign='top' width='60%'>$cats</td>
                       </tr>
                       <tr>
                       <td valign='top' nowrap><input type='radio' name='cat_forum' value='forum' >&nbsp;<b>{$ibforums->lang['search_forums']}</b></td>
                       <td valign='top'>$forums</td>
                       </tr>

Bzw. einfach nur das selected und checked entsprechend ändern, so wie ich es auch gemacht habe in den Codeschnipseln. ;)

Share this post


Link to post

huhu,

hab die änderungen auch gerade bei meinem board gemacht, mir ist aufgefallen das bei der kategorien dropdown liste auch die kategorien angezeigt werden die normal user nicht sehen dürften, stimmt da was mit dem permission system nicht oder ist das mein fehler?

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×