Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.
Hi,
I want the "Allow members to upload photos and create albums" and the "Allow members to upload videos" to be set as allowed as default when creating new groups and then hide these photo and video options on this page.
Can you please point me in the right direction?
Thanks.
for this you must override Jomsocial template. please follow this steps:
1. copy groups.forms.php from /components/com_community/templates/default/ to /templates/your-template/html/com_community. (
documentation.jomsocial.com/wiki/Customizing_Template
)
2. edit that file
line 113: put this new code
<?php
$jinput = JFactory::getApplication()->input;
$task = $jinput->get('task', "", 'STR' );
?>
edit line 118 and 159:
from
type="text"
to
type="hidden"
edit line 130:
from
( $params->get('photopermission') == GROUP_PHOTO_PERMISSION_ALL)
to
( $params->get('photopermission') == GROUP_PHOTO_PERMISSION_ALL || $task == 'create')
dit line 170:
from
($params->get('videopermission') == GROUP_VIDEO_PERMISSION_ALL)
to
($params->get('videopermission') == GROUP_VIDEO_PERMISSION_ALL || $task == 'create')
and.. Done :-)
Please let me know the result. If you don't know how to do it. please provide me FTP access detail by editing this topic
Could you please provide me your FTP access detail at your Site Info? I will do it for you. Because the code little bit complicated, I will explain the changes after done.