<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {mso-style-priority:99;
        mso-style-link:"Plain Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.5pt;
        font-family:Consolas;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.PlainTextChar
        {mso-style-name:"Plain Text Char";
        mso-style-priority:99;
        mso-style-link:"Plain Text";
        font-family:Consolas;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:662464777;
        mso-list-type:hybrid;
        mso-list-template-ids:-1290791434 269025295 269025305 269025307 269025295 269025305 269025307 269025295 269025305 269025307;}
@list l0:level1
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1
        {mso-list-id:1857452803;
        mso-list-type:hybrid;
        mso-list-template-ids:-879465422 269025295 269025305 269025307 269025295 269025305 269025307 269025295 269025305 269025307;}
@list l1:level1
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-CA link=blue vlink=purple><div class=WordSection1><p class=MsoPlainText>Ok, I think I have answered questions 1 &amp; 2.&nbsp; I have manually created a folder for a user and tested this out. All seems to work as explained. Is there no way to allow users to see what is also in the &#8216;default&#8217; top directory even if they also have files in their own personal directory folder? (i.e. the drop-down will display all documents in both sets of folders)<o:p></o:p></p><p class=MsoPlainText><o:p>&nbsp;</o:p></p><p class=MsoPlainText><o:p>&nbsp;</o:p></p><p class=MsoPlainText><o:p>&nbsp;</o:p></p><p class=MsoPlainText><o:p>&nbsp;</o:p></p><p class=MsoPlainText><o:p>&nbsp;</o:p></p><p class=MsoPlainText><o:p>&nbsp;</o:p></p><p class=MsoPlainText><o:p>&nbsp;</o:p></p><p class=MsoPlainText><span lang=EN-US>-----Original Message-----<br>From: zendto-bounces@zend.to [mailto:zendto-bounces@zend.to] On Behalf Of Marlon R Deerr<br>Sent: January-26-12 12:31 PM<br>To: ZendTo Users<br>Subject: [ZendTo] Re: Library of files on a 'per user' basis</span></p><p class=MsoPlainText><o:p>&nbsp;</o:p></p><p class=MsoPlainText>Sounds good.&nbsp; Got a couple questions:<o:p></o:p></p><p class=MsoPlainText><o:p>&nbsp;</o:p></p><p class=MsoPlainText>1. Must we then manually create these library subfolders for each user we wish to have access to their own library?<o:p></o:p></p><p class=MsoPlainText>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?<o:p></o:p></p><p class=MsoPlainText>3. I obviously want to keep my existing preferences.php file.&nbsp; Is there any new options in the updated version that I need to incorporate in my existing preferences.php file?<o:p></o:p></p><p class=MsoPlainText><o:p>&nbsp;</o:p></p><p class=MsoPlainText><o:p>&nbsp;</o:p></p><p class=MsoPlainText>Thanks,<o:p></o:p></p><p class=MsoPlainText>Marlon<o:p></o:p></p><p class=MsoPlainText><o:p>&nbsp;</o:p></p><p class=MsoPlainText>-----Original Message-----<o:p></o:p></p><p class=MsoPlainText>From: <a href="mailto:zendto-bounces@zend.to"><span style='color:windowtext;text-decoration:none'>zendto-bounces@zend.to</span></a> [<a href="mailto:zendto-bounces@zend.to"><span style='color:windowtext;text-decoration:none'>mailto:zendto-bounces@zend.to</span></a>] On Behalf Of Jules<o:p></o:p></p><p class=MsoPlainText>Sent: January-26-12 10:34 AM<o:p></o:p></p><p class=MsoPlainText>To: ZendTo Users<o:p></o:p></p><p class=MsoPlainText>Subject: [ZendTo] Re: Library of files on a 'per user' basis<o:p></o:p></p><p class=MsoPlainText><o:p>&nbsp;</o:p></p><p class=MsoPlainText>I've added per-user libraries. See the beta section of the downloads page to get it!<o:p></o:p></p><p class=MsoPlainText><o:p>&nbsp;</o:p></p><p class=MsoPlainText>What happens now is this:<o:p></o:p></p><p class=MsoPlainText>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.<o:p></o:p></p><p class=MsoPlainText>I then gather a list of all the files in that directory.<o:p></o:p></p><p class=MsoPlainText>If there are no files in that directory, the drop-down list is not shown in the user interface at all.<o:p></o:p></p><p class=MsoPlainText>If there are files, those are presented as a drop-down list.<o:p></o:p></p><p class=MsoPlainText><o:p>&nbsp;</o:p></p><p class=MsoPlainText>The results are:<o:p></o:p></p><p class=MsoPlainText>1. You have a &quot;default&quot; set of files in the top dir.<o:p></o:p></p><p class=MsoPlainText>2. You can have a few users who have empty subdirectories and so never see that the &quot;library&quot; functionality exists at all.<o:p></o:p></p><p class=MsoPlainText>3. You can have an empty &quot;default&quot; top dir, but subdirectories for a few users. Then most of your users will never see the &quot;library&quot; <o:p></o:p></p><p class=MsoPlainText>functionality exists, and only those few users who do have a subdirectory will see it.<o:p></o:p></p><p class=MsoPlainText><o:p>&nbsp;</o:p></p><p class=MsoPlainText>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.<o:p></o:p></p><p class=MsoPlainText>He used to have to write CDs and DVDs and put them in the post!<o:p></o:p></p><p class=MsoPlainText>Now he sends them as ISO images using ZendTo.<o:p></o:p></p><p class=MsoPlainText>He is fed up of uploading the same files to different users over and over again, so wants to use the &quot;library&quot;.<o:p></o:p></p><p class=MsoPlainText>I leave the top-level library directory empty, apart from just a subdirectory for him.<o:p></o:p></p><p class=MsoPlainText>*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.<o:p></o:p></p><p class=MsoPlainText>Result ==&gt; Happy users, and happy guy in IT service !<o:p></o:p></p><p class=MsoPlainText><o:p>&nbsp;</o:p></p><p class=MsoPlainText>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<o:p></o:p></p><p class=MsoPlainText>&nbsp;&nbsp;&nbsp;&nbsp; rpm -Uvh zendto-4.09-1.noarch.rpm<o:p></o:p></p><p class=MsoPlainText>Ubuntu / Debian<o:p></o:p></p><p class=MsoPlainText>&nbsp;&nbsp;&nbsp;&nbsp; sudo dpkg --install zendto_4.09-1.deb And beware you don't hose your /opt/zendto/config files by mistake!<o:p></o:p></p><p class=MsoPlainText><o:p>&nbsp;</o:p></p><p class=MsoPlainText>If you don't have a recent version, and you use MySQL, you will need to run the 2nd &quot;mysql&quot; command given in /opt/zendto/sql/README.MySQL to add the necessary tables that the &quot;library&quot; uses.<o:p></o:p></p><p class=MsoPlainText><o:p>&nbsp;</o:p></p><p class=MsoPlainText>Jules<o:p></o:p></p><p class=MsoPlainText><o:p>&nbsp;</o:p></p><p class=MsoPlainText>--<o:p></o:p></p><p class=MsoPlainText>Julian Field MEng CITP CEng<o:p></o:p></p><p class=MsoPlainText><a href="http://www.Zend.To"><span style='color:windowtext;text-decoration:none'>www.Zend.To</span></a><o:p></o:p></p><p class=MsoPlainText><o:p>&nbsp;</o:p></p><p class=MsoPlainText>Follow me at twitter.com/JulesFM<o:p></o:p></p><p class=MsoPlainText>PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654<o:p></o:p></p><p class=MsoPlainText><o:p>&nbsp;</o:p></p><p class=MsoPlainText>'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,<o:p></o:p></p><p class=MsoPlainText>&nbsp; I see it shining plain,<o:p></o:p></p><p class=MsoPlainText>&nbsp; The happy highways where I went,<o:p></o:p></p><p class=MsoPlainText>&nbsp; And cannot come again.' - A.E. Houseman<o:p></o:p></p><p class=MsoPlainText><o:p>&nbsp;</o:p></p><p class=MsoPlainText>_______________________________________________<o:p></o:p></p><p class=MsoPlainText>ZendTo mailing list<o:p></o:p></p><p class=MsoPlainText><a href="mailto:ZendTo@zend.to"><span style='color:windowtext;text-decoration:none'>ZendTo@zend.to</span></a><o:p></o:p></p><p class=MsoPlainText><a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto"><span style='color:windowtext;text-decoration:none'>http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto</span></a><o:p></o:p></p><p class=MsoPlainText><o:p>&nbsp;</o:p></p><p class=MsoPlainText>_______________________________________________<o:p></o:p></p><p class=MsoPlainText>ZendTo mailing list<o:p></o:p></p><p class=MsoPlainText><a href="mailto:ZendTo@zend.to"><span style='color:windowtext;text-decoration:none'>ZendTo@zend.to</span></a><o:p></o:p></p><p class=MsoPlainText><a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto"><span style='color:windowtext;text-decoration:none'>http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto</span></a><o:p></o:p></p></div></body></html>