Online Only and Pictures Only removal

I want to remove to options online only and with pictures only from search box.

Quote · 8 Nov 2010

I also want to remove these, does anyone know how to do it?

SGeeZyyy
Quote · 9 Dec 2010

Anyone?

SGeeZyyy
Quote · 10 Dec 2010

and why do you want to delete that..? is that unusefull for you?

=> http://friends.smansakra.sch.id => friends community based dolphin 7
Quote · 10 Dec 2010

Yea my site is more based on finding post rather than searching for members

SGeeZyyy
Quote · 10 Dec 2010

goto yoursite.com/inc/classes/BxDolProfileFields.php

go to line 1130 ( default dolphin 7.0.4 )

and fine 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',
);
}

// create submit button

 

 

AND CHANGE TO:

//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',
// );
//  }

// create submit button

=> http://friends.smansakra.sch.id => friends community based dolphin 7
Quote · 10 Dec 2010

I'm on Dolphin 7.0.3 and I cant seem to find that code

SGeeZyyy
Quote · 10 Dec 2010
?????
SGeeZyyy
Quote · 10 Dec 2010

sorry, i don't use dolpnin 7.0.3.. and i don't have it. ^_^

=> http://friends.smansakra.sch.id => friends community based dolphin 7
Quote · 12 Dec 2010

Anybody else have an idea?

SGeeZyyy
Quote · 13 Dec 2010

Nobody knows?

SGeeZyyy
Quote · 14 Dec 2010

There is the same code in D7.0.3

BxDolProfileFields.php -

the file has been modified - as you said - okiewardoyo

BxDolProfileFields.php · 70.6K · 204 downloads
Bosun / Moderator -- My Products : http://www.boonex.com/market/posts/danielmarseille
Quote · 14 Dec 2010

I replaced my file with the one you posted then cleared my cache and nothing changed the with photos and online only are still there. What may be the problem?

SGeeZyyy
Quote · 14 Dec 2010

delete on the page all members --- with photos only  - and - online only

I did a little research - do not modify the file BxDolProfileFields.php

you must edit the file  -  browse_searched_block.html  - and  -  BxBaseBrowse.php

templates / base /  - for - browse_searched_block.html

templates /  base /  scripts  -  for  - BxBaseBrowse.php

the file has been modified - valid for D.7.0.3 - and - D7.0.4

empty the cache

browse_searched_block.html · 336B · 374 downloads
BxBaseBrowse.php · 27.5K · 244 downloads
Bosun / Moderator -- My Products : http://www.boonex.com/market/posts/danielmarseille
Quote · 14 Dec 2010

 

delete on the page all members --- with photos only  - and - online only

I did a little research - do not modify the file BxDolProfileFields.php

you must edit the file  -  browse_searched_block.html  - and  -  BxBaseBrowse.php

templates / base /  - for - browse_searched_block.html

templates /  base /  scripts  -  for  - BxBaseBrowse.php

the file has been modified - valid for D.7.0.3 - and - D7.0.4

empty the cache

THIS IS BEST ANSWER,, you can do it sgeezyyyy

=> http://friends.smansakra.sch.id => friends community based dolphin 7
Quote · 15 Dec 2010

That did it! Thank you so much for your help.

And Okie thanks for the support!!!!

SGeeZyyy
Quote · 15 Dec 2010
 
 
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.