Skip to:
Content
Pages
Categories
Search
Top
Bottom

Auto Create Group

  • @edelwater

    Participant

    Is there somewhere a piece of php code that shows me how to create a group via php?

    What I want is that as soon as someone uses in his text “#whatever” that #whatever turns in a link to a new group “whatever”.

    I think that Twitter’s #’s then nicely align with BuddyPress groups. (and nice to use with rss feed groups fillings)

    It will auto extend my groups and that other groups will be auto-filled with twitter rss feeds from #’s. It means that it can really fast become a copy of twitter :) :)

    I can then use track of the #’s used in a specific group to show “related groups”

    To limit this a bit I could set it so that only #’s from some prime groups create new groups and NOT that #’s from #’s create new groups.

    Hmmm… i think i need to write a plugin for it

    (i think that # in twitter = tag page in wordpress = group in buddypress) (unfortunately tag pages in wordpress do not allow conversations unless on specific posts, maybe with some tweaking of the p2 theme it can) (but groups are nicer).

    (a next step is look for related #’s / tags in delicious/stumbleupon etc… to find a nice set of related tags/groups)

    {what Im trying to achieve is replace my related tags code in my private weblog with a buddypress followup see e.g.: http://edward.de.leau.net/about/wordpress for each tag i display the related tags, for some tags I have created a special layout e.g. http://edward.de.leau.net/about/music what is a next step is to add some conversations and buddy press groups would be cool to somehow mix into that posts with a custom sidebar and heading)

Viewing 4 replies - 1 through 4 (of 4 total)
  • @nuprn1

    Participant

    the function groups_create_group in bp-groups.php

    @dwenaus

    Participant

    yes, there are no built in functions you can call to do this, because they all rely on the logged in user being the current user. So you’ll need to copy the relevant code from the function mentioned above and probably get the super admin to be the group admin.

    @edelwater

    Participant

    @avatarrocks

    Participant

    @edelwater Please let me know what is the progress of this particular function.
    I have a good use case scenario for this functionality,
    and it would be good to catch up on some collaboration.

    Please send me a message through here or at: http://www.vybee.com/members/avatar

    Look forward to catching on what we could do with this.

    – Jeff –

    .

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Auto Create Group’ is closed to new replies.
Skip to toolbar