Closed (fixed)
Project:
Image Publishing
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Jun 2006 at 11:21 UTC
Updated:
12 Apr 2007 at 19:03 UTC
Images posted are all invisible to the normal users.
Image Publishing modue only uses node_save when creating images. This causes incompatibility an with some modules (eg. Organic Groups) that want to work on the post before save happens. Therefor Image Publishing Module should call node_submit before calling node_save....
This will help in case of Organic Groups because all nodes that have no groups attached are marked as public then.
Comments
Comment #1
bwynants commentedtested and it works...
Comment #2
pangloss commentedJust wanted to check in to say thanks for the fix. Still on vacation with limited internet access so will not be able to update cvs till I get back in early August.
Comment #3
bwynants commentedalso the comment setting is not correct
Comment #4
zach harkey commentedWhat is the status of this fix?
Comment #5
underpressure commented$node->comment = variable_get("comment_$node->type", COMMENT_NODE_READ_WRITE);When will this be corrected? I just had to manually edit 80 pictures to enable this feature and now have to do bout another thousand. Please fix this, for the sake of my wrist.
Comment #6
bwynants commentedthe code-snippits in this post should help you fix the problem, why wait? I adjusted the node_operations in node to be able to set te comments correct for submitted posts. 1000 edit or 1000 checkboxes :-) you choose
addition to node module, look for function node_operations
create a filter to show all images with the worn settings and correct them via yoursite/admin/node
Hope this helps
Bert
Comment #7
yngens commentedBert, I tried your code - unfortunately it does not allow to massively assign nodes to organic groups. Can you please advice how to make Image Publishing module to assign nodes to certain OGs or to make node editing massively assign already uploaded pictures to OGs?
Comment #8
bwynants commentedFor OG groups I have no solution. I do know that there are some special hooks in 5.0 to add actions but I never used them.....
I'm sorry
Comment #9
bwynants commentedThe maintainer of the module is on holiday. I can not commit changes in this project. therefor I placed the latest version in an archive on the web
All changes/fixes here have been committed to that archive.
The 5.0 module can be found on http://www.goju-ryu.be/image_pub.zip