HomeUnityBlogs
 
 
moe78z

Removing Actions from...ermm..Actions

Hi everyone,

I'm not going to use Music Profiles in my members profiles. So I removed music from the navigation menus and also under profiles. So there's no way anyone can hear or upload any music. However, whenever a member logs in and browses other members profiles, they would see the "Actions" panel. In the actions panel, there are options like "Send Letter", "Profile Photos" and "Profile Music". How do I remove this "Profile Music" option? I've looked everywhere and I can't find it.

I'm using Dolphin 6.1.1.
bad
0
good
 
 

Comments

gameutopia
gameutopia 147 days agocomment permalink
 
Open up
/templates/base/scripts/BxBaseProfileView.php

find:
$ret = '<div class="menuBlock">';
$ret .= '<div class="menu_item_block">';
$ret .= '<div class="menu_item_block_left">';
$ret .= $oTemplMenu -> getActionsMenuItem( 'action_send.gif', _t('_SendLetter'), "compose.php?ID=$profileID" );
$ret .= $oTemplMenu -> getActionsMenuItem( 'action_fave.gif', _t('_Fave'), "javascript:void(0);", '', '', "window.open( 'list_pop.php?action=hot&amp;ID=$profileID', '', 'width={$this -> oTemplConfig -> popUpWindowWidth},height={$this -> oTemplConfig -> popUpWindowHeight},menubar=no,status=no,resizable=no,scrollbars=yes,toolbar=no,location=no' );" );
//$ret .= $oTemplMenu -> getActionsMenuItem( 'action_friends.gif', _t('_Befriend'),"javascript:void(0);", '', '', "window.open( 'list_pop.php?action=friend&amp;ID=$profileID', '', 'width={$this -> oTemplConfig -> popUpWindowWidth},height={$this -> oTemplConfig -> popUpWindowHeight},menubar=no,status=no,resizable=no,scrollbars=yes,toolbar=no,location=no' );" );
$ret .= $oTemplMenu -> getActionsMenuItem( 'action_greet.gif', _t('_Greet'), "javascript:void(0);", '', '', "window.open( 'greet.php?sendto=$profileID', '', 'width={$this -> oTemplConfig -> popUpWindowWidth},height={$this -> oTemplConfig -> popUpWindowHeight},menubar=no,status=no,resizable=no,scrollbars=yes,toolbar=no,location=no' );" );
//$ret .= $IMNow;
....etc...etc

comment out what you don't want to show such as:
//$ret .= $oTemplMenu -> getActionsMenuItem( 'action_music.gif', $this->getLinkStat('prMusic', _t('_ProfileMusic'), $profileID), "javascript:void(0);", '', '', "openRayWidget( 'mp3', 'player', '$profileID', '" . getPassword( $memberID ) . "', '$memberID');");

For profile music. Save the changes. Comment out any others.

Commenting out is just adding:
//

Before the code.

By commenting out rather than removing it totally you can simply remove the commenting(//) if you wish to re-enable at a later time.
 
bad
1
good
 
 
moe78z
moe78z 146 days agocomment permalink
 
Thanks it works!
 
bad
0
good
 
 
njuelbli
njuelbli 38 days agocomment permalink
 
Hello

This was useful - but how to add ex guestbook and blog

Nils
 
bad
0
good
 
 


Post a Comment

Please login to post a comment.

This Post
 
 
moe78z Blog
All Blogs
Found a bug? Have a suggestion? We really value your feedback!
 
© 2008 BoonEx Ltd
ABN 27 127 966 581
 
PET:0.4327480793