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?
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? |
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 |
Thanks once again Modzzz |
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). |
Why can't I open this link? |
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).
|
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 |
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'));
|