View Single Post
Old 02-15-2012, 03:55 AM   #197
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 11,741
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by ilovejedd View Post
Thanks! Would the following work?
Code:
$config['restrict_display_to'] = array('admin'=> '', 'user1' => '#user:=all or #user:=user1', 'user2' => '#user:=all or #user:=user2');
Yes. Note that if you are using the internal login feature as opposed to apache authentication, then you must be running 0.2.8.
Quote:
Special request, would it be possible to add a configuration for preferred book name? For example, instead of Artemis_Fowl___Eoin_Colfer.epub, you can set it to Eoin Colfer - Artemis Fowl.epub ({author} - {title}). If that's too much hassle, even retaining the default calibre name of Artemis Fowl - Eoin Colfer.epub would be fine, too. Thanks!
I changed the server to preserve spaces in the existing name. This was a mild PITA because firefox won't accept spaces in the content-disposition header while IE will. Both accept escaped file names.

Note that the release 0.2.8 provides the 'no download' feature you asked for.
chaley is offline   Reply With Quote