Administrator Adriano 1,271 Posted March 31, 2020 Administrator Share Posted March 31, 2020 View File Books This resource uses Google Books API to grab data from any book to your site, as long the data is available on Google Books. This resource supports both 10 and 13 digit ISBN format. All you have to do is type the ISBN, the API will add for you*: Title Subtitle (if there's any) Description Author Publisher Year of Publication Number of pages And most important: it will upload the book cover automatically for you (*) Data will be retrieved if the book is found in Google Books. Per book features: Readers & Rating: set book read date and provide a rating Bookshelves the book is added Comments Reviews BookShelves: You can create your bookshelf Follow bookShelves You can add books that you own/already read to your bookshelf People can comment People can review Other features: Fully integrated to the framework: Rest API, categories, extra fields, notifications, search, tags, follow, reactions, promote, etc. Settings: Settings to control the app behaviour in several places/situations Submitter Adriano Submitted 03/31/2020 Category Resources Link to post Share on other sites
Administrator Adriano 1,271 Posted May 13, 2020 Author Administrator Share Posted May 13, 2020 What's New in Version 1.0.1: New features: New setting to control the ISBN format: 13 digits, 10 digits or both New setting to display a BUY THIS BOOK button in the book view 13 digits ISBN format will add a link to Barnes & Noble store 10 digits ISBN format will add a link to Amazon store Per member options in Account Settings to control Amazon settings Store URL: member can choose the URL to the store of their country Affiliate Program ID: this will be added in the BUY THIS BOOK button so the member can monetize with their submissions in case someone buys the book Fix: Book subtitle not saving 1 Link to post Share on other sites
Vincenzo 7 Posted May 17, 2020 Share Posted May 17, 2020 Hi Adriano, since I updated with the new version, in ACP I find many errors in the registry Errors that occur during normal user browsing (without the need to use the Books application) The error is always this: IPS\Db\Exception::1048 INSERT INTO `books_members` ( `books_member_id`, `books_access`, `books_submit`, `books_amazon_url`, `books_amazon_affiliate_id` ) VALUES ( 1959, NULL, NULL, NULL, NULL ) ON DUPLICATE KEY UPDATE `books_member_id`=VALUES(`books_member_id`), `books_access`=VALUES(`books_access`), `books_submit`=VALUES(`books_submit`), `books_amazon_url`=VALUES(`books_amazon_url`), `books_amazon_affiliate_id`=VALUES(`books_amazon_affiliate_id`) Column 'books_access' cannot be null #0 /home/qknqwabh/public_html/system/Db/Db.php(937): IPS\_Db->preparedQuery('/*IPS\\books\\_Me...', Array) #1 /home/qknqwabh/public_html/applications/books/sources/Member/Member.php(103): IPS\_Db->insert('books_members', Array, true) #2 /home/qknqwabh/public_html/applications/books/sources/Member/Member.php(73): IPS\books\_Member->save() #3 /home/qknqwabh/public_html/applications/books/sources/Member/Member.php(55): IPS\books\_Member::load(1959) #4 /home/qknqwabh/public_html/applications/books/sources/Category/Category.php(354): IPS\books\_Member::loggedIn() #5 /home/qknqwabh/public_html/applications/books/extensions/core/CreateMenu/books.php(33): IPS\books\_Category::canOnAny('add', Object(IPS\Member), Array) #6 /home/qknqwabh/public_html/system/Member/Member.php(3104): IPS\books\extensions\core\CreateMenu\_books->getItems() #7 /home/qknqwabh/public_html/forum/uploads/template_36_94a9d7649fb9cdbfc784d3516e61a717_global.php(8522): IPS\_Member->createMenu() #8 /home/qknqwabh/public_html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\Cache\class_core_front_global->mobileNavBar() #9 /home/qknqwabh/public_html/forum/uploads/template_36_94a9d7649fb9cdbfc784d3516e61a717_global.php(6540): IPS\Theme\_SandboxedTemplate->__call('mobileNavBar', Array) #10 /home/qknqwabh/public_html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\Cache\class_core_front_global->globalTemplate('34dfd4c50a35eea...', '\n\n<div class="i...', Array) #11 /home/qknqwabh/public_html/system/Dispatcher/Dispatcher.php(172): IPS\Theme\_SandboxedTemplate->__call('globalTemplate', Array) #12 /home/qknqwabh/public_html/init.php(820) : eval()'d code(49): IPS\_Dispatcher->finish() #13 /home/qknqwabh/public_html/init.php(820) : eval()'d code(14): IPS\easypopup_hook_showPopup->finish() #14 /home/qknqwabh/public_html/system/Dispatcher/Standard.php(112): IPS\hook3235->finish() #15 /home/qknqwabh/public_html/system/Dispatcher/Front.php(597): IPS\Dispatcher\_Standard->finish() #16 /home/qknqwabh/public_html/init.php(820) : eval()'d code(36): IPS\Dispatcher\_Front->finish() #17 /home/qknqwabh/public_html/system/Dispatcher/Dispatcher.php(154): IPS\Dispatcher\hook3361->finish() #18 /home/qknqwabh/public_html/index.php(13): IPS\_Dispatcher->run() #19 {main} Waiting for your news, I disable the Books application Link to post Share on other sites
Vincenzo 7 Posted May 17, 2020 Share Posted May 17, 2020 Ah, I have now seen that there is also another error, namely this: INSERT INTO `books_members` ( `books_member_id`, `books_access`, `books_submit`, `books_amazon_url`, `books_amazon_affiliate_id` ) VALUES ( 5043, NULL, NULL, NULL, NULL ) ON DUPLICATE KEY UPDATE `books_member_id`=VALUES(`books_member_id`), `books_access`=VALUES(`books_access`), `books_submit`=VALUES(`books_submit`), `books_amazon_url`=VALUES(`books_amazon_url`), `books_amazon_affiliate_id`=VALUES(`books_amazon_affiliate_id`) IPS\Db\Exception: Column 'books_access' cannot be null (1048) #0 /home/qknqwabh/public_html/system/Db/Db.php(937): IPS\_Db->preparedQuery('/*IPS\\books\\_Me...', Array) #1 /home/qknqwabh/public_html/applications/books/sources/Member/Member.php(103): IPS\_Db->insert('books_members', Array, true) #2 /home/qknqwabh/public_html/applications/books/sources/Member/Member.php(73): IPS\books\_Member->save() #3 /home/qknqwabh/public_html/applications/books/extensions/core/MemberForm/books.php(35): IPS\books\_Member::load(5043) #4 /home/qknqwabh/public_html/applications/core/modules/admin/members/members.php(1170): IPS\books\extensions\core\MemberForm\_books->process(Object(IPS\Helpers\Form), Object(IPS\Member)) #5 /home/qknqwabh/public_html/system/Dispatcher/Controller.php(85): IPS\core\modules\admin\members\_members->edit() #6 /home/qknqwabh/public_html/system/Dispatcher/Dispatcher.php(152): IPS\Dispatcher\_Controller->execute() #7 /home/qknqwabh/public_html/admin/index.php(14): IPS\_Dispatcher->run() #8 {main} #0 /home/qknqwabh/public_html/init.php(898): IPS\_Log::log('INSERT INTO `bo...', 'uncaught_except...') #1 [internal function]: IPS\IPS::exceptionHandler(Object(IPS\Db\Exception)) #2 {main} Link to post Share on other sites
Administrator Adriano 1,271 Posted May 20, 2020 Author Administrator Share Posted May 20, 2020 Ok, tks. Will take a look. I should release a version until/during the weekend. 1 Link to post Share on other sites
Administrator Adriano 1,271 Posted May 20, 2020 Author Administrator Share Posted May 20, 2020 What's New in Version 1.0.2: Enhancement: Amazon Affiliate Program: A new setting was added on Integration to the administrator decide the type of affiliate program to use: User: each user will be able to enter their Affiliate ID on Account Settings Site: admin will enter the Affiliate ID on Admin CP; members won't be able to use it on Account Settings Fix: Error when saving data on Account Settings under specific conditions A few template issues 1 Link to post Share on other sites
Recommended Posts