Return to Jive Software

1,725 Views 6 Replies Last post: Aug 5, 2009 4:18 PM by Vinh RSS
Janet Reitcheck Novice 217 posts since
Jan 14, 2009
Currently Being Moderated

Feb 26, 2009 3:38 PM

Remove ability to create a secret group

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.

Vinh Jive Employee 12,343 posts since
Apr 1, 2008
Currently Being Moderated
Feb 26, 2009 3:49 PM in response to: Janet Reitcheck
Re: Remove ability to create a secret group

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.

Vinh Jive Employee 12,343 posts since
Apr 1, 2008
Currently Being Moderated
Feb 26, 2009 4:03 PM in response to: Janet Reitcheck
Re: Remove ability to create a secret group

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

Nils Bolsen Beginner 420 posts since
Apr 10, 2008
Currently Being Moderated
Aug 5, 2009 8:55 AM in response to: Vinh
Re: Remove ability to create a secret group

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.

 

<li style="display:none"  <#if (groupType == secret.ID)>class="selected"</#if>>
Vinh Jive Employee 12,343 posts since
Apr 1, 2008
Currently Being Moderated
Aug 5, 2009 4:18 PM in response to: Nils Bolsen
Re: Remove ability to create a secret group
Thanks for the update, Nils.

More Like This

  • Retrieving data ...

Bookmarked By (0)

To better serve our customers we have included functionality to automatically follow up on a case after it has been idle for more than 5 days, and then auto close after an additional 3 days of inactivity. Choose No to acknowledge that this case will remain idle for longer than 5 days.
Making cases public allows other customers to learn from the solution of the case. It can also be used to gain feedback from others in the community. Ask our Support Engineers for more info, but we encourage you to make your cases public.