actions block

I need to remove the "share" button.

I commented out the share lines but what else do I do?

 

  //--- Check for member/non-member ---//

        if(isMember()) {

            $p_arr['cpt_edit'] = _t('_EditProfile');

            $p_arr['cpt_send_letter'] = _t('_SendLetter');

            $p_arr['cpt_fave'] = _t('_Fave');

            $p_arr['cpt_remove_fave'] = _t('_Remove Fave');

            $p_arr['cpt_befriend'] = _t('_Befriend');

            $p_arr['cpt_remove_friend'] = _t('_Remove friend');

            $p_arr['cpt_get_mail'] = _t('_Get E-mail');

           // $p_arr['cpt_share'] = $this->isAllowedShare($this->_aProfile) ? _t('_Share') : '';

            $p_arr['cpt_report'] = _t('_Report Spam');

            $p_arr['cpt_block'] = _t('_Block');

            $p_arr['cpt_unblock'] = _t('_Unblock');

        } else {

            $p_arr['cpt_edit'] = '';

            $p_arr['cpt_send_letter'] = '';

            $p_arr['cpt_fave'] = '';

            $p_arr['cpt_remove_fave'] = '';

            $p_arr['cpt_befriend'] = '';

            $p_arr['cpt_remove_friend'] = '';

            $p_arr['cpt_get_mail'] = '';

            //$p_arr['cpt_share'] = '';

            $p_arr['cpt_report'] = '';

            $p_arr['cpt_block'] = '';

            $p_arr['cpt_unblock'] = '';

        }

Quote · 25 Apr 2014

I just want to remove the one by the video view and photo view. I am using add this instead. The profile one is ok.

Quote · 25 Apr 2014

phpmyadmin  go to your database(  back it up )
and search sys_object_actions table and remove the field you want.

or

you have two modules for do what you want

http://www.boonex.com/m/actions-manager-2014-01-03

http://www.boonex.com/m/actions-manager-premium

 

Bosun / Moderator -- My Products : http://www.boonex.com/market/posts/danielmarseille
Quote · 25 Apr 2014

thank you.

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