Getting rid of 'with photos' only option

Hi everyone,

Can any of you lovely people tell me if it is possible to completely remove the 'with photos only and 'online only' options from the search boxes? They are not relevant to my site.

Many thanks in advance for any help, guidance or verbal abuse.

D

Quote · 6 May 2010

Ever figure out how to do this? I've scoured the template and php files and can't find it either.

Quote · 5 Aug 2010

No luck with this Dangrac? Anyone?

Quote · 12 Aug 2010

For anyone needing to do this, open /inc/classes/BxDolProfileFields.php. At line 1131 //comment out the following lines:

 

if ($bAddFlags /* array_search($iBlockId, array_keys($this->aBlocks)) != 0 */) {

create input for "online only"

$aInputs[] = array(

'type' => 'checkbox',

'name' => 'online_only',

'label' => _t('_online only'),

'checked' => $aDefaultParams['online_only'] == 'on',

);

 

create input for "with photos only"

$aInputs[] = array(

'type' => 'checkbox',

'name' => 'photos_only',

'label' => _t('_With photos only'),

'checked' => $aDefaultParams['photos_only'] == 'on',

);

}

Quote · 12 Aug 2010

Hi

 

i can't get it to work...

 

i get a blank page...

 

/*  */   i placed this comment code before and after....

 

Anybody can help...

Quote · 19 Oct 2010

Use the function:

//

before each line of code. This is what the file looks like now and it worked for me.

 

if ($bAddFlags /* array_search($iBlockId, array_keys($this->aBlocks)) != 0 */) {

// create input for "online only"

//$aInputs[] = array(

//'type' => 'checkbox',

//'name' => 'online_only',

//'label' => _t('_online only'),

//'checked' => $aDefaultParams['online_only'] == 'on',

//);

 

// create input for "with photos only"

//$aInputs[] = array(

//'type' => 'checkbox',

//'name' => 'photos_only',

//'label' => _t('_With photos only'),

//'checked' => $aDefaultParams['photos_only'] == 'on',

//);

}

Quote · 14 Jan 2011
 
 
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.