Group Mods

  • Profile picture of @mercime
  • Profile picture of r-a-y
  • Profile picture of Hugo

Support: Creating & Extending

Existing and new plugins/components and themes.

"Auto Group Join" plugin added (31 posts)

Started 2 years, 7 months ago by: Westpointer

  • Profile picture of Westpointer westpointer said 2 years, 7 months ago:

    I’ve added a new plugin at http://wordpress.org/extend/plugins/auto-join-groups/

    Automatically join a member to a group based on a profile field. For example, say you have a profile field where the person selects his state from a drop down list. If he selects, New York, he’ll be automatically added to the group New York. Or, if you have a profile field for “Favorite Animal” and the member selects “Dog”, you could automatically have him become a member of the group “Dog’s Rule” and “Best Dog Food”.

    Comments and suggestions are welcome!

  • Profile picture of abcde666 abcde666 said 2 years, 7 months ago:

    cool idea !

    Is it compatible with BP 1.1 ?

  • Profile picture of Westpointer westpointer said 2 years, 7 months ago:

    Yes, it will work with BP 1.1.

  • Profile picture of John James Jacoby John James Jacoby said 2 years, 7 months ago:

    Nice work.

  • Hi Westpointer and everybody,

    I actually posted this two days ago but it seems my old username (alialib) couldn’t post publicly on forums for some reason.

    So I’ve tested the plugin with 1.1 and, unfortunately, it doesn’t work properly. It does work, but you have to hack it:

    ‘bn-auto-join-group’ on lines 122 and 88 of the plugin needs to be changed to ‘auto-join-groups’

    This will fix it. At the moment if you click ‘edit’ it directs you back to the dashboard, and ditto if you click ‘save’ having changed the urls and accessed the editing area.

    Hope this helps everybody. Westpointer Sir, great plugin, thank you.

    One suggestion: could you specify what group they join instead of having to put parameters in? This would make it perfect I reckon.

    Cheers all.

  • Profile picture of r-a-y r-a-y said 2 years, 7 months ago:

    Wow… how did I miss this thread? :)

    Need to test this for sure!
    Thanks for this plugin, westpointer!

  • Profile picture of Mariusooms Mariusooms said 2 years, 7 months ago:

    One suggestion: could you specify what group they join instead of having to put parameters in? This would make it perfect I reckon.

    +1, indeed…we have many different courses. Instead of matching param it would be a very welcome feature to match group names manually to select options.

    Great plugin already though!

  • Profile picture of bcbccouk bcbccouk said 2 years, 7 months ago:

    Thanks testalib — I was looking through the code myself to try to find what was wrong!

    Users don’t seem to get automatically added to groups during registration/activations on my setup for some reason. Is there something wrong with the hooks? The functionality does when when users edit there profiles.

  • Profile picture of abcde666 abcde666 said 2 years, 7 months ago:

    @Westpointer:

    your plug-in-website still says:

    “What version of BuddyPress is needed?
    This plugin was tested with version 1.0.3 of BuddyPress.”

  • Profile picture of Westpointer westpointer said 2 years, 7 months ago:

    Thanks for the input! I was confused when I posted the version information. I’m away from my main work computer right now so I can’t absolutely verify but I believe the version needs to be AT LEAST BuddyPress 1.1. The version of the plugin I posted does not work with 1.0.3.

    I’ll update the plugin on Monday and confirm version information.

  • Hi, I’ve tried the plugin with buddypress 1.1.1, the last stable version.

    First I fixed the directory name (rename to “bn-auto-join-group”), then the admin section works well. Otherwise when new user registers it doesn’t happens nothing.
    Plugin works only if an existing user change its informations or if I disable an reactivate plugin.

  • also in http://buglenotes.com/ plugin doesn’t work

  • Profile picture of Westpointer westpointer said 2 years, 7 months ago:

    Hey Guys – the hook that used to work at activation was no longer doing the job. I have a new file available. Please send me a message with your email addy and I’ll send it for testing.

    Thanks!

  • Profile picture of Westpointer westpointer said 2 years, 7 months ago:

    ‘bn-auto-join-group’ on lines 122 and 88 of the plugin needs to be changed to ‘auto-join-groups’

    Sorry I missed that. The file was suppose to be named bn-auto-join-group.php. I was confused by how the WP repository works. :-(

  • Profile picture of Westpointer westpointer said 2 years, 7 months ago:

    Updated plugin available here at my test site! Now, how do I update on WP …

    http://brentandmary.net/2009/10/24/bn-auto-join-group-plugin/