Search Results Special Block

I would like the block on the left side of this https://socialxusa.com/search.php page to be a blank block until someone searches for someone else. I do not want to see all the of users in this block just search results. How can I make this so?

Quote · 24 May 2017

The following code change should work :

In search.php

Find :

list($sResults, $aDBTopMenu, $sPagination, $sTopFilter) = $oProfile->GenSearchResultBlock($this->oPF->aBlocks, $aRequestParams, $this->aFilterSortSettings, 'search.php');

Just below, Add :

if(!isset($_REQUEST['search_mode']))$sResults = MsgBox(_t('_Empty'));

Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
Quote · 24 May 2017

Thanks once again Modzzz

Quote · 24 May 2017

 

The following code change should work :

In search.php

Find :

list($sResults, $aDBTopMenu, $sPagination, $sTopFilter) = $oProfile->GenSearchResultBlock($this->oPF->aBlocks, $aRequestParams, $this->aFilterSortSettings, 'search.php');

Just below, Add :

if(!isset($_REQUEST['search_mode']))$sResults = MsgBox(_t('_Empty'));

1. It is reversing back after changing search mode from simple to adv or quick.

Again the results are showing up.

2. how to remove the sort bubble having (sort by latest activity, by join etc).

Quote · 13 Aug 2017

Why can't I open this link?

Quote · 14 Aug 2017

 

Why can't I open this link?

 Which link? You mean this https://socialxusa.com/search.php

Quote · 14 Aug 2017

 can anyone suggest a solution for this?

 

The following code change should work :

In search.php

Find :

list($sResults, $aDBTopMenu, $sPagination, $sTopFilter) = $oProfile->GenSearchResultBlock($this->oPF->aBlocks, $aRequestParams, $this->aFilterSortSettings, 'search.php');

Just below, Add :

if(!isset($_REQUEST['search_mode']))$sResults = MsgBox(_t('_Empty'));

1. It is reversing back after changing search mode from simple to adv or quick.

Again the results are showing up.

2. how to remove the sort bubble having (sort by latest activity, by join etc).

 

Quote · 15 Aug 2017

Find :

if(!isset($_REQUEST['search_mode']))$sResults = MsgBox(_t('_Empty'));

Replace with 

if(!isset($_REQUEST['csrf_token']))$sResults = MsgBox(_t('_Empty'));

Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
Quote · 28 Aug 2017

 Thanks very much. It's working fine now.

Find :

if(!isset($_REQUEST['search_mode']))$sResults = MsgBox(_t('_Empty'));

Replace with 

if(!isset($_REQUEST['csrf_token']))$sResults = MsgBox(_t('_Empty'));

 

Quote · 29 Aug 2017
 
 
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.