Remove Video, Music, & Photo Options?

For any area including the Wall in profiles, is there a way to ban the use of the media sections such as video, music, and photos?Surprised

Answer my questions and you get love!
Quote · 16 Mar 2011

OK give me your love :)

Open the modules/boonex/wall/classes/BxWallModule.php

find and delete these code lines:

if($this->_oDb->isModule('photos'))
$aTopMenu['wall-ptype-photo'] = array('href' => 'javascript:void(0)', 'onclick' => 'javascript:' . $this->_sJsPostObject . '.changePostType(this)', 'class' => 'wall-ptype-ctl', 'icon' => $this->_oTemplate->getIconUrl('post_photo.png'), 'title' => _t('_wall_add_photo'));
if($this->_oDb->isModule('sounds'))
$aTopMenu['wall-ptype-music'] = array('href' => 'javascript:void(0)', 'onclick' => 'javascript:' . $this->_sJsPostObject . '.changePostType(this)', 'class' => 'wall-ptype-ctl', 'icon' => $this->_oTemplate->getIconUrl('post_music.png'), 'title' => _t('_wall_add_music'));
if($this->_oDb->isModule('videos'))
$aTopMenu['wall-ptype-video'] = array('href' => 'javascript:void(0)', 'onclick' => 'javascript:' . $this->_sJsPostObject . '.changePostType(this)', 'class' => 'wall-ptype-ctl', 'icon' => $this->_oTemplate->getIconUrl('post_video.png'), 'title' => _t('_wall_add_video'));        OK give me your love :) Open the modules/boonex/wall/classes/BxWallModule.php find and delete these code lines: if($this->_oDb->isModule('photos')) $aTopMenu['wall-ptype-photo'] = array('href' => 'javascript:void(0)', 'onclick' => 'javascript:' . $this->_sJsPostObject . '.changePostType(this)', 'class' => 'wall-ptype-ctl', 'icon' => $this->_oTemplate->getIconUrl('post_photo.png'), 'title' => _t('_wall_add_photo')); if($this->_oDb->isModule('sounds')) $aTopMenu['wall-ptype-music'] = array('href' => 'javascript:void(0)', 'onclick' => 'javascript:' . $this->_sJsPostObject . '.changePostType(this)', 'class' => 'wall-ptype-ctl', 'icon' => $this->_oTemplate->getIconUrl('post_music.png'), 'title' => _t('_wall_add_music')); if($this->_oDb->isModule('videos')) $aTopMenu['wall-ptype-video'] = array('href' => 'javascript:void(0)', 'onclick' => 'javascript:' . $this->_sJsPostObject . '.changePostType(this)', 'class' => 'wall-ptype-ctl', 'icon' => $this->_oTemplate->getIconUrl('post_video.png'), 'title' => _t('_wall_add_video'));

PS: If possible do not write me personally, please try to ask on the forum first
Quote · 17 Mar 2011

Now if the Admin wants to upload videos to the video section?

Answer my questions and you get love!
Quote · 18 Mar 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.