How to remove search in Browse Profiles

Hi! Can you help me to either remove or modify the search criteria in the default search block on the Browse Profiles page (under Members)?

Thanks!

Quote · 19 Jul 2009

backup browse.php by downloading it first then renaming it browse.php.bak

then upload it

then edit the real browse.php

find:

$ret = '

<form id="browse_form" action="' . $_SERVER['PHP_SELF'] . '" method="get">
highlight down to:

</form>


do you see it?


thats the form

to remove Replace:

$ret = '

with:

/*     $ret = '


then lower on ine 145 or more if you double spaces:

';

with

';*/


this simply comments it out.


If you think this is getting confusing just delete this section:

$ret = '
<form id="browse_form" action="' . $_SERVER['PHP_SELF'] . '" method="get">
<div class="browse_form_wrapper">

<div class="browse_form_row">
<div class="clear_both"></div>
<div class="label">' . _t('_Sex') . ':</div>
<div class="value">' . $sex_options .'</div>
<div class="clear_both"></div>
</div>

<div class="browse_form_row">
<div class="clear_both"></div>
<div class="label">' . _t('_DateOfBirth') . ':</div>
<div class="value">' .
_t("_from") . '&nbsp;' . $age_option_start .    '&nbsp;' . _t("_to") . '&nbsp;' . $age_option_end .
'</div>
<div class="clear_both"></div>
</div>

<div class="browse_form_row">
<div class="clear_both"></div>
<div class="label">' . _t('_Country') . ':</div>'.
'<div class="value">' .
$country_options .'&nbsp;<img id="flagImageId" src="'. $country_def_flag .'" alt="flag" />
</div>
<div class="clear_both"></div>
</div>

<div class="only">
' . $photo_only_check . '
' . $online_only_check . '
</div>

<div class="submit">
<input id="search" name="search" type="submit" value="'. _t('_Show') .'" />
</div>

</div>
</form>
';

I have video tutorials to help you mrpowless.com
Quote · 19 Jul 2009

mrpowless - thank you very much! Worked like a charm (:

Quote · 19 Jul 2009
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.