Manche Webmaster möchten die Profil-Suche nach Land deaktivieren, z.B. wenn die meisten Mitglieder fast nur aus einem Land kommen.
Öffne:
templates/base/scripts/BxBaseBrowse.php
Suche:
[php]
// gen County section ;
$sCountrySection = _genCountrySection( $this, $sCurrentKey );
if ( $sCountrySection ) {
$sVisibleParam = ( $this -> aParameters['country'] ) ? false : true;
$sCountrySection = _genSubDesignBox(
_genJsControlBox($sCountryCaption, 'country_section', $sVisibleParam),
$sCountrySection
);
}
[/php]
Ersetze mit:
Öffne:
templates/base/scripts/BxBaseBrowse.php
Suche:
[php]
// gen County section ;
$sCountrySection = _genCountrySection( $this, $sCurrentKey );
if ( $sCountrySection ) {
$sVisibleParam = ( $this -> aParameters['country'] ) ? false : true;
$sCountrySection = _genSubDesignBox(
_genJsControlBox($sCountryCaption, 'country_section', $sVisibleParam),
$sCountrySection
);
}
[/php]
Ersetze mit:
Quellcode
- // gen County section ;
- // $sCountrySection = _genCountrySection( $this, $sCurrentKey );
- // if ( $sCountrySection ) {
- // $sVisibleParam = ( $this -> aParameters['country'] ) ? false : true;
- // $sCountrySection = _genSubDesignBox(
- // _genJsControlBox($sCountryCaption, 'country_section', $sVisibleParam),
- // $sCountrySection
- // );
- // }