Active
Project:
Conference
Version:
6.x-1.2-beta2
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
29 Apr 2010 at 19:14 UTC
Updated:
23 Apr 2013 at 03:01 UTC
I would like to be able to turn the submissions into an online program. I've mucked around and made it so that people don't upload documents; it's all CCK fields, so it's just a matter of being able to display the nodes. However, it looks like there is no way to add viewing permissions to anonymous or authenticated viewers.
At the very least, is there a code snippet I could change that opens up the permissions?
Comments
Comment #1
manez commentedI know this is probably way too late, but for the sake of anyone searching, here's my solution for the feature above:
To "publish" existing papers that have been accepted (make them viewable to everyone, not just the author/conference manager):
In conference.admin.inc
Change line 377 to:
db_query( $sql ."n.nid, 0, 'conference_all', 1, 0, 0 FROM {node} n LEFT JOIN {conference_decision} d ON n.nid = d.pnid WHERE ((type != '%s') AND (type != '%s')) OR ((type = '%s') AND (d.decision = 1))", $ctype_paper, $ctype_review, $ctype_paper );Then update permissions table.
To handle new/edited decisions as they happen:
In conference.module, function conference_manage_decision_make_submit
Change case 1 from:
to: