[ZendTo] Re: Address Book functionality

Jules Jules at Zend.To
Mon May 25 14:26:49 BST 2015


What exactly did you change?

I'm currently incorporating this code into the main package, and want to 
get it as right first time as I can.

Thanks!
Jules.


On 20/05/2015 20:36, Gray McCord wrote:
> Well, I answered my own question and I think it works fine now….
>
> I had two issues when I installed it. First, I have already customized 
> new-dropoff.tpl for other reasons, so I did a manual diff to the new 
> code and copied it in. I neglected to copy in the links to the remote 
> jquery-ui and its css files. Doh!
>
> The second issue was a bit more difficult to find.  Once the 
> auto-complete started working, I noticed that there was only one entry 
> in the mysql DB for my user ID, and I could not add any new ones. 
> Turns out that the zendto userid was being used as the key in the 
> address book table.  I added a new key to replace it and all seems to 
> be working now.
>
> Great feature Eythor!
>
> Gray
>
>
>
> Gray McCord
>
> /Adapt, Mutate, Migrate, or Die/
>
> -C. Darwin
>
>
> From: <zendto-bounces at zend.to <mailto:zendto-bounces at zend.to>> on 
> behalf of "Gray D. McCord"
> Reply-To: ZendTo Users
> Date: Wednesday, May 20, 2015 at 11:37 AM
> To: ZendTo Users
> Subject: [ZendTo] Re: Address Book functionality
>
> Eythor, this looks great!  I have attempted an install, but do not see 
> any results, though. Do I need to explicitly install jquery-ui.js as 
> well as the updated new-dropoff? Any other tricks? I’m not seeing the 
> autocomplete at all.
>
> I have:
> Installed the new-dropoff.tpl file
> Restarted httpd
> Logged in and sent a test file
> Logged out
> Logged back in and tried to send a test file to the same address. At 
> this point, I see no autocomplete options, even though I should have 
> created something in the database, or have I misinterpreted how this 
> works?
>
> Thanks!
>
>
> Gray McCord
>
> /Adapt, Mutate, Migrate, or Die/
>
> -C. Darwin
>
>
> From: <zendto-bounces at zend.to <mailto:zendto-bounces at zend.to>> on 
> behalf of Eythor Thorsteinsson
> Reply-To: ZendTo Users
> Date: Wednesday, May 20, 2015 at 3:59 AM
> To: ZendTo Users
> Subject: [ZendTo] Address Book functionality
>
> Hello,
>
> I've gotten a few of requests to re-send the address book 
> functionality, which I have forgotten to reply to.
> Please find the required files attached, and my apologies for not 
> responding sooner.
>
> I hope this will get added to the main release soon, because this 
> functionality really makes a difference when using Zend-To ... in 
> particular when you drop off files to the same people frequently.
>
> Regards,
> Eythor
>
> -- 
> This message has been scanned for viruses and
> dangerous content by *MailScanner* <http://www.mailscanner.info/>, and is
> believed to be clean.
>
>> Begin forwarded message:
>>
>> *From: *Eythor Thorsteinsson <eythort at menandmice.com 
>> <mailto:eythort at menandmice.com>>
>> *Subject: **Re: [ZendTo] Address Book functionality*
>> *Date: *11 Feb 2015 10:20:07 GMT
>> *To: *ZendTo Users <zendto at zend.to <mailto:zendto at zend.to>>
>>
>> Hi Kester,
>>
>> That's actually quite easy, although the req.php needed to be patched 
>> as well.
>>
>> I've attached a zip file with the two modified files. Unzip and 
>> replace the two files www/req.php and templates/request.tpl and you 
>> should get autocompleted names in the request a dropoff screen.
>>
>>
>>
>> Eythor
>>
>>
>>> On 10. feb. 2015, at 15:21, Kester Wynyard 
>>> <kester.wynyard at ukipme.com <mailto:kester.wynyard at ukipme.com>> wrote:
>>>
>>> Hi Eythor,
>>>
>>> Is there any chance this could be implemented on the request a 
>>> dropoff page as we use ZendTo primarily to get clients to send to 
>>> us? Or if you could let me know what code to put where on the page 
>>> would be great.
>>>
>>> Thanks in advance.
>>>
>>>
>>> Thanks
>>>
>>> Kester
>>>
>>>
>>>
>>>     ----------------------------------------------------------------------
>>>
>>>     Message: 1
>>>     Date: Tue, 10 Feb 2015 08:29:04 +0100
>>>     From: tw2006 <tw2006 at gmail.com <mailto:tw2006 at gmail.com>>
>>>     Subject: [ZendTo] Re: Address Book functionality
>>>     To: ZendTo Users <zendto at zend.to <mailto:zendto at zend.to>>
>>>     Message-ID:
>>>     <CAGHdwhTf6ac4FvKP-qmJ==N9U8DdMQKFzxHk_7ELMaN-n=ekNQ at mail.gmail.com
>>>     <mailto:ekNQ at mail.gmail.com>>
>>>     Content-Type: text/plain; charset="utf-8"
>>>
>>>     can you resend the patch due my gmail account drop the file
>>>
>>>     thanks
>>>
>>>     On Thu, Jan 8, 2015 at 8:02 AM,
>>>     <claudio.schnelldasilva at manroland-web.com
>>>     <mailto:claudio.schnelldasilva at manroland-web.com>>
>>>     wrote:
>>>
>>>     > Hi Eythor,
>>>     >
>>>     > thanks for the very useful feature - it works great for me!
>>>     >
>>>     > Regards,
>>>     > Claudio
>>>     >
>>>     > -----Urspr?ngliche Nachricht-----
>>>     > Von: zendto-bounces at zend.to <mailto:zendto-bounces at zend.to>
>>>     [mailto:zendto-bounces at zend.to <mailto:zendto-bounces at zend.to>]
>>>     Im Auftrag
>>>     > von Eythor Thorsteinsson
>>>     > Gesendet: Mittwoch, 7. Januar 2015 21:02
>>>     > An: ZendTo Users
>>>     > Betreff: [ZendTo] Re: Address Book functionality
>>>     >
>>>     > Hi Kevin,
>>>     >
>>>     > I'm sorry I forgot to mention how it works. It's simply an
>>>     autocomplete on
>>>     > top of the existing inputs for adding emails. For instance,
>>>     start typing a
>>>     > name when adding an email address, and it will suggest emails
>>>     you've sent
>>>     > to sometime before, and then fills both fields when you select
>>>     one of the
>>>     > suggestions.
>>>     >
>>>     > Regards,
>>>     > Eythor
>>>     >
>>>     > > On 07 Jan 2015, at 19:05, Kevin Miller
>>>     <kevin.miller at juneau.org <mailto:kevin.miller at juneau.org>> wrote:
>>>     > >
>>>     > > I dropped the new_dropoff.tpl into the templates directory
>>>     as you
>>>     > instructed then restarted httpd, but I don't see any
>>>     difference.  There's
>>>     > no address book button/icon anywhere that I saw and when I go
>>>     to "New
>>>     > Dropoff" the addressing seems the same as ever. What am I missing?
>>>     > >
>>>     > > Any chance this will be integrated with AD or LDAP?  That
>>>     would be
>>>     > really sweet!
>>>     > >
>>>     > > ...Kevin
>>>     > > --
>>>     > > Kevin Miller
>>>     > > Network/email Administrator, CBJ MIS Dept.
>>>     > > 155 South Seward Street
>>>     > > Juneau, Alaska 99801
>>>     > > Phone: (907) 586-0242 <tel:%28907%29%20586-0242>, Fax: (907)
>>>     586-4500 <tel:%28907%29%20586-4500>
>>>     > > Registered Linux User No: 307357
>>>     > >
>>>     > >
>>>     > >> -----Original Message-----
>>>     > >> From: zendto-bounces at zend.to
>>>     <mailto:zendto-bounces at zend.to> [mailto:zendto-bounces at zend.to
>>>     <mailto:zendto-bounces at zend.to>] On Behalf
>>>     > >> Of Eythor Thorsteinsson
>>>     > >> Sent: Wednesday, January 07, 2015 6:21 AM
>>>     > >> To: zendto at zend.to <mailto:zendto at zend.to>
>>>     > >> Subject: [ZendTo] Address Book functionality
>>>     > >>
>>>     > >> Hi,
>>>     > >>
>>>     > >> We've been using zend.to <http://zend.to/> for the last
>>>     couple of years with good use.
>>>     > >> I frequently send files to the same set of people, and once
>>>     I dug around
>>>     > >> I saw that there is an addressbook in the database but the
>>>     addressbook
>>>     > >> functionality has not been enabled, apparently.
>>>     > >>
>>>     > >> I therefore decided to hack my own version, using jquery-ui
>>>     > >> autocomplete, into new_dropoff.tpl, and it works quite well.
>>>     > >>
>>>     > >> If anyone is interested, I've attached the patched file,
>>>     which goes into
>>>     > >> /opt/zendto/templates/. It should work against the latest
>>>     version.
>>>     > >>
>>>     > >> I also hope this means we'll have this functionality in the
>>>     next
>>>     > >> official version, whether it's based on this code or not.
>>>     > >>
>>>     > >> Regards,
>>>     > >> Eythor
>>>     > >
>>>     > >
>>>     > > _______________________________________________
>>>     > > ZendTo mailing list
>>>     > > ZendTo at zend.to <mailto:ZendTo at zend.to>
>>>     > > http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto
>>>     >
>>>     > _______________________________________________
>>>     > ZendTo mailing list
>>>     > ZendTo at zend.to <mailto:ZendTo at zend.to>
>>>     > http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto
>>>     > ________________________________
>>>     > manroland web systems GmbH -- Managing Director: Joern Gosse
>>>     > Registered Office: Augsburg -- Trade Register: AG Augsburg --
>>>     HRB-No.:
>>>     > 26816 -- VAT: DE281389840
>>>     >
>>>     > Confidentiality note:
>>>     > This eMail and any files transmitted with it are confidential
>>>     and intended
>>>     > solely for the use of the individual or entity to whom they
>>>     are addressed.
>>>     > If you are not the intended recipient, you are hereby notified
>>>     that any use
>>>     > or dissemination of this communication is strictly prohibited.
>>>     If you have
>>>     > received this eMail in error, then please delete this eMail.
>>>     >
>>>     > ! Please consider your environmental responsibility before
>>>     printing this
>>>     > eMail !
>>>     > ________________________________
>>>     >
>>>     > _______________________________________________
>>>     > ZendTo mailing list
>>>     > ZendTo at zend.to <mailto:ZendTo at zend.to>
>>>     > http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto
>>>     >
>>>     -------------- next part --------------
>>>     An HTML attachment was scrubbed...
>>>     URL:
>>>     http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20150210/2b46cdf2/attachment-0001.html
>>>
>>>     ------------------------------
>>>
>>>     Message: 2
>>>     Date: Tue, 10 Feb 2015 09:34:25 +0000
>>>     From: Eythor Thorsteinsson <eythort at menandmice.com
>>>     <mailto:eythort at menandmice.com>>
>>>     Subject: [ZendTo] Re: Address Book functionality
>>>     To: ZendTo Users <zendto at zend.to <mailto:zendto at zend.to>>
>>>     Message-ID: <2A366204-E9F6-4A91-933F-6480BA7EE3A4 at menandmice.com
>>>     <mailto:2A366204-E9F6-4A91-933F-6480BA7EE3A4 at menandmice.com>>
>>>     Content-Type: text/plain; charset="utf-8"
>>>
>>>     Hi,
>>>
>>>     I believe you can fetch it from the archive here:
>>>     http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20150107/ea00db2a/attachment.obj
>>>     <http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20150107/ea00db2a/attachment.obj>
>>>
>>>     Just save this file and rename to new_dropoff.tpl
>>>
>>>     Regards,
>>>     Eythor
>>>     > On 10. feb. 2015, at 07:29, tw2006 <tw2006 at gmail.com
>>>     <mailto:tw2006 at gmail.com>> wrote:
>>>     >
>>>     > can you resend the patch due my gmail account drop the file
>>>     >
>>>     > thanks
>>>     >
>>>     > On Thu, Jan 8, 2015 at 8:02 AM,
>>>     <claudio.schnelldasilva at manroland-web.com
>>>     <mailto:claudio.schnelldasilva at manroland-web.com>
>>>     <mailto:claudio.schnelldasilva at manroland-web.com
>>>     <mailto:claudio.schnelldasilva at manroland-web.com>>> wrote:
>>>     > Hi Eythor,
>>>     >
>>>     > thanks for the very useful feature - it works great for me!
>>>     >
>>>     > Regards,
>>>     > Claudio
>>>     >
>>>     > -----Urspr?ngliche Nachricht-----
>>>     > Von: zendto-bounces at zend.to <mailto:zendto-bounces at zend.to>
>>>     <mailto:zendto-bounces at zend.to <mailto:zendto-bounces at zend.to>>
>>>     [mailto:zendto-bounces at zend.to <mailto:zendto-bounces at zend.to>
>>>     <mailto:zendto-bounces at zend.to <mailto:zendto-bounces at zend.to>>]
>>>     Im Auftrag von Eythor Thorsteinsson
>>>     > Gesendet: Mittwoch, 7. Januar 2015 21:02
>>>     > An: ZendTo Users
>>>     > Betreff: [ZendTo] Re: Address Book functionality
>>>     >
>>>     > Hi Kevin,
>>>     >
>>>     > I'm sorry I forgot to mention how it works. It's simply an
>>>     autocomplete on top of the existing inputs for adding emails.
>>>     For instance, start typing a name when adding an email address,
>>>     and it will suggest emails you've sent to sometime before, and
>>>     then fills both fields when you select one of the suggestions.
>>>     >
>>>     > Regards,
>>>     > Eythor
>>>     >
>>>     > > On 07 Jan 2015, at 19:05, Kevin Miller
>>>     <kevin.miller at juneau.org <mailto:kevin.miller at juneau.org>
>>>     <mailto:kevin.miller at juneau.org
>>>     <mailto:kevin.miller at juneau.org>>> wrote:
>>>     > >
>>>     > > I dropped the new_dropoff.tpl into the templates directory
>>>     as you instructed then restarted httpd, but I don't see any
>>>     difference.  There's no address book button/icon anywhere that I
>>>     saw and when I go to "New Dropoff" the addressing seems the same
>>>     as ever.  What am I missing?
>>>     > >
>>>     > > Any chance this will be integrated with AD or LDAP?  That
>>>     would be really sweet!
>>>     > >
>>>     > > ...Kevin
>>>     > > --
>>>     > > Kevin Miller
>>>     > > Network/email Administrator, CBJ MIS Dept.
>>>     > > 155 South Seward Street
>>>     > > Juneau, Alaska 99801
>>>     > > Phone: (907) 586-0242 <tel:%28907%29%20586-0242>
>>>     <tel:%28907%29%20586-0242>, Fax: (907) 586-4500
>>>     <tel:%28907%29%20586-4500> <tel:%28907%29%20586-4500>
>>>     > > Registered Linux User No: 307357
>>>     > >
>>>     > >
>>>     > >> -----Original Message-----
>>>     > >> From: zendto-bounces at zend.to
>>>     <mailto:zendto-bounces at zend.to> <mailto:zendto-bounces at zend.to
>>>     <mailto:zendto-bounces at zend.to>> [mailto:zendto-bounces at zend.to
>>>     <mailto:zendto-bounces at zend.to> <mailto:zendto-bounces at zend.to
>>>     <mailto:zendto-bounces at zend.to>>] On Behalf
>>>     > >> Of Eythor Thorsteinsson
>>>     > >> Sent: Wednesday, January 07, 2015 6:21 AM
>>>     > >> To: zendto at zend.to <mailto:zendto at zend.to>
>>>     <mailto:zendto at zend.to <mailto:zendto at zend.to>>
>>>     > >> Subject: [ZendTo] Address Book functionality
>>>     > >>
>>>     > >> Hi,
>>>     > >>
>>>     > >> We've been using zend.to <http://zend.to/>
>>>     <http://zend.to/> for the last couple of years with good use.
>>>     > >> I frequently send files to the same set of people, and once
>>>     I dug around
>>>     > >> I saw that there is an addressbook in the database but the
>>>     addressbook
>>>     > >> functionality has not been enabled, apparently.
>>>     > >>
>>>     > >> I therefore decided to hack my own version, using jquery-ui
>>>     > >> autocomplete, into new_dropoff.tpl, and it works quite well.
>>>     > >>
>>>     > >> If anyone is interested, I've attached the patched file,
>>>     which goes into
>>>     > >> /opt/zendto/templates/. It should work against the latest
>>>     version.
>>>     > >>
>>>     > >> I also hope this means we'll have this functionality in the
>>>     next
>>>     > >> official version, whether it's based on this code or not.
>>>     > >>
>>>     > >> Regards,
>>>     > >> Eythor
>>>     > >
>>>     > >
>>>     > > _______________________________________________
>>>     > > ZendTo mailing list
>>>     > > ZendTo at zend.to <mailto:ZendTo at zend.to>
>>>     <mailto:ZendTo at zend.to <mailto:ZendTo at zend.to>>
>>>     > > http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto
>>>     <http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto>
>>>     >
>>>     > _______________________________________________
>>>     > ZendTo mailing list
>>>     > ZendTo at zend.to <mailto:ZendTo at zend.to> <mailto:ZendTo at zend.to
>>>     <mailto:ZendTo at zend.to>>
>>>     > http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto
>>>     <http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto>
>>>     > ________________________________
>>>     > manroland web systems GmbH -- Managing Director: Joern Gosse
>>>     > Registered Office: Augsburg -- Trade Register: AG Augsburg --
>>>     HRB-No.: 26816 -- VAT: DE281389840
>>>     >
>>>     > Confidentiality note:
>>>     > This eMail and any files transmitted with it are confidential
>>>     and intended solely for the use of the individual or entity to
>>>     whom they are addressed. If you are not the intended recipient,
>>>     you are hereby notified that any use or dissemination of this
>>>     communication is strictly prohibited. If you have received this
>>>     eMail in error, then please delete this eMail.
>>>     >
>>>     > ! Please consider your environmental responsibility before
>>>     printing this eMail !
>>>     > ________________________________
>>>     >
>>>     > _______________________________________________
>>>     > ZendTo mailing list
>>>     > ZendTo at zend.to <mailto:ZendTo at zend.to> <mailto:ZendTo at zend.to
>>>     <mailto:ZendTo at zend.to>>
>>>     > http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto
>>>     <http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto>
>>>     >
>>>     > _______________________________________________
>>>     > ZendTo mailing list
>>>     > ZendTo at zend.to <mailto:ZendTo at zend.to>
>>>     > http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto
>>>
>>>     -------------- next part --------------
>>>     An HTML attachment was scrubbed...
>>>     URL:
>>>     http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20150210/6d75c16b/attachment-0001.html
>>>
>>>     ------------------------------
>>>
>>>     _______________________________________________
>>>     ZendTo mailing list
>>>     ZendTo at zend.to <mailto:ZendTo at zend.to>
>>>     http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto
>>>
>>>     End of ZendTo Digest, Vol 55, Issue 1
>>>     *************************************
>>>
>>>
>>>
>>> Disclaimer
>>> ===========================================
>>> This email (which includes any files transmitted with it)is 
>>> confidential and may also be legally privileged.
>>> It is intended solely for the use of the individual to whom it is 
>>> addressed. Any views or opinions presented are solely
>>> those of the author and do not necessarily represent those of UKIP 
>>> Media & Events Ltd.
>>> If you are not the intended recipient, be advised that any use, 
>>> dissemination, forwarding, printing, or copying of this email
>>> is strictly prohibited. If you have received this message in 
>>> error,do not open any attachment but please notify the sender (above)
>>> deleting this message from your system. Please rely on your own 
>>> anti-virus system, no responsibility is taken by the sender
>>> for any damage rising out of virus infection.
>>>
>>> UKIP Media & Events Ltd.
>>> Registered Address: 82 St John Street, London EC1M 4JN
>>> VAT No. GB879 4451 71
>>> Registration Number: 5893940
>>> Company registered in England and Wales
>>>
>>> _______________________________________________
>>> ZendTo mailing list
>>> ZendTo at zend.to <mailto:ZendTo at zend.to>
>>> http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto
>>
>
> _______________________________________________ ZendTo mailing list 
> ZendTo at zend.to 
> <mailto:ZendTo at zend.to>http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto
> -- 
> This message has been scanned for viruses and
> dangerous content by *MailScanner* <http://www.mailscanner.info/>, and is
> believed to be clean.
> _______________________________________________ ZendTo mailing list 
> ZendTo at zend.to <mailto:ZendTo at zend.to> 
> http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto
> -- 
> This message has been scanned for viruses and
> dangerous content by *MailScanner* <http://www.mailscanner.info/>, and is
> believed to be clean.
>
>
> _______________________________________________
> ZendTo mailing list
> ZendTo at zend.to
> http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto
>
> Jules
>
> -- 
> Julian Field MEng MBCS CITP CEng
>
> 'A committee is a group of the unwilling, chosen from the unfit,
>   to do the unnecessary.' - Anon
>
> www.Zend.To
> Twitter: @JulesFM
> PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20150525/e1944ad4/attachment-0001.html 


More information about the ZendTo mailing list