Postponed
Project:
Content Type Administration by Organic Group
Version:
5.x-1.5
Component:
Code
Priority:
Normal
Category:
Feature request
Reporter:
Created:
26 Apr 2008 at 23:18 UTC
Updated:
27 Aug 2014 at 17:26 UTC
Jump to comment: Most recent
Comments
Comment #1
ajayg commentedThe help for default says " For the Default group, all ALLOWED content types will also be ACTIVATED."
What I am looking for is "all allowed content type is not ACTIVATED" by default.
If this is not possible, could you please suggest which lines of code I can patch so atleast I can try my own custom version.
I can understand why the default options was chosen. Usually you want the group members to create more content and given them that options. However I have some custom content type that I want only Group managers to create by default (unless they give this option to members).
Comment #2
Anonymous (not verified) commentedI would also like to have UNACTIVATED the default, or even better if there is an option for the site admin to check. For example in the admin/og/og_content_types/admin/0 setting have a box at the bottom saying:
Default Activation Status:
[] ACTIVATED
[x] UNACTIVATED
I played around with the module this morning, and I think this is the line of code (line 506):
Just set it to:
*****NOTE!!!!***** I am not a programmer... I hope rconstantine or others who know code better can verify this is a valid fix and won't screw something else up. I did a brief test and it seemed to work (prevented content creation to that node).
Comment #3
Anonymous (not verified) commentedI also forgot, you need to uncheck all allowed types, then allow them again for the above fix to start working.
Comment #4
ajayg commentedWhat proably needed a seperate checbox near each type
Allowed, Activated, Required
Since you will need atleast some type to work out of boz when a group is created.
Currently the way it is implemented in DB is there are only two records 1)Sitewide and 2)default. Only the groups which have been customized by group manager are added to this table. So if your group does not have entry, that means all of the content types are available to you. Once you disable once any item entry gets created for group in the DB and even if you enable it stays there. First I thought this was done for scalability (needing as many few records in the table) but I now I wonder if this is really the reason. Because a query is anyway required to check if the entry is there in the table or not.
Perhaps rconstantine can throw some light.
Comment #5
ajayg commentedAnybody knows?
Comment #6
Anonymous (not verified) commented@Ryan.
This sounds like a great feature but will need your input before we can agree on what is best to be done .I'll postpone this feature for implementation after migration to D6
Comment #7
Anonymous (not verified) commentedJust wanted to say I'm still hoping to see this implemented, it's quite important on my site, where you need to be a group admin in order to post most of the content (an educational site where teachers create content for students). The idea of having another checkbox of Activated next to the Allowed and Required columns would be great, then I could choose by type, rather than making them either all activated or unactivated by default (as per my hack). BTW, all the other bugs I noticed in the 5.x version which made this module hard to use out of the box has disappeared, kudos!!
Comment #8
baff commentedsubscribe
Comment #9
jvieille commentedDrupal is now 8, not yet addressed?