solved I forgot where a certain groups setting is...?

Strumelia
Strumelia
@strumelia
9 years ago
3,605 posts
D'oh! Can't always remember how I set something long ago- hopefully someone can jog my memory...

Seems so obvious, but can't find it now. Two cups of coffee hasnt reset my brain either.
-How/where did I set things so that regular (non-admin) members are not able to create new Groups?
I checked out the 'enable on profile' box in the Group module under quota config, but it seems reg members have that enabled all this time and yet have still been prevented from creating groups....somehow i did it by another means or setting?
Thanks!


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015

updated by @strumelia: 02/14/17 12:03:38PM
brian
@brian
9 years ago
10,149 posts
In the Groups => Quota Config go to the quota you do NOT want users to have groups on their profile and uncheck "Allowed on Profile" and save. Users in that quota will then NOT be able to create groups on their profile. Let me know if that helps.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Strumelia
Strumelia
@strumelia
9 years ago
3,605 posts
Thanks Brian- that's what i did check to begin with. But as I said above:
"I checked out the 'allow on profile' box in the Group module under quota config, but it seems reg members have that enabled all this time and yet have still been prevented from creating groups....somehow i did it by another means or setting?"

Surely one of my over 3000 members would have created a new group over the past 18 months, because that setting has apparently always been checked to 'allow' for regular users all this time...?

Something else is at work on my site because: it's still checked to 'allow' for reg members quota but when I log in as a reg user, I DON'T get the "+" button to create a new group in my profile page Groups TAB. This proves to me that I must have some OTHER setting or code on my site that prevents non-admins or non-masteradmins from creating new groups...somewhere? That's what I want to find so I can adjust my other site accordingly, and just to know where/how I got that put into place on my site.


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
brian
@brian
9 years ago
10,149 posts
I'm not aware of anything else that affects this - if you have the "Allowed on Profile" CHECKED, then users in that quota should see a GROUPS option on their profile, and be able to create groups on their profile.

I'll let Paul follow up here though as he is more familiar with how the groups work than I am.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Strumelia
Strumelia
@strumelia
9 years ago
3,605 posts
Hmm...just noticed something strange...
in my active skin, I have an extra "item_detail" template for groups: one for jrGroup and one for jrGroups.
I think maybe the Groups one is a very old error? But I'd be afraid to remove it now! screenshot attached.
My new half built site which started as a clone off the original live site has it too...so it got cloned over there as well. Not sure if this has anything to do with this thread though.


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
Strumelia
Strumelia
@strumelia
9 years ago
3,605 posts
Ok yes maybe Paul had something to do with my groups setup long ago, and/or will guess what was done on my site in particular...since this was perhaps done way back in 'group infancy' days. Will you please point him here?- thank you Brian!


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
paul
@paul
9 years ago
4,335 posts
I don't remember creating 'jrGroups_item_detail.tpl' when first working on your site, but that isn't to say that I didn't. Have just searched your skin templates and can find no evidence of it being called so likely it is redundent, but what I's do is rename the template to 'xxjrGroups_item_detail.tpl', say then see if anything on the site breaks. If after a few days there is no reported problem, assume its ok to delete it, or maybe just leave it - its doing no harm and not taking much disk space!!


--
Paul Asher - JR Developer and System Import Specialist
Strumelia
Strumelia
@strumelia
9 years ago
3,605 posts
Thanks Paul, I'll do that.

But my original issue is still kind of a mystery that I want to solve as I'm building my new site, because as I outlined above:

The 'allow on profile' box for jrGroup is (and has been for who knows how long) checked YES for the reg members quota -but when I log in as a reg user, I DON'T get the "+" button to create a new group in my profile page Groups TAB. This means I must have some OTHER setting or code on my site that prevents non-admins or non-masteradmins from creating new groups...somewhere? That's what I want to find so I can adjust my other site accordingly, and just to know where/how that action is occuring on my site. (by 'that action' I mean that a quota is set to allow groups on profile, yet they are clearly NOT being allowed to create groups) What unidentified setting or code is controlling this on my site right now, is the question?


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
brian
@brian
9 years ago
10,149 posts
I've just tested this here and don't see any issues - the "+" button shows in the groups section to add a new group. Have you customized your group templates? Note too that I am running JR6 here as well.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Strumelia
Strumelia
@strumelia
9 years ago
3,605 posts
There have been many customizations to modules, including the Group module, in the past year and a half on my site.

I have a regular member I created, called The Member- i just checked their settings, and they are Member Quota (profile tab) and Standard User (account tab). Again, Member Quota is set to 'allow groups on profile' see screenshot 1. But when logged in as regular member TheMember, I don't get the button to create a new group (screenshot 2).
If I can't find how this is occurring, I'll never be able to change or adjust it for various quotas.
member allowed.jpg
member allowed.jpg  •  58KB




--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
Strumelia
Strumelia
@strumelia
9 years ago
3,605 posts
.
themember.jpg
themember.jpg  •  70KB




--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
brian
@brian
9 years ago
10,149 posts
I'm going to guess that you customized the buttons in that location and have it hidden. Do this:

- as a master admin visit the Groups page on a profile
- You should see the + button - next to it will be a button that says "configure these buttons and the order they appear in". Click on it.
- for the "Item Create Button" click on "Modify"
- make sure the "group" is set to "profile owners" and save

Reset caches.

Let me know if that helps.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Strumelia
Strumelia
@strumelia
9 years ago
3,605 posts
Brian- I have not checked that yet, but now you have me thinking-

If I do that and set the regular members Quota to NOT be able to create new groups, will any preexisting groups that were created by regular members suddenly not show anymore? (If so, then I think that would have been the reason i might have made the button modification instead. It's sounding like faintly familiar territory now.)


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
brian
@brian
9 years ago
10,149 posts
Correct - if you don't allow groups then NO groups will show on their profile.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Strumelia
Strumelia
@strumelia
9 years ago
3,605 posts
On the right track here Brian- I think that's definitely the REASON i originally had a customization- to prevent certain member's groups from disappearing (without changing the group's ownership, which could potentially piss some members off) while preventing members from creating NEW groups.
I believe on Ning you could set it so members could not create new groups, but it would leave existing groups in place.

However, here is a screenshot of when i'm on http://(mysite).com/core/item_action_button_modify/t=index/m=jrGroup/o=0
and it seems i'm ALREADY allowing all members to see the Create group button (i havent changed anything), yet again...the regular test member does not get the button. ??
button.jpg
button.jpg  •  78KB




--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
brian
@brian
9 years ago
10,149 posts
Try saving it again , then reset caches. If that does not work then we'd have to come on to your site and debug the issue since it's working here.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
brian
@brian
9 years ago
10,149 posts
I just checked in your database, and you have customized the item_index.tpl file for the groups module and have purposefully excluded the button:

            {*** ADDED: Only allow admins to create groups ***}
            {if jrUser_is_admin()}
                {jrCore_item_index_buttons module="jrGroup" profile_id=$_profile_id}
            {/if}

So you'll want to fix that if you want it to show for your users.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Strumelia
Strumelia
@strumelia
9 years ago
3,605 posts
Oh wow...yes! This is great because now I know exactly how/what was done. Thus, I know it's enabled for Admins only ...so if in the future or for my other site i might want to allow the creation of groups by some particular quota- at least I now know where the code is and it'd be a simple matter to add another quota to the code or to remove it to allow certain other quotas to create groups too...I'll know how to proceed while still keeping those pre-existing groups from disappearing.
Thanks very very much for taking the time to find where that customization was Brian. I'll mark this 'mystery' as solved.


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015