Postponed (maintainer needs more info)
Project:
Organic Groups Subscriptions
Version:
5.x-1.1
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Jun 2008 at 13:35 UTC
Updated:
2 Jan 2014 at 19:06 UTC
Jump to comment: Most recent
Comments
Comment #1
develcuy commentedUnfortunately subscriptions_og still not supports og 7.x #259029: How do I set up automatic subscription to Group?, and I'll be so busy for a while.
Blessings!
Comment #2
marcp commentedHaven't had time to test this yet, but you should be able to change all occurrences of:
to:
because og_get_types('group') will return an empty array if there are no node types configured as groups.
I'll attach a patch if and when I get this working unless someone beats me to it.
Comment #3
marcp commentedAttached is the patch. It makes all the changes above and one more change -- subscriptions_og_get_groups_by_types() now returns an empty array if there are no types configured as groups, and presumably if there are no nodes of any types that are configured as groups.
The installation now works cleanly on a site that has no nodes configured as group types, and I suspect installation will work as before when there are nodes configured as group types, but that has yet to be tested.
Comment #4
marcp commentedChanging version to 5.x-1.1-1 since it's still an issue with this version.
Comment #5
marcp commentedNote also that I haven't done a compatibility check with the rest of og5.x-7.2, but this patch ought to help the next person continue on down the path.
Comment #6
develcuy commentedThank you very much @marcp and @dalin for your effort on it. I went to Cusco city(Perú) 4 days ago so will take another week for me to check patches and perform test, but thank you again.
Blessings!
Comment #7
develcuy commentedI can't see any patch, but followed your comments, current dev version should install and migrate og notifications to subscriptions without issues. Please review http://drupal.org/node/272808#comment-896677 for further instructions.
Blessings!
Comment #8
marcp commentedYou mean I have to attach the patch and not just pretend that it's attached? I'm glad you got the code in there without it because I can't even find the patch now!
Might be a while before I get a chance to test this, though.
Comment #9
develcuy commentedHow does it goes?