Organic Groups Basics

On this podcast, Bob dives into the basics of the Organic Groups module. Some people are confused about what OG is and how it can and should be used, so he'll talk about how to set it up, enable notifications, and theme the page so it's more exciting than the standard "river of news" that is enabled by default.

Good 'cast Bob! Presupposing OG is a given, is there ever cause to add specific newsletter functionality (e.g. Simplenews), or is it best to let OG handle everything? Thanks! -NP
The biggest problem I have with Organic groups is the way it seems to defy the standard theming of nodes for some themes. As such nodes posted in groups seem to theme differently. So a blog node looks different when made a group able node as opposed to being on its own. As a themer, how do you suggest getting around that? A podcast on more theming of OG content would be much appreciated. Thanks, NL.
NonProfit: Yeah, personally I think you can get away with using OG instead of simplenews quite often. They server slightly differnet purposes (simplenews for 'all' subscribers while OG is more targeted) but I think it's something to consider. NL: For theming, I'd recommend using the method shown in the podcast for creating then embedding views in your node-group.tpl.php. By doing this, and combining it with something like what's shown in the Views Row Theming episode you can use "fields" instead of "node" theming and get unique theme results for your OG views. Hope that helps.
Yeh, I kind of figured that might be my best approach. Thanks for the idea about checking the row theming podcast I forgot about that one. Neil (NL)
Thanks Bob. Not sure if rules can autocreate OG groups yet. Any ideas on how to do this or if there is a csv import facility to mass create og groups for a business directory. Any advice is appreciated. Thanks
Juciytoo, it seems like Node Import could get you most of the way there, especially if you customized it a little to allow settings for each group. If you're just creating groups (with all the same settings) this will do it out of the box. Just set the default settings, then import as nodes. If you need more complexity than that, it will give you a good starting point and you should be able to add any additional features for a custom import that you'd need. Good luck!
Thanks Bob.
Hey everyone, did anyone else have this problem... I downloaded Organic Groups from drupal.org, and i created a new install of drupal to test it on so i put the og folder into the modules folder. but when i went to enable it my moduels page is blank, it works fine when Og isnt in the modules folder (of course i can't enable it though) but hwen i put it in there and try and install it the page is bank? if anyone knows why this is happening please let me know :)
Hey Bob, Just a quick note to say thanks for all these podcasts, and keep up the great work. I'm sure I speak for a lot of people when I say you're doing some serious good. I'll continue to donate as necessary to keep this excellent podcast afloat.
This is an awesome podcast. I'm really looking forward to more, and I donated. I'd like to see a solution for users to upload videos into a gallery.
Hi Bob, Thank you for this nice Screencast again. You already made a podcast about image replacing, it would be interesting to do one about image replacing in Drupal menus. I have been looking around these last days to do that, and I found nothing that works. There is the "Imagemenu" module but it's not compatible with Taxonomy module. I think it could be useful for a lot of people. Thank you, Matt
For some reason I can't get the notification to work with my OG. I made sure I had everything checked and installed as you had in the podcast. Any pointers for me to go and look at?
Hi Bob, thanks for such a good instruction! There is one question that I have: I made two views(blocks) just like you did for node-group but for node-blog.tpl.php: Admin-Blog <?php $viewName = 'blog_admin'; $display_id = 'block_1'; print views_embed_view($viewName,$display_id); ?> User-Blogs <?php $viewName = 'blog_user'; $display_id = 'block_1'; print views_embed_view($viewName,$display_id); ?> But when I have this in my node-blog the two blocks are shown as many times as I have blog-entries (shown after the headline of each blog-entry). I don't know what I'm doing wrong...? In fact it makes sense to me because the node-blog is to show every node-entry. But why do you get the blocks only once? Would be wonderful if you have a hint! Thanks, Doris
I installed OG before and found it confusing. Its really powerful, but what I'm trying to achieve is have a website where I have lots of models of specific cars from different makes. I can then create an Organic Group for each model of vehicle and as a result have a private forum for each make / model. Ideally each group would have an image of the make / model on its homepage with details and a short paragraph on the model with a link to full node outlining the history of that vehicle. I haven't quite worked it out yet, but it seems like this may be the best approach.
Hello Bob, thank you for great video and description of using the views module. But I have one great problem with OG. When choosing the /og - to list all the groups, instead of list of groups I see an error: user warning: Unknown column 'n.nid' in 'on clause' query: SELECT node.nid AS nid, node.title AS node_title, og.og_description AS og_og_description, users.name AS users_name, users.uid AS users_uid, (SELECT COUNT(n.nid) FROM node n INNER JOIN og_ancestry oga ON n.nid = oga.nid WHERE n.status = 1 AND oga.group_nid = og.nid) AS post_count, (SELECT COUNT(*) FROM og_uid ou INNER JOIN users u ON ou.uid = u.uid WHERE ou.nid = og.nid AND u.status > 0 AND ou.is_active >= 1 AND ou.is_admin >= 0 ) AS member_count, node.created AS node_created, og.og_selective AS og_og_selective FROM node node LEFT JOIN og og ON node.nid = og.nid INNER JOIN users users ON node.uid = users.uid LEFT OUTER JOIN tracknstack tns ON tns.nid = n.nid WHERE ((tns.nid IS NULL OR tns.closed = 1)) AND ( (node.status <> 0) AND (node.type IN ('artysta')) AND (og.og_directory <> 0) )ORDER BY node_created DESC LIMIT 0, 90 in (...)/sites/all/modules/views/includes/view.inc on line 765. When choosing /og/my - list of my groups, all works fine, but when choosing the list of all groups.. Could you help in solving that problem? Thanks, David
When you embedded the view code it looks like you went a clicked on something that auto-generated the embed code? What are you using to do that? Do you have a catalog of Drupal code snippets?
When you embedded the view code it looks like you went a clicked on something that auto-generated all cars the embed code? What are you using to do that? Do you have a catalog of Drupal code snippets? That must be so. Read above