OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
Import e-books through directory scanning (0 viewing) 
BookLibrary Wishlist
Go to bottom Favoured: 0
TOPIC: Import e-books through directory scanning
#44058
Doc (User)
Fresh Boarder
Posts: 11
graphgraph
User Offline Click here to see the profile of this user
ICQ#: 31513998 Birthdate: 1978-05-07
Import e-books through directory scanning 3 Months, 3 Weeks ago Karma: 0  
I bring to your attention a revision for importing electronic books by scanning the catalog.
In the attachment, the archive files which you need to replace the files in the folder /administrator/components/com_booklibrary from version v 5.0.9 Free archive with sql code that must be imported into the database it contains language constants and Russian/English translation for them.


For information:
The inserted or replacement code is framed by "!!!!!!!!!!!! Doc"

There is still such a moment, in cases where subfolders are used inside the root folder with electronic books, then in the file: /components/com_booklibrary/booklibrary.php
After the line:
$ name = explode ('/', $ book [0] -> location); you need to change the code by deleting:
$ file_path = $ mosConfig_absolute_path. $ GLOBALS ['ebooks_location'].
$ name [count ($ name) - 1];
And adding:
$ file_path = $ mosConfig_absolute_path. $ book [0] -> location;


Предлагаю Вашему вниманию доработку для импорта электронных книг методом сканирования каталога.
Во вложении архив файлами которых необходимо заменить файлы в папке /administrator/components/com_booklibrary от версии v 5.0.9 Free архив с sql кодом который необходимо импортировать в базу он содержит языковые константы и русскоанглийским перевод для них.


Для информации:
Вставленный или заменённый код обрамлен "!!!!!!!!!!!! Doc"

Еще есть такой момент, в случаи, если внутри корневой папки с электронными книгами используются подпапки, то в файле: /components/com_booklibrary/booklibrary.php
После строки:
$name = explode('/', $book[0]->location); необходимо изменить код, удалив:
$file_path = $mosConfig_absolute_path . $GLOBALS['ebooks_location'] .
$name[count($name) - 1];
И добавив :
$file_path = $mosConfig_absolute_path . $book[0]->location;
File Attachment:
File Name: com_booklibrary.zip
File Size: 163835
 
Logged Logged  
 
Last Edit: 2020/07/03 18:25 By Doc.
 
Little knowledge is a dangerous thing, however, like a big one.
  The administrator has disabled public write access.
#44059
Doc (User)
Fresh Boarder
Posts: 11
graphgraph
User Offline Click here to see the profile of this user
ICQ#: 31513998 Birthdate: 1978-05-07
Re:Import e-books through directory scanning 3 Months, 3 Weeks ago Karma: 0  
+
File Attachment:
File Name: sql.zip
File Size: 1898
 
Logged Logged  
 
Little knowledge is a dangerous thing, however, like a big one.
  The administrator has disabled public write access.
#44066
admin (Admin)
Admin
Posts: 7082
graph
User Offline Click here to see the profile of this user
Re:Import e-books through directory scanning 3 Months, 3 Weeks ago Karma: 84  
Thank you very much !

Regards
ordaSoft team
 
Logged Logged  
  The administrator has disabled public write access.
Go to top
What are you looking for?
Anti-spam question: How many head has a typical person?