hugmin42
Forum Replies Created
-
Forum: Plugins
In reply to: [Import Listings into the Listify Theme] Missing a few featuresHi
Any news on adding the Company logo field to the list of fields that can be imported? I’m sure that is an easy fix. I mean you have all the complicated settings for adding Media Gallery, but not a simple single logo field.
Regards,
- This reply was modified 7 years, 10 months ago by hugmin42.
Forum: Plugins
In reply to: [My Google Books Library] Cannot Modify Headers – ERRORHi
I’m sorry for that. This plugin is giving way to much problems. I thought google books would be a easy solution, but the api is very restricted.Have you tried the similar plugin Google Bookshelves?
I’m probably going to stop development soon. Got no choice as my knowledge is limited.
Forum: Plugins
In reply to: [My Google Books Library] Google.deHi,
That’s strange indeed. This might be a silly question, but are you currently in Germany?
I’m asking because when I click on a book I’m directed to google.co.za because I’m in South Africa. My language however is also set to English United Kingdom.
If this is not the case I’m not sure what’s wrong.
Forum: Plugins
In reply to: [My Google Books Library] Just part of all books are shownThanks, I added it to the plugin description. One more question.
Someone else has been experiencing problems with that plugin where it showed a different amount of books on every reload and sometimes no books at all. After he updated to the newest version of my plugin (with your new code) he just receives the “google api error” message.
See: https://www.sidewaysthoughts.com/blog/my-bookshelf/
Do you perhaps know what the problem could be?
Forum: Plugins
In reply to: [My Google Books Library] Just part of all books are shownHi, can I place a link or something to your site to acknowledge the code that you gave me?
Forum: Plugins
In reply to: [My Google Books Library] Just part of all books are shownWow!
Thank you so much. I will update the code and release a new version as soon as possible
Thank you again.
Regards
Forum: Plugins
In reply to: [My Google Books Library] Just part of all books are shownHi,
Pleasure. It looks great on your site.Another developer informed me about this problem as well. He claims that it is the API that will only return a maximum of 40 books. There might be a way to manually get the first 40 and then somehow starting with index 41 and getting the next 40.
I haven’t had the time however to fully research this and implement a solution. My library has less than 40 books so I didn’t notice this problem at first.
Regards
Forum: Plugins
In reply to: [My Google Books Library] How to layoutHi
Thank you for the rating.I’m not entirely sure what you mean with table edges? Do you mean borders like in lines?
I did not do any custom formatiing as I though that it is best to let the theme decide how to handle tables in order to make it fit in with the theme styling.
Can you send me a link to this page where you used the shortcode?
Regards
Forum: Plugins
In reply to: [My Google Books Library] Horizontal display possible?Hi
That is strange. I suggest you completely remove the plugin and install the new one from scratch (it’s version 1.1)See my blog for how it will look when you correctly select layout=”2″.
https://hugo.activesquirrel.com/my-library/
Hope this works.
Forum: Plugins
In reply to: [My Google Books Library] Horizontal display possible?Hi, It won’t change anything by default. You need to add the layout you choose to the shortcode:
If you were using shortcode add layout=”2″. For example: [my_google_books_library shelf=”4″ max = “10” layout = “2”]
If you are using the function just add the variable 2.
E.g: my_google_books_library(“4”, “10”, “2”);Hope this works.
Forum: Plugins
In reply to: [My Google Books Library] Horizontal display possible?Hi, in the code that I linked above there is a horizontal display option. I am still waiting for feedback from blueprairie before I update plugin.
Could you explain what it is you want more thoroughly or give an link to something similar? (English is not my first language, neither is programming ;-))
Regards.
Forum: Plugins
In reply to: [My Google Books Library] Random OrderHi
I wouldn’t just steal it. ??
I got the same request except I already have shortcode, but not horizontal and random order. I have implemented these two options, but are waiting for feedback before I upload the new update.
The Google Books api is not what it should or could be. I did not notice the 40 limit because I don’t have a library with that many books yet to test it. Someone also reported the issue with the plugin shortcode that sometimes displays the books and sometimes just don’t.
I’m sorry that I can’t help. I just expanded your code to be able to put one’s books on a page and not just in the widget area. I don’t have any knowledge of jquery.
Please keep me posted if you find a solution.
Forum: Plugins
In reply to: [My Google Books Library] Horizontal display possible?Sorry for all the posts. Everytime I think I’m done for the night (GMT+2), I quickly do some more programming/testing.
My prelimanary limited tests show no signaficant increase in execution time when I select say 50 books and the randomly dislpaying 8 of them and just displaying the top 8. I don’t have a big enough shelf (or the time to create one) to test more extreme values.
This php has the shuffle code by default.
https://dl.dropbox.com/u/48209398/New/my-google-books-library.phpPlease test it and let me know if it works for you. I will then add the option to the settings page and release an update.
Thank you for helping me improve this plugin.
Forum: Plugins
In reply to: [My Google Books Library] Horizontal display possible?I just checked out the possibility of retrieving random results.
The problem is that the google API requests a max number of results. $url = “https://www.googleapis.com/books/v1/users/”.$idNumber.”/bookshelves/”.$shelf.”/volumes?maxResults=” . $max;
Which then only returns the top x (whatever you input as max) results.
If I apply a shuffle it will only shuffle the top let’s say four books that was selected.
In order to really display four random books from your whole shelf I would have to make the max a 100 or a 1000 (how many books would someone have in a shelf?) which will return that amount of books (slower performance) that I have to read into an array in order to randomly select four.
Let me know if you have more ideas on this.
Forum: Plugins
In reply to: [My Google Books Library] Horizontal display possible?Hi.
I made a new layout template for displaying four books in a row.
Just replace the current my-google-books-library.php with this one https://dl.dropbox.com/u/48209398/my-google-books-library.phpIf you were using shortcode add layout=”2″. For example: [my_google_books_library shelf=”4″ max = “10” layout = “2”]
If you are using the function just add the variable 2.
E.g: my_google_books_library(“4”, “10”, “1”);Please let me know if this is what you had in mind.
I haven’t started on the randomization yet. Will look into it.
Regards