Is it possible to remove the ability to create secret groups? We still want all users to create Open, Members Only and Private groups. We just do not want to allow secret groups.
It's not possible to do this in the UI itself, but you can customize the theme to remove this option. Let me know and I can provide some pointers on where to look.
Pointers would be greatly appreciated.
In the /template/socialgroup/socialgroup-form.ftl template, you'll want to remove this piece of code:
<#assign secret = enums['com.jivesoftware.community.socialgroup.SocialGroup$Type'].SECRET/>
<li <#if (groupType == secret.ID)>class="selected"</#if>>
<input type="radio" name="groupType" id="jive-socialgroup-type-${secret}" value="${secret.ID}" <#if (groupType == secret.ID)>checked="CHECKED"</#if> onclick="groupTypeChange(this);" />
<label for="jive-socialgroup-type-${secret}" class="jive-grouptype-secret" onclick="groupTypeChange(this);">
<@s.text name="sgroup.form.type.secret.label" />
<span class="jive-form-label-desc"><@s.text name="sgroup.form.type.secret.text" /></span>
</label>
</li>
Let me know if that didn't answer your questions.
Also, can I make this case public for anyone else with a similar question?
Thanks,
Vinh
Sure, you can make this case public. Thanks for your help.
Hi Vinh,
we also need to remove the creation of secret groups. We have removed the section of the /template/socialgroup/socialgroup-form.ftl.
But now, current secert groups are getting open groups once they have been edited.
How can we work around this?
We do not want our users to create secret groups, but existing secret groups should remain as they are. And most importantly, should not be changed to open groups after an edit.
regards,
Nils
UPDATE:
It seems that adding style="display:none" the first line to works fine.
<listyle="display:none"<#if (groupType == secret.ID)>class="selected"</#if>>
Jive combines collaboration software, community software & social networking software into the leading SBS solution.
© Copyright 2000–2009 Jive Software. All rights reserved.
915 SW Stark St., Suite 400, Portland, OR 97205