• Hi guys,

    I have spammers who create Public groups.
    At the moment I (as admin/super admin) don’t get any notification on a group creation, so it becomes difficult to trace the spammers.

    Would it be possible to have an option setting something like “New groups should be approved by admin”.
    If ticked all Public groups should be approved first before they will appear in the web-site.

    OR

    I would be happy to receive at least a notification on a group creation. Do you know the way to get it?

    (I also don’t get notified on a new user registration, which I found is odd)

    Thanks heaps,
    Nat

    http://wordpress.org/extend/plugins/bp-group-hierarchy/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author David Dean

    (@ddean)

    That’s a great feature idea. Unfortunately, it’s for the BuddyPress core groups module, not for this plugin. 🙂

    If you know some PHP, you could add a function to the groups_create_group action that would send an email with the details.

    Thread Starter Expana

    (@expana)

    Thank you David!

    I know a bit of php, but still not clear what and where to put into buddypress php files…

    I will try to google something around your suggestion.
    I guess it should be something “if groups_create_group occurred then use mail function and send an email”

    (sorry, it may sound stupid :)) Don’t know what exactly to what. Only idea about the concept)

    Thanks anyway!
    Natalie

    Plugin Author David Dean

    (@ddean)

    The easiest place is probably your theme’s functions.php file.

    This should get you started: http://codex.wordpress.org/Function_Reference/add_action

    Thread Starter Expana

    (@expana)

    Thanks heaps David!
    This is what experience means – to quickly know where to look 🙂 Thanks!
    Natalie

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: BP Group Hierarchy] Would it be possible to have a "New groups should be approved by a’ is closed to new replies.