Removing Presence

 To remove the icon of status of presence (online, away, busy, off), I did the follow steps and it is working well.  We can see the avatar, no status icons and now we are able to complete remove the presence toll and the Account Control Block (in Page Builder/ Account).  

 

Go to;

your_site-root/inc/classes/BxDolUserStatusView.php

backup the original and make the following changes: 

 

<!----------- begin of the file --------->

 

    /**

     * Class constructor ;

     */

    function BxDolUserStatusView() 

    {

        $this -> sHomeUrl = BX_DOL_URL_ROOT;

        $this -> aStatuses = array(

/* Comment Line-A - we start to comment here...

            'online'  => array(

                'icon8'  => 'sys_status_online.png',

                'icon'  => 'status_online.png',

                'title' => _t('_Online'),

            ),

 

            'offline' => array(

                'icon8'  => 'sys_status_offline.png',

                'icon'  => 'status_offline.png',

                'title' => _t('_Offline'),

            ),

 

            'away' => array(

                'icon8'  => 'sys_status_away.png',

                'icon'  => 'status_away.png',

                'title' => _t('_Away'),

            ),

 

            'busy'    => array(

                'icon8'  => 'sys_status_busy.png',

                'icon'  => 'status_busy.png',

                'title' => _t('_Busy'),

            ),

Comment Line-B - end of the comment, in case you want it back, remove comment lines AB , the lines only */

        );

    }

<!---------------- end of file -------------

Quote · 21 Mar 2012
 
 
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.