Hide search in header to guests

I had a request for help, the person wants to hide the search bar in the header from guests but visible for members (when they log in of course).

Geeks, making the world a better place
Quote · 27 Jan 2013

Quite easy.

Open templates/base/scripts/BxBaseFunctions.php

Look for this at about line 555

    function genSiteSearch()
    {


Add this directly under it.

        if(!isMember()) return;


https://www.deanbassett.com
Quote · 27 Jan 2013

Thanks Dean, will pass it on.

Geeks, making the world a better place
Quote · 27 Jan 2013

 

Thanks Dean, will pass it on.

 damn girl, you ever take a break.. i'm so drunk from my birthday celebration..

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 27 Jan 2013

 

.... from my birthday celebration..

 Happy birthday!!

 

:)

happy_bd.jpg · 449.9K · 1308 views
"When things get tough the tough get going..."
Quote · 27 Jan 2013

Look for this at about line 773 in 7.3. Works like a charm TY.

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