> --
> You received this message because you are subscribed to the Google Groups "ResourceSpace" group.
> To post to this group, send email to resour...@googlegroups.com.
> To unsubscribe from this group, send email to resourcespac...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/resourcespace?hl=en.
>
>
--
Tom Gleason, PHP Developer
DBA Impressive Design
Exploring ResourceSpace at:
http://resourcespace.blogspot.com
On Apr 9, 6:49 pm, Tom Gleason <theorysav...@gmail.com> wrote:
> No, I don't think there is a way to do that automatically at this time.
>
>
>
> On Fri, Apr 9, 2010 at 11:08 AM, Kevin Shenk <kevinshenkm...@gmail.com> wrote:
> > I am setting up a ResourceSpace installation for a very small business
> > where the software will only be used internally. There are only a few
> > users and they each only add resources which they want to make
> > publicly available to all the other users. Right now we have to
> > manually set each collection aspublicafter all of the images are
> > uploaded. Is there any way to make all new collectionspublicby
> > default?
>
> > --
> > You received this message because you are subscribed to the Google Groups "ResourceSpace" group.> To post to this group, send email toresou...@googlegroups.com.> To unsubscribe from this group, send email toresourcespa...@googlegroups.com.
> > For more options, visit this group athttp://groups.google.com/group/resourcespace?hl=en.
> For more options, visit this group at http://groups.google.com/group/resourcespace?hl=en.
I'd like to voice my support for the idea of a configurable default option for public/private collections.
For developers who create non-public sites, i.e., those used for internal photography workflows, this would be very handy so that all members of a team could have access to the collection when the workflow requires it.
Would anything more be required than this (not sure what else would be affected)?
function create_collection($userid,$name,$allowchanges=0,$cant_delete=0) {
global $collections_public_by_default;
$public = $collections_public_by_default ? '1' : '0';
# Creates a new collection and returns the reference
sql_query("insert into collection (name,user,created,allow_changes,cant_delete, public) values ('" . escape_check($name) . "','$userid',now(),'$allowchanges','$cant_delete', $public)");
return sql_insert_id();
}
Also, couldn't a checkbox be added to the Upload page so that the choice could be made there?
Thanks.
Jim