Syncronize group

Events happening in the community are now at Drupal community events on www.drupal.org.
Cruell-1's picture

I use Drupal 6.x and PhpBB3 integration.
I defined into my Drupal a group named "raffreddato" and into phpBB forum a group with the same name.
I'd like to have syncro between this gruop.

To explain better: when PhpBB create an user, phpbb must check if that user is into a drupal-group and put it in the corresponding group into phpBB-forum.
Is it possible to do it automatically?

Thanks a lot

Comments

Can be done, requires some work

arkepp's picture

Can be done if you know how to code, but requires a bit of work. The base case is trivial (i.e. you create group with identical names in both systems and only then start adding users). But it gets tricky when you have existing groups, rename groups or naming mismatches. Also have to patch more places if you plan on supporting organic groups (users add themselves). Biggest question is when do you synchronize, or do you assume stuff is always in sync ?

Nice to hear you

Cruell-1's picture

Nice to hear you arkepp.
Sorry but I don't know php and how to trick this.
My problem is to syncronize this two groups. Only this two groups.
And i haven't other groups or Organic Group.
I'm the unique admin (it's a small sit with small forum) so I can manage all manually.
I'd like to always sync the two group but it can be enought to sync when phpBB create user.

I talk for explain my problem but it can be wonderfull if someone can make this trick for all groups.

(sorry for my english)

Thanks

Try this version

Justin W Freeman's picture

This is the newest version for drupal 6 - http://groups.drupal.org/node/12949#comment-85037

It has groups/roles syncing to the point where if you have a group in phpbb and a role in drupal that have the same name (case insensitive), users will be synced. So if you add a user to a role in drupal they will also be added to the group of the same name in phpbb. Syncing works in both directions.

You do have to manually create the groups and roles though.

phpbb

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: