solved Three quick questions about Groups

Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
1) I know how to 'lock' a Forum discussion in my site's Forum area. I'm not seeing away to lock a discussion that's in a Group. ? ('lock' meaning prevent new posted replies by non-admins)

2) Can I remove the Comment Wall from only certain Groups of my choosing? Some of my groups do way better without having a Comment wall that dilutes their focus. Most of my Groups do great with having a comment wall.

3) I assume there is a relatively easy way to CLEAR out a Group comment wall of all comments when it gets huge and outdated after a couple years, and let it start over with a fresh clean slate?
Can the Batch editor do this?

thanks!


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

updated by @strumelia: 05/21/15 03:08:05PM
Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
Any help on these questions? Thanks


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
michael
@michael
9 years ago
7,746 posts
3. the batch editor is for making mass updates to datastore items. It can probably handle deleting a bunch of group stuff.

Probably better if there is a ton of it is to construct a nice SQL query to do it in one go. Thats not copy+paste stuff though. When you need it, let me know.

2. First thoughts are add an admin only Form Designer field with the id's of the groups you want to get rid of (or keep whichever way is easier)...... Then surround the group wall in the templates with a check for those id's to hide that section.

There are a couple of other ways to do it too, the key point in choosing the way is going to be: "How do you select whether the wall should be shown or not. Who gets to do that, the admin user or the profile owner."
Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
Thanks Michael. I have like 62 groups, about 50 of which I created. My members are not allowed to create or edit new groups, so it'd be me, as Admin, who controls such things on my site. I only want to hide the Group Comment Wall for maybe 3 or 4 of my Groups.
So, the first part of your answer to #2 sounds like the easiest.

As to clearing out the group comment wall on occasion, I am guessing i'd only need to do that about once a year (and I've already done this housecleaning over on my ning site, so they are trimmed down already)...so thank you I will contact you when I need to start doing this, maybe a year from now. :)


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

updated by @strumelia: 04/02/15 10:11:58AM
Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
Ok just trying to resolve this thread-
... I never got to an answer for my first question:
1)I know how to 'lock' a Forum discussion in my site's Forum area. I'm not seeing away to lock a discussion that's in a Group. ? ('lock' meaning prevent new posted replies by non-admins)


and
"2. First thoughts are add an admin only Form Designer field with the id's of the groups you want to get rid of (or keep whichever way is easier)...... Then surround the group wall in the templates with a check for those id's to hide that section."

Yes I would like to be able to designate just a handful of groups so that their Comment Walls will be completely hidden from members (in effect non-existent). And I as admin would be making those choices.
I really don't know how/where exactly to do this though.


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
gary.moncrieff
gary.moncrieff
@garymoncrieff
9 years ago
865 posts
1. There is no way to lock in the group forum. I imagine this is because the Group discussions are basically a story with a comment thread. What might be needed here is an update to the comments module to allow some sort of no more comments option.


updated by @garymoncrieff: 04/14/15 10:46:45PM
Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
Thanks Gary, -I do see what you mean...that Group 'discussions' seem like a post with a comment wall included. Yet on my site they are called group Discussions and the Group members do hold all their discussions in them. (and the Group itself has its own overall comment wall)
I see now that on Ning, we admins only get the choice of Edit, Delete, or Feature those Group 'discussions' as well. I had mistakenly thought that I was able to lock those. So probably I'm being unrealistic, or greedy.
I'm gonna say that this particular thing is not a big priority for me and let it go at that. :)

However, the other thing (#2) I DO think I need to get done, because I've had problems on some isolated groups with members using the group comment wall for all their long disucssions, so I'd like to address this one issue, but I'd need help:

"2. First thoughts are add an admin only Form Designer field with the id's of the groups you want to get rid of (or keep whichever way is easier)...... Then surround the group wall in the templates with a check for those id's to hide that section."

Yes I would like to be able to designate just a handful of groups so that their Comment Walls will be completely hidden from members (in effect non-existent). And I as admin would be making those choices.
I really don't know how/where exactly to do this though.


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
gary.moncrieff
gary.moncrieff
@garymoncrieff
9 years ago
865 posts
A better solution for no 2 if you want complete control would be add it as a Skin setting.

You add new settings in the skins config.php file, I'll assume you're using Ningja. So something like

    // Hide Group Comment Wall
    $_tmp = array(
        'name'     => 'hide_group_comment_wall',
        'default'  => '',
        'type'     => 'text',
        'validate' => 'not_empty',
        'label'    => 'Hide Comment Wall',
        'help'     => "Enter the group ids of the comment walls you wish to hide, separate using commas",
        'section'  => 'groups',
        'order'    => 54
    );
    jrCore_register_setting('jrNingja', $_tmp);

to be added before the return true; line

In order for new settings to show in the skin, you must run an integrity check.

I would need someone from the team to show what exact code to wrap the comments box in code however. Remember if you go this route make sure your using a clone of the skin otherwise skin updates will overwrite this change.
updated by @garymoncrieff: 04/15/15 10:48:33AM
Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
Ah, good suggestion...maybe the Team can confirm or add to this here, and then I can test it?
Yes I always make changes to my active custom skin, never to the Ningja 'mother' skin.
Thank you my friend!


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
alt=
@restmin
9 years ago
114 posts
@strumelia - what happened with this? I am using Slate, but with the move I decided to abolish the comment wall. No one used it in the right way and it overwhelmed new members because nothing was organized.

I just want to delete the comment wall from all my groups (or the content could stay in the "archived files" but I don't want anyone to see it.)

[Besides, I told them it wouldn't import here--which is what I thought--and I have just got them to get more familiar with the forum board]
Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
I still have not gotten to finding out how to hide Comment Wall on particular groups.


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
alt=
@restmin
9 years ago
114 posts
around and round we go!
paul
@paul
9 years ago
4,331 posts
In the Group module template item_detail.tpl lines 87-90 inc.
Remove or comment them out.
If you want to only remove it for particular groups wrap the code in an {if . . .}{/if} clause.


--
Paul Asher - JR Developer and System Import Specialist
brian
@brian
9 years ago
10,148 posts
Strumelia:
I still have not gotten to finding out how to hide Comment Wall on particular groups.

There is now a setting for this in the latest Group Support module - when creating or modifying a group you can check/uncheck the "Allow Comment Wall" on the group config.

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
alt=
@restmin
9 years ago
114 posts
YES! Thank you!!
Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
Wow that is soooo great. Makes it so easy for us now! THANK YOU!!!!


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