Edit search options. - remove isonline and with photos

Hello,

I need to simply remove the checkboxes on the members search form. The checkboxes are there to select a search for members who are:

online only  and with photos only

I was able to go into launguages and delete the text, but the check boxes are still there. 

I just want these options totaly gone.

Please advise.

Thanks!

Dave

 

ps, i have attached a photo of the boxes I am talking about.

search.jpg · 48.2K · 109 views
Quote · 31 Dec 2010

Anyone answer this anywhere?

Quote · 28 Mar 2011

Open file inc/classes/BxDolProfileFields.php

find this function: function getFormsSearch($aParams)

remove this code:

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 · 28 Mar 2011

Works perfectly thanks OKweb !!!!

Quote · 28 Mar 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.