[ZendTo] Re: Library of files on a 'per user' basis

Marlon R Deerr MDeerr at tgf.ca
Thu Jan 26 17:30:54 GMT 2012


Sounds good.  Got a couple questions:

1. Must we then manually create these library subfolders for each user
we wish to have access to their own library?
2. What happens if there are files in the top directory as well as a
user's specific library directory. Will that user see all sets of files?
3. I obviously want to keep my existing preferences.php file.  Is there
any new options in the updated version that I need to incorporate in my
existing preferences.php file?


Thanks,
Marlon

-----Original Message-----
From: zendto-bounces at zend.to [mailto:zendto-bounces at zend.to] On Behalf
Of Jules
Sent: January-26-12 10:34 AM
To: ZendTo Users
Subject: [ZendTo] Re: Library of files on a 'per user' basis

I've added per-user libraries. See the beta section of the downloads
page to get it!

What happens now is this:
If there is a sub-directory of the library directory named the same as
the logged-in username, that directory is used. If not, then the
top-level library directory is used.
I then gather a list of all the files in that directory.
If there are no files in that directory, the drop-down list is not shown
in the user interface at all.
If there are files, those are presented as a drop-down list.

The results are:
1. You have a "default" set of files in the top dir.
2. You can have a few users who have empty subdirectories and so never
see that the "library" functionality exists at all.
3. You can have an empty "default" top dir, but subdirectories for a few
users. Then most of your users will never see the "library" 
functionality exists, and only those few users who do have a
subdirectory will see it.

Use case for my site: we have 1 guy in our central IT service whose job
it is to send software media out to people all over campus.
He used to have to write CDs and DVDs and put them in the post!
Now he sends them as ISO images using ZendTo.
He is fed up of uploading the same files to different users over and
over again, so wants to use the "library".
I leave the top-level library directory empty, apart from just a
subdirectory for him.
*Only he* ever sees that the library exists at all, so all the other
users of the service on campus don't get confused by a thing they
can't/don't use anyway.
Result ==> Happy users, and happy guy in IT service !

I've released this as a beta. I've just put the DEB and the RPM on the
web site, you'll have to upgrade by downloading the relevant file and
then CentOS / RedHat / Fedora
     rpm -Uvh zendto-4.09-1.noarch.rpm
Ubuntu / Debian
     sudo dpkg --install zendto_4.09-1.deb And beware you don't hose
your /opt/zendto/config files by mistake!

If you don't have a recent version, and you use MySQL, you will need to
run the 2nd "mysql" command given in /opt/zendto/sql/README.MySQL to add
the necessary tables that the "library" uses.

Jules

--
Julian Field MEng CITP CEng
www.Zend.To

Follow me at twitter.com/JulesFM
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654

'It's okay to live without all the answers' - Charlie Eppes, 2011 'All
programs have a desire to be useful' - Tron, 1982 'That is the land of
lost content,
  I see it shining plain,
  The happy highways where I went,
  And cannot come again.' - A.E. Houseman

_______________________________________________
ZendTo mailing list
ZendTo at zend.to
http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto



More information about the ZendTo mailing list