Needs review
Project:
OG Role Reference Field
Version:
7.x-1.0
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
6 May 2012 at 06:06 UTC
Updated:
8 Dec 2016 at 12:50 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
wjaspers commentedLooks like there are problems with my module and Organic Groups 7.x-2.x.
I am unaware of which version you're running (assuming og-7.x-1.x), but I'll look into it. Sorry this went unanswered for so long.
Comment #2
j4 commentedThank you. Would really love to get this going and yes i am using version 1
Comment #3
jhedstromChanging the title to keep this issue as a tracker of various tasks to get this module working with OG 7.x-2.x. Since a 2.x branch of this module already exists, that would be the logical place to make these changes.
Comment #4
ezheidtmann commentedThis is the first part of the port to OG 7-2, mostly just fixing the _validate() hook. I have not attempted to update the og_context code, but it works for global og roles.
Patch is against 7.x-1.0.
Comment #5
ezheidtmann commentedPrevious patch included a local kludge at the end; sorry about that. Here's a better one.
Comment #6
wjaspers commentedWonderful! Thank you for your patch. I'll review it this weekend.
Hmm, I can't get your patch to apply, but based on the code I've read, this looks pretty close to what direction I was thinking this could go.
Comment #7
ezheidtmann commentedHowdy, here's a patch against 7.x-1.0 for the code I'm using now with OG 7.x-2.x.
It is lacking og_context support, so it's really only useful when there are no group-specific roles in use.
I commented out some rules integration because it was broken for some reason (I've forgotten exactly why)
Comment #8
shevgenyI did not understand what makes this module, I have, after applying the patch, nothing has changed. Role OG does not appear in the settings field
Comment #9
anthonys commentedI have made the module for work for group specific roles using og_context(). See attached patch. To be applied on top of patch in #7.
I'm not sure how this module should work if you don't have an og_context, as I think you at least need the bundle to get the default group roles. I guess you might be able to get the default roles for new groups.
Comment #10
anthonys commentedIs there any chance we could release a version of this module now for og 2.x?