Closed (duplicate)
Project:
OG promote
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
26 Sep 2006 at 01:12 UTC
Updated:
19 Feb 2007 at 01:12 UTC
Any OG groups created as other node types (e.g. using CCK) are not recognized by og promote even though they function exactly as an OG.
Comments
Comment #1
Patrick Nelson commentedI can repro this. Anyone got a patch for it?
Comment #2
bomarmonk commentedI have reproduced this issue: using organic_promote with Drupal 4.7.5, CCK, and MySQL 4.0. The organic promote settings page displays the text "No groups: You need to create some groups."
Also, when editing and submiting a CCK node that has been designated as a "home page" for organic groups, I get the following message after installing OG promote:
warning: in_array(): Wrong datatype for second argument in /mypath/public_html/modules/og_promote/og_promote.module on line 25.
I hope this helps someone fix this problem!
Comment #3
bomarmonk commentedI also noticed that the page I am looking at displays the "choose a role" option, along with the available roles. I am wondering if this has something to do with how CCK fields are referenced, including the title in CCK with its flexible label? I don't know.
Comment #4
bomarmonk commentedHere we go! This isn't a fix for everyone, but this will get someone on the right track to fixing the module. My CCK content type is not identified as "Og" in the node table. Rather, it is labeled with a content type specific to the custom node type I created through CCK: "content_student_group_page." If I replace line 85, n.type = 'og', with n.type = 'content_student_group_page,' I appear to be in business! Somehow the query around line 85 needs to be edited to find CCK types. I hope that helps.
Comment #5
darren ohDuplicate of issue 109018.