By Alexandre Cayer on Friday, 20 March 2015
Posted in General Issues
Replies 7
Likes 0
Views 816
Votes 0
Hi Guys,

Group type is mandatory... however, I want to set it by default to invite only so that it can't be changed... however, it seems the option VIEW::appear during registration doesn't exist... prior to mandatory field, that was good but with upgrade I lost that. Any simple fix to add a turn ON/OFF for Group type with default as invite only ? That's something mandatory for our project.

Thanks
Hi Alex,

I am sorry for the late reply.
This is a customization of a core file of EasySocial. This modification will get override once you update EasySocial. You need to backup this file before updating EasySocial to the latest.
Here I have attached to you a file: /media/com_easysocial/apps/fields/group/type/themes/default/content.php

Hope this can help.
·
Friday, 20 March 2015 17:59
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks Mohd, this would make all group invite only however.
Wouldn't it be easier to add a visible_registration to the custom field conf (config.json)?

So for one category, i can set visible when registration to off with a default value of 3. What would I need to add to type.xml ?
·
Friday, 20 March 2015 18:30
·
0 Likes
·
0 Votes
·
0 Comments
·
{
"title": {
"default": "PLG_FIELDS_GROUP_TYPE_DEFAULT_TITLE"
},

"description": {
"default": "PLG_FIELDS_GROUP_TYPE_DEFAULT_DESCRIPTION"
},

"privacy" : false,

"default": 0
}
·
Friday, 20 March 2015 18:34
·
0 Likes
·
0 Votes
·
0 Comments
·
well the hidden now works... however, the default value, which i set to 3, doesn't work lol
·
Friday, 20 March 2015 18:44
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Alexandre,

I guess it's best that you hide the field for now The changes that you did on the config.json doesn't apply on what's displayed to the user. It's for the administration area only
·
Saturday, 21 March 2015 00:39
·
0 Likes
·
0 Votes
·
0 Comments
·
·
Friday, 27 March 2015 11:06
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Alex,

We are currently investigating on the issue on the forum http://stackideas.com/forums/group-permission-error . Let's continue from there instead to avoid confusion between us
·
Friday, 27 March 2015 16:47
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post