how to i remove the option for members to upload files videos and sounds? i do not mind videos and sounds as long as they are embed from other sites. I just want to cut down on what is stored on the web server.
how to i remove the option for members to upload files videos and sounds? i do not mind videos and sounds as long as they are embed from other sites. I just want to cut down on what is stored on the web server. | ||||
sounds are also uploaded on your server. only videos and photos have the embed option. You can uninstall the module you don't want from admin panel->tools->modules. so much to do.... | ||||
You can disable it via admin www.yoursitename.com/administration/nav_menu_compose.php look for Video and photos click photos and Videos make it non visible to members and guest untick the square.
Save changes. | ||||
sounds, files, and videos are dependents of group and wall mods. i don't want to uninstall them. i have tried to make videos embed only but it does not work, you can still upload. i have also made them not visible in the nav menu already, that is not the problem. the problem is in groups and on the wall you can still use them. i have found the html and css code in the template module template folder but i am really not sure if i delete their functions that it would have effects on the rest of the site? or is it something i have to remove in the db table? it would be much easier if the membership levels let me edit the default standard level. and i am still not sure it would work because the videos, files and sounds page can not be viewed but still upload on wall and in group pages. | ||||
You have to remove the integration manually from other modules. Or you can hide them also. You can remove the action buttons from sys_objects_actions table in DB and for wall i think some code needs to be changed or commented. so much to do.... | ||||
Mostly for now i want the wall done. no links to upload videos files or sounds | ||||
You can do this, just follow the steps. Open modules/boonex/wall/BxWallModule.php at line 294 comment this /*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'));*/ Hope it helps, Good luck so much to do.... |