Skip to:
Content
Pages
Categories
Search
Top
Bottom

New Groupblog Plugin

  • Avatar of Mariusooms
    Mariusooms
    Participant

    @mariusooms

    My and my collegue needed to extend the group functionality using the wpmu blogs. They needed to integrate closer.

    We created a ”Groupblog” plugin which adds an extra form to the Group Admin Settings page. There the admin has a check box to enable the group blog followed by a drop down to select which group to associate with the group.

    Various templates can be implemented, currently we have two. One displays the latest blog posts on the Group home page along side the wire and forum activity. The second one is a template that links from a new menu item in the optionsbar named ’Blog’.

    Each template uses basic wp template tags within the wp post loop to contruct whatever output from your blog you’d like to show on your group.

    It is a basic concept on which could be build on extensively. Also since it is our very first plugin, the code could potentially be better. We followed the skeleton component guidelines and it seems to work fine at the moment.

    Future things we’d like to implement is blog registration along side the group creation. Much like how the user signup offers to sign up a blog. This could be useful especially when disabling user blog and only allow groups to have blogs. Or when you only allow one blog per user at signup.

    Is there any need for this functionality from the BP community? And if so, please realize it is early stage and could use help from more veteran developers to optimize and enhance the code.

Viewing 25 replies - 26 through 50 (of 83 total)
  • Avatar of Mariusooms
    Mariusooms
    Participant

    @mariusooms

    Thanks David that is exciting to hear. Let me know if you run into any trouble, which I don’t expect, but there are always unforeseen circumstances.

    Avatar of Mariusooms
    Mariusooms
    Participant

    @mariusooms

    The plugin is now available at wordpress.org

    http://wordpress.org/extend/plugins/buddypress-group-blog/

    Avatar of Mattlay
    mattlay
    Participant

    @mattlay

    This is great work thank you! I was wanting this exactly. It seemed the groups had a missing piece and now it is filled.

    Avatar of Peterverkooijen
    peterverkooijen
    Participant

    @peterverkooijen

    Where can I get “the latest trunk of BP”?

    Avatar of Peterverkooijen
    peterverkooijen
    Participant

    @peterverkooijen

    I guess this is the latest trunk. Is there a faster way to download this thing or is file by file the only option?

    Avatar of Mariusooms
    Mariusooms
    Participant

    @mariusooms

    You have to check it out using a svn client. That can be different depending what platform you work with.

    However BP trunk is going through some major updates right now, so you might want to wait just a little bit longer as the trunk gets closer to an official release.

    Avatar of Peterverkooijen
    peterverkooijen
    Participant

    @peterverkooijen

    OK, good point Mariusooms. I’m eager to test this… :-)

    Avatar of ajiao
    ajiao
    Participant

    @ajiao

    test show that failed to open stream: No such file or directory in /var/www/vhosts/×××××××××/httpdocs/wp-content/plugins/buddypress-group-blog/bp-groupblog.php on line 26

    Avatar of Mariusooms
    Mariusooms
    Participant

    @mariusooms

    * Deactivate plugin

    * Rename ‘buddypress-group-blog’ to ‘bp-groupblog’

    * Make sure the ‘groupblog’ folder is moved to your active member theme as explained in the readme.

    P.s. The plugin accidentally was added to the wp repository under the wrong name. It is currently being rectified so that the path will actually be correct in regards to the plugin name, namely bp-groupblog.

    Avatar of newbie999
    newbie999
    Participant

    @newbie999

    Hello. I’m a newbie and just created a test site up with buddypress/wordpress/bbpress. Everything looks good. I installed this plugin and followed the directions. However, when I activate it, I get this error:

    Fatal error: Class ‘BP_Group_Extension’ not found in /home/ieconnec/public_html/isocal/wp-content/plugins/bp-groupblog/bp-groupblog-classes.php on line 105

    I’m running buddypress 1.0.3 and wordpress mu 2.8.4a. Any help you can provide will be much appreciated. I would like to be able to use this plugin.

    Avatar of Mariusooms
    Mariusooms
    Participant

    @mariusooms

    This plugin is not compatible with BP 1.0.3 and will not be. Please wait for BP 1.1 or use trunk at your own risk.

    Avatar of Nicola Greco
    nicolagreco
    Participant

    @nicolagreco

    Is your plugin compatible with 1.1?

    Avatar of Mariusooms
    Mariusooms
    Participant

    @mariusooms

    Yes…it was developed since the group api came into existence after bp 1.0.3. Currently it is still undergoing changes as trunk is changing rapidly. We are also adjusting theme structure to match the current parent/child structure.

    However it should already work, along some minor bugs, with the current trunk.

    An official 1.1 release of the plugin will come out at bp 1.1′s release.

    Avatar of Nicola Greco
    nicolagreco
    Participant

    @nicolagreco

    Nice Mariusooms,

    i’ll wait the stable release, i’ll run it on a production server when it’s done.

    It means i’ll contribute, sending patch with my code :)

    I love gpl

    Avatar of Tore
    Tore
    Participant

    @toregus

    This seems highly interesting!

    Hey Marius, great plugin. Just testing it on a test-install…

    One question: Did you think about implementing a feature, that a group could be connected with a existing blog? Would that be possible? Some blogs are already existing and it would be great to connect it with your plugin to a group…

    Avatar of Mariusooms
    Mariusooms
    Participant

    @mariusooms

    We are actually trying to make the commit this feature now, but are having svn issues.

    On a note though…this feature to select an existing blog can only be done once. When a group has a blog associated with it can not be changed.

    This decision was due to the fact that many weird things can happen when a blog gets dissociated. In the near future we are adding a site admin option to dissociate group blogs upon request by the group admin. In turn the group admin can choose a new existing blog.

    Great! Thanks!

    Avatar of Mariusooms
    Mariusooms
    Participant

    @mariusooms

    The new feature to select an existing blog is now available. We also fixed some other bugs.

    There is only one (known) bug left, which we will squash on Monday. Namely member roles are not set upon creation, but they are set when saving the 2nd time around form the admin as explained in the readme.

    http://wordpress.org/extend/plugins/bp-groupblog/

    Avatar of abcde666
    abcde666
    Participant

    @erich73

    @Mariusooms

    - can I have a Group-Blog instead of the BBPress-Forum ?

    - I would like to disable User-Blogs for each single user, but instead have a Group-Blog using P2-theme. Does this work with your plugin ?

    - Is your plugin compatible with BP-version 1.1 ?

    - what is the difference from your Group-Blog-plugin compared with the one from Burt ?

    http://wordpress.org/extend/plugins/bp-community-blogs/

    Many thanks,

    Avatar of abcde666
    abcde666
    Participant

    @erich73

    sorry, but another question: what is a “Group-Blog” and how does it work ?

    - the Admin creates just ONE Blog for a certain group at which every user can contribute ?

    OR

    - each User is allowed to create his own “Group-Blog” at which other users can contribute ?

    Please explain how this works.

    Also, I am curious about:

    having a Group-Blog, having a Group-Forum, having the Wire ? Where are the differences ? What are the advantages / disadvantages of each ?

    Does it make sense to have all 3 of those ?

    Many thanks,

    Erich

    Avatar of Mariusooms
    Mariusooms
    Participant

    @mariusooms

    Each group can have only one blog attached to it, much like each group has a forum and a wire. Since it is an extension of the group, each member is added to the blog automatically with a predefined role cap. Just like each member can participate in forums.

    Each component has a different role and it is up to you which you would like to have enable or disabled. Per definition:

    - The wire acts like quick comments for the group, text only.

    - Forums allow deeper discussions related to the group and are not as linear as the wire.

    - Blogs have even greater functionality as you can have categories and tags, also, you have more post options such as photos and videos. Blogs have all WP plugins available to them, so your options for the group are endless.

    Since you can build wp post loops in the group page there is a lot you could do with it. It is up to your imagination. If something would be obsolete, it would be the wire, as forum discussions supersede those.

    The group creator has option to enable all, disable all, or any possible configuration. Each component will not show up when disabled as not to create confusion.

    I hope that helps and thanks for your interest.

    Avatar of Mariusooms
    Mariusooms
    Participant

    @mariusooms

    - I would like to disable User-Blogs for each single user, but instead have a Group-Blog using P2-theme. Does this work with your plugin ?

    Yes, this one of the nice features. You can have blog creation disabled for users, but groups can still create blogs.

    - Is your plugin compatible with BP-version 1.1 ?

    Yes, it was build on bp1.1 architecture.

    - what is the difference from your Group-Blog-plugin compared with the one from Burt ?

    I admit, I am not super familiar with Burts plugin, but I believe Burts plugin is focussed on a single blog with defined (by the site admin) groups to able to post in to.

    The groupblog plugin has a single blog for each single group. So the blog is unique to the group. Also, I don’t know if Burt will adopt his plugin to bp1.1, you could ask him.

    Avatar of Mariusooms
    Mariusooms
    Participant

    @mariusooms

    Also…when you find issues, please open a new new forum topic, so it stays manageable for everybody :)

    Avatar of abcde666
    abcde666
    Participant

    @erich73

    Hi Marius,

    many thanks for your answer and your work to create this plugin for version 1.1 !!!

    I am looking forward to using this.

    - is it possible with BP to disable the “Wire” ?

    - is it possible to use P2-theme in your “Group-blog” ?

    - are there any language-related wording in your plugin (at the user-interface) which need to be translated when I would like to run your plugin for a german-language-website ?

    Thanks again !

    Erich

Viewing 25 replies - 26 through 50 (of 83 total)

You must be logged in to reply to this topic.