delete tab "language" only for members

Hi,

 

I would like delete the tab "language" but onyl for members, the guest can see it.

 

See attachments please.

 

Thanks :)

icooooonfe.PNG · 11.5K · 89 views
/unity/forums/?action=goto&my_threads#topic/Video-is-being-processed-for-the-second-time.htm
Quote · 6 Feb 2011

Hi there.

Replace templates/base/scripts/BxBaseMenu.php

with the one attached.

It will hide the language menu item for members, it will show up only for guests.

BxBaseMenu.php · 31K · 53 downloads
Web Development, Multimedia Design and Social Media.
Quote · 6 Feb 2011

 

Hi there.

Replace templates/base/scripts/BxBaseMenu.php

with the one attached.

It will hide the language menu item for members, it will show up only for guests.

 

BxBaseMenu.php · 30.4K · 61 downloads
/unity/forums/?action=goto&my_threads#topic/Video-is-being-processed-for-the-second-time.htm
Quote · 6 Feb 2011

Here is your custom modded file

BxBaseMenu.php · 30.4K · 66 downloads
Web Development, Multimedia Design and Social Media.
Quote · 6 Feb 2011

Thanks :p

BxBaseMenu.php · 30.6K · 43 downloads
/unity/forums/?action=goto&my_threads#topic/Video-is-being-processed-for-the-second-time.htm
Quote · 19 Feb 2011

here it is

=D

BxBaseMenu.php · 30.7K · 64 downloads
Web Development, Multimedia Design and Social Media.
Quote · 20 Feb 2011

As per request by tevasas this will hide the search element for non logged in members.

Open:

templates/base/scripts/BxBaseMenu.php

FIND:

function genSearchElement() {

$sSearchC = process_line_output(_t('_Search'));
ob_start();
?>
<script language="javascript">
$(document).ready( function() {
$('#keyword').blur(function() {
$('#keyword').removeClass();
$('#keyword').addClass('input_main');
if ('' == $('#keyword').val())
$('#keyword').val('<?= $sSearchC ?>');
}
);
$('#keyword').focus(function() {
$('#keyword').removeClass();
$('#keyword').addClass('input_focus');
if ('<?= $sSearchC ?>' == $('#keyword').val())
$('#keyword').val('');
}
);
});
</script>
<li>
<div id="gse_search">
<form action="searchKeyword.php" method="get" name="SearchForm">
<input type="text" name="keyword" id="keyword" value="<?= $sSearchC ?>" class="input_main"/>
</form>
</div>
<div class="clear_both"></div>
</li>
<?
$sSearchElement = ob_get_clean();

return array (
'icon_url' => getTemplateIcon('tm_item_search.png'),
'element_content' => $sSearchElement
);
}

 

REPLACE WITH:

 

function genSearchElement() {
if ($_COOKIE[memberID]) {
$sSearchC = process_line_output(_t('_Search'));
ob_start();
?>
<script language="javascript">
$(document).ready( function() {
$('#keyword').blur(function() {
$('#keyword').removeClass();
$('#keyword').addClass('input_main');
if ('' == $('#keyword').val())
$('#keyword').val('<?= $sSearchC ?>');
}
);
$('#keyword').focus(function() {
$('#keyword').removeClass();
$('#keyword').addClass('input_focus');
if ('<?= $sSearchC ?>' == $('#keyword').val())
$('#keyword').val('');
}
);
});
</script>
<li>
<div id="gse_search">
<form action="searchKeyword.php" method="get" name="SearchForm">
<input type="text" name="keyword" id="keyword" value="<?= $sSearchC ?>" class="input_main"/>
</form>
</div>
<div class="clear_both"></div>
</li>
<?
$sSearchElement = ob_get_clean();

return array (
'icon_url' => getTemplateIcon('tm_item_search.png'),
'element_content' => $sSearchElement
);
}   
}

Web Development, Multimedia Design and Social Media.
Quote · 20 Feb 2011

It's work fine with 7.0.5 !!!!!! Thank you very much :))))))

/unity/forums/?action=goto&my_threads#topic/Video-is-being-processed-for-the-second-time.htm
Quote · 20 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.