Home Page

Hello,

 

Very new to Dolphin. Just downloaded it and am testing it now. My initial question is how to make it more private on the home page unless a viewer joins. Basically I don't want them to be able to see any information, links, profiles etc unless they join first.

 

Sorry of this is a basic question.

 

Thanks in advance

 

Andrew

Quote · 29 Nov 2010

Hello in admin -> page builder. You can make that page's blocks can view only logged members. See in attachments

Untitled-2.jpg · 93.2K · 106 views
PS: If possible do not write me personally, please try to ask on the forum first
Quote · 29 Nov 2010

Hello and thanks for the reply.

 

That works well for the blocks on the page but I want to make all of the navigation menu items invisible unless a user is logged in (signed up) too. Is this possible?

 

Thanks

 

Andrew

Quote · 29 Nov 2010

I think I have worked it out. Thanks

Quote · 29 Nov 2010

I have managed to hide most of the nav options in the homepage so that only members can view. I cannot locate how to hide the top right magyfying glass option though and because I have hidden all the others this just spans over the entire top area (where the navigation links were).

 

Any advise?

 

Thanks

 

Andrew

Quote · 29 Nov 2010

Try this one...

http://www.boonex.com/unity/extensions/entry/FREE_MOD_DeeEmm_Hide_Menu_Bar_from_Guests

Quote · 29 Nov 2010

Hello and thanks for the reply. I did try that earlier after searching the forum but I go the same error that some others got and I know nothing about coding so didn't take it any further.

Isn't there a simple way to do it like with the other menu items, i.e visible only to members?

 

Thanks again

 

Andrew

Quote · 29 Nov 2010

Just hide the whole thing by doing this:

 

Make  a backup copy of your templates/base/scripts/BxBaseMenu.php FIRST

 

Then edit this file and Line ~147 make the following changes in RED

 

function getCode() {

if (isset($GLOBALS['bx_profiler'])) $GLOBALS['bx_profiler']->beginMenu('Main Menu');
if ((int)$_COOKIE['memberID'] > 0) {
$this->getMenuInfo();

$this->genTopHeader();
$this->genTopItems();
$this->genTopFooter();

if (!defined('BX_INDEX_PAGE')) {
$this->genSubContHeader();

$this->genSubMenus();
$this->genSubContFooter();
}
}
if (isset($GLOBALS['bx_profiler'])) $GLOBALS['bx_profiler']->endMenu('Main Menu');

return $this->sCode;

 

BTW, This is for D 7.0.4. If you are using D 7.0.3 it should look closely the same except for

if (isset($GLOBALS['bx_profiler'])) $GLOBALS['bx_profiler']->endMenu('Main Menu');

 

Nothing to see here
Quote · 29 Nov 2010

That did the trick!

 

Thanks very much for the advise.

 

Andrew

Quote · 30 Nov 2010

 

Just hide the whole thing by doing this:

 

Make  a backup copy of your templates/base/scripts/BxBaseMenu.php FIRST

 

Then edit this file and Line ~147 make the following changes in RED

 

function getCode() {

if (isset($GLOBALS['bx_profiler'])) $GLOBALS['bx_profiler']->beginMenu('Main Menu');
if ((int)$_COOKIE['memberID'] > 0) {
$this->getMenuInfo();

$this->genTopHeader();
$this->genTopItems();
$this->genTopFooter();

if (!defined('BX_INDEX_PAGE')) {
$this->genSubContHeader();

$this->genSubMenus();
$this->genSubContFooter();
}
}
if (isset($GLOBALS['bx_profiler'])) $GLOBALS['bx_profiler']->endMenu('Main Menu');

return $this->sCode;

 

BTW, This is for D 7.0.4. If you are using D 7.0.3 it should look closely the same except for

if (isset($GLOBALS['bx_profiler'])) $GLOBALS['bx_profiler']->endMenu('Main Menu');

 

Thank you!

Quote · 1 Feb 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.