Taking http://groups.drupal.org/node/69908 as reference, I think that g.d.o needs a very flexible block to allow group "managers"(those who created a group) to publish the list of "group staff". All this according to their group topic. In order to KISS it, the idea is:
- Make title customizable, with a predefined value and list of suggestions
- In block config form, group manager should be able to add any member, along with an alternative "title"
- In block config form, display brief guideline highlighting that the block lists people that takes care of the actual group in some manner, not necessarily the local group, association, or any kind of organization. So they are just moderators mostly.

Comments

christefano’s picture

Perhaps we can team up on this once the existing code is checked into CVS? I believe greggles implemented the current "Group organizers" block and I'll ask about it the next time I talk with him.

develcuy’s picture

OK man, you have my skype, I will ping you during this week and feel free to do the same to move this forward, thank you!

greggles’s picture

Title: Group organizers block » Commit groupsorg.module to cvs.d.o

Hi guys, I'm keeping my eye on this.

I'd like to commit the entire groupsorg.module, though it is somewhat large and I want to review/comment it before I add it here.

christefano’s picture

Thanks, greggles. I think develCuy and I can survive the wait. ;)

develcuy’s picture

@christefano, guess that we can at least brainstorm and prototype on this right? tomorrow I'll be working on this in a local Code Sprint: http://groups.drupal.org/node/86359

christefano’s picture

So sorry, develCuy, I'm not going to be around this weekend.

My hope is to avoid duplication and see groupsdrupalorg.module (or whatever it's called) committed by those who already maintain it.

greggles’s picture

I reviewed/cleaned up/commented the code in this module today.

I'm asking for Moshe/Josh to give a thumbs up on committing it.

Here are the files included:

button_subscriptions.gif
drupalcon_banner.png
groupsorg.info
groupsorg.install
groupsorg.js
groupsorg.module
groupsorg.views_default.inc
cluetip (a directory)

I think the only things really active are groupsorg.module so I plan to remove most of the other stuff prior to committing.

greggles’s picture

Status: Active » Fixed
christefano’s picture

Is this the module that's running on groups.drupal.org? It doesn't have any drupal_alters in it like the one mentioned at http://groups.drupal.org/node/69908#comment-227373

greggles’s picture

It starts on line 43:


function groupsorg_og_links_alter(&$links, $node) {
44 	// We now provide this as a block of multiple users.
45 	unset($links['manager']);
46 	
47 	// @TODO
48 	// Only Knight Foundation group can make proposals.
49 	// For now handled at the permission level since Knight foundation is inactive.
50 	// if ($node->nid != 9328) {
51 	// unset($links['create_proposal']);
52 	// }
53 	
54 	} 

Maybe you were looking for the code for the block? That's entirely a view. I should export all of those and put them in here too if that is the case.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.