Blogs for groups v1.1

Release Notes

This plugin allow the creation of Blogs under groups. Every member of a group can create a blog and the group owner member can edit all of them.

This works like the blog plugin but is completly independent of it. You can use this if you want to allow make blogs only for the groups and not the users individually.

Version 1.1:

This version solves a bug when groupblog is pressed from a link from user's profile. Thanks Philip Hart to show me the problem and the solution!

You can make comments here...

  • Hi Ivan

    I installed the mod and when I click on New Group Blog it takes me to the Dashboard page. 

    The web server access.log learns me that php sends a 302 Moved. 

    I have a fairly basic installation, no themes, some default mods installed - no other changes. 

    Can you help me finding out what goes wrong?

  • I tested it on elgg 1.2, be shure that you have all requirements installed (curl libraries for example).

    This plugins requires that you have groups enabled also.

  • Hi I installed and I have the same bug... :-(

    Goes to dashboard when you try and write a blog

  • I installed this plugin today (January 29, 2009) and also updated to the latest ELGG codebase today (1.2).

    We have a LAMP server with curl and php-curl installed.  Group blogs is the only 3rd party plugin installed on the ELGG instance.  Everything else is part of the elgg standard package.  Groups are enabled and are working.

    When I enable the group blogs plugin, there is a large amount of php code that appears in the header area.  The rest of the page loads normally.  The error message is:

    Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4 <!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4; mso-font-charset:1; mso-generic-font-family:roman; mso-font-format:other; mso-font-pitch:variable; mso-font-signature:0 0 0 0 0 0;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4; mso-font-charset:0; mso-generic-font-family:swiss; mso-font-pitch:variable; mso-font-signature:-1610611985 1073750139 0 0 159 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-unhide:no; mso-style-qformat:yes; mso-style-parent:""; margin:0in; margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-fareast-font-family:Calibri; mso-fareast-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; color:black;} a:link, span.MsoHyperlink {mso-style-noshow:yes; mso-style-priority:99; color:blue; text-decoration:underline; text-underline:single;} a:visited, span.MsoHyperlinkFollowed {mso-style-noshow:yes; mso-style-priority:99; color:purple; mso-themecolor:followedhyperlink; text-decoration:underline; text-underline:single;} .MsoChpDefault {mso-style-type:export-only; mso-default-props:yes; font-size:10.0pt; mso-ansi-font-size:10.0pt; mso-bidi-font-size:10.0pt;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in; mso-header-margin:.5in; mso-footer-margin:.5in; mso-paper-source:0;} div.Section1 {page:SectionInvalid argument supplied for foreach()" in file /web/html/experimental/elgg/mod/messages/start.php (line 124), referer: http://hosturl/experimental/elgg/pg/admin/plugins/

    Any help appreciated. I have a project that requires a group blog, so I am anxious to find a way to make this work.

    Thank you!

  • Trying that again without the ms style mess. . . .

    I installed this plugin today (January 29, 2009) and also updated to the latest ELGG codebase today (1.2).

    We have a LAMP server with curl and php-curl installed.  Group blogs is the only 3rd party plugin installed on the ELGG instance.  Everything else is part of the elgg standard package.  Groups are enabled and are working.

    When I enable the group blogs plugin, there is a large amount of php code that appears in the header area.  The rest of the page loads normally.  The error message is:

    Invalid argument supplied for foreach()" in file /web/html/experimental/elgg/mod/messages/start.php (line 124), referer: http://hosturl/experimental/elgg/pg/admin/plugins/

    Any help appreciated. I have a project that requires a group blog, so I am anxious to find a way to make this work.

    Thank you!

  • Hi, Ivan

    I have same problem when i add a new blog. I go to the dashboard. ( group_guid is empty)

    Why not add a listbox with the list of the owner's group in the form "Add Blog group" when the group_guid is empty.

     

     

     

  • Hi.

    Wyatt: I think you have a problem with the plugin "message" as you can see in the error message. Of course, I can not be completly sure about that, the best will be that you disable all plugins a reenable it one by one to see what is the guilty!

    Lemm: I'll do that or something similar in the next weeks, unfortunatly I can not do it quickly. Thank you for error reporting.

     

  • Hi, Ivan

    To correct the problem, I just comment the line 66 in start.php.

    Users must add a group blog by the group's menu. -)

    I'am waiting for the next release.

    Thanks for your contribution

     

     

  • Hi,

    I installed and enabled this plugin to my 1.2 installation and even though my site is configured to use the English language your plugin was using the CA language.  My other plugins displayed English with no issues, but then I think this is because only the English language file was present with those plugins.  My work-around was to remove the CA*.php language files and only then I was able to view the plugin in English. 

    Perhaps this is an issue with Elgg 1.2 and not your plugin.  I'll need to investigate a little further unless you or someone else has more information.

    Thanks

    JB

     

  • Hi Ivan,

    Are you planning on adapting this to work properly with v1.5 ?

    As we use it, and have upgraded, so now it'll attempt to allow users to beable to create a blog in a group they have yet to join. its throws this 'IO exception: Unable to save new object's base entity information!'

    If you were, it be nice to be able to switch group blogs on and off, when editing a group.

    Cheers for any info.

  • Probably I'll adapt it when I have funding to work on it.

    I start a campaing to collect money to develop the kaltura plugin, but if I develop it, I can make this too. So, at this moment, I can't work without sponsors.

    http://community.elgg.org/pg/pages/view/53795/

  • Hi Ivan,

    I found your plugin and am testing it for use on our Elgg 1.5 site.  It seems to be working well on Elgg 1.5 without any modifications.  Thanks for the plugin. :)

    I made a few small changes to the plugin for our site.  They mainly address the "Goes to dashboard when you try and write a blog" bug that others have mentioned.  I am doing a workaround to remove the "User Menu"//"Tools" link to "Group blogs" entirely.  This keeps a Group's GroupBlogs pages contained within the Group itself, which is more consistent with the core Group Pages and Group Discussions plugins.

    I put our version of the code on Github here: http://github.com/ccnmtl/elgg-groupblog

    You can see the changes I made there -- they are very small:

    Anyway, just wanted to let you know, and to thank you for the plugin!

  • Thanks for your work. If more people thinks that this has to be the default behaviours, I can make a update of the plugin.

  • will this works on 1.7 or i need to make any modifications????

  • @rahulneo - Elgg 1.7 includes group blogs. You would use this plugin if you didn't want individual blogs but did want group blogs. If you want to know whether it works on 1.7, I recommend downloading it and installing it on a test install of Elgg.

  • Hi since this is realted to this feature I wanted to know if anyone here had any insight into this problem :

    In the Groups plugin on Elgg 1.7.1 which I just installed there are the links to Group Blogs, Group Bookmarks, Group Files, and Group Pages on the left hand sidebar under Group Discussion. The Group Discussion link works but the others do not, the difference is in how the links are structured.

    The Discussions link has this structure: /pg/groups/forum/{GroupIDNumber}/

    But the Blog link has this structure: /pg/blog/group:{GroupIDNumber}

    Here's the link structure for the rest of the broken links:

    Bookmarks - /pg/bookmarks/group:{GroupIDNumber}/items

    Files -/pg/file/group:{GroupIDNumber}

    Pages -/pg/pages/owned/group:{GroupIDNumber}

    The difference in the broken links and the one that works is the use of the colon and the group ID number and how it's placed in the structure, so this tells me that the issue is most likely one of the .htaccess not having the correct rewrite rule in place for this page handler rewrite, I checked the .htaccess that came with my install and it only has the two page handler rewrites that don't have any colon in the regular expressions to match.

    Also I checked under the groups folder in the mod section and there isn't any php files for blog or bookmarks or any of the links that don't work but there is a php file for forum which is the one that works.

    So if someone can let me know how to fix this I'd appreciate it, thanks.

Ivan Vergés

Php and Javascript developer.

Stats

  • Category: Uncategorized
  • License: GNU General Public License (GPL) version 2
  • Updated: 2014-11-17
  • Downloads: 2785
  • Recommendations: 0

Other Projects

View Ivan Vergés's plugins