WordPress.org

Ready to get started?Download WordPress

Forums

Amazon Media Manager 1.1 (75 posts)

  1. Laughinglizard
    Member
    Posted 10 years ago #

    Dont know if anyone has expressed their thanks yet. But thank you for a job very well done. I myself avoided this hack because of how cumbersome it would be! :-)
    Peace

  2. Anonymous
    Unregistered
    Posted 10 years ago #

    I love it, I love it, I love it!
    <i>Maraming salamat</i> (Thank you), denyerec!

  3. labellissima
    Member
    Posted 10 years ago #

    Uhmm, that was me *points above*. Was excited that I forgot to login. :|

  4. denyerec
    Member
    Posted 10 years ago #

    Absolutely dead right Chuckg, the changes have been made and are now in the normal download file. Thanks for the heads up!
    Anyone who's installed the hack should download the new version from the same URL and simply upload the new amazoninfo.php over their old one.
    Links to your blogs guys so I can see it in action! :)

  5. Laughinglizard
    Member
    Posted 10 years ago #

    Without creating too much trouble, I am using it in my WuhWuh Version 0.1 (WW for short) You can view it at http://dinki.mine.nu/wp/

  6. ihad
    Member
    Posted 10 years ago #

    whu whu? whuzzah! methinks I must try diz whu whu stuff!
    only a photblog/gallery (ala denyerec) hack missing afacs?
    vewwy niceah!

  7. jerm
    Member
    Posted 10 years ago #

    First of, thanks!! :)
    Now, a few suggestions, how about making the title and author editable when you click edit? Also, how about adding more cats, like Electronics, etc.. or allowing us to add our own cats?
    This is a great hack, saves me a lot of trouble! :D

  8. denyerec
    Member
    Posted 10 years ago #

    The reason editing titles and authors is unavailable is one steeped in my own internally twisted logic. Technically, there should be no need for it, yet something says there is.
    As for categories, it started out as a "What I'm reading" hack and matured into what I'm reading, listening and watching hack. I never thought to have "What I'm selling" or "What I'm currently using", though it's perfectly possible.
    Possible problems stem from the regional nature of goods like that, though I'd have to look into how amazon organise it. Certainly something for 1.2.

  9. denyerec
    Member
    Posted 10 years ago #

    If my tired brain reminds me correctly, the nbsp LI item is used as a spacer (The value $tbet). If you don't like the way information is presented, take a look at the AMAZONINFO.PHP file, right down at the end.
    With even a little PHP knowledge it is easy to modify the output part of the function, I believe I highlight the relevant part of the code with comments.
    Kind regards,
    Denyerec

  10. phrancey
    Member
    Posted 10 years ago #

    This is a great hack, but I have an itsy bitsy question.
    How much does/would Amazon like this? At this point, I'm sure they don't really care, and I'm also sure that they have so much bandwidth that a couple wordpress users don't bother them at all.
    But morally/ethically/whatever, how good of an idea is it to be hotlinking images off of Amazon? I loathe it when people hotlink off of me (why I have it turned off), but I think a big part of that is I don't have much bandwidth to begin with.
    So, I guess my question is, would Amazon get really pissy about this hack hotlinking their images?

  11. tcervo
    Member
    Posted 10 years ago #

    When you use "build a link" in the Amazon associates section of their site, the links they build for you link directly to Amazon for the images...so I'm thinking no, they won't care, particularly if it's an associate doing the linking.

  12. Kitta
    Member
    Posted 10 years ago #

    No, they don'y mind. Because your sending them business and advertising their products for them on your site.

  13. denyerec
    Member
    Posted 10 years ago #

    *bump for those who never get past page one ;)

  14. jerm
    Member
    Posted 10 years ago #

    BTW I used it at http://jermexpress.com and I blogged about the script along with a link back to your site a few days ago.
    When are you releasing 1.2? Could we pleeeease get more categories? :) Also editting the items would help, cuz sometimes I do it in a hurry and left them the way they were parsed off the Amazon site, which is too much information sometimes for my very narrow column! ;p

  15. denyerec
    Member
    Posted 10 years ago #

    An email I received this morning urged me to point out that you don't have to call Get_Media() just the once. In fact, I originally started with a function per media type, but combined it to allow for more flexibility.
    If you wish, you can of course call GetMedia once for books, again for DVD's and again for Music, if you so desire.
    You could even call it once for recommended books, and once for a random non recommended book. The function is very flexible and isn't limited to being called once.
    As for 1.2, I'm incredibly busy at the moment but the thought is there. I may well, as a short term hack, add an "others" category just to ease the people who want to add iPods to their lists ;)
    As for item editing, again, that will go in as/when I get the chance to update.
    Kind regards,
    Denyerec

  16. csoves
    Member
    Posted 10 years ago #

    I'm having a small problem and I hope someone can help. I've uploaded, edited, and the table was added successfully.
    In my index.php I have added the "include('amazoninfo.php');", but where do I put the "get_media(7);" code? I have tried adding it to my index.php but as your can see on my site, it doesn't insert the picture of my added media, it just shows "get_media(7);". http://csoves.net/bloggie/index.php
    If anyone could help me figure this out I would appreciate it. :D

  17. Anonymous
    Unregistered
    Posted 10 years ago #

    Try this
    <pre><li id="Media">Media:
    <?php get_media(7); ?>

  18. </pre>

  • csoves
    Member
    Posted 10 years ago #

    that worked! thanks so much!!!

  • jina_exe
    Member
    Posted 10 years ago #

    I did a search, and did not see if anyone else had posed this question. If I am just blind and simply missed it, forgive me, and just point me to that url.
    Okay, I am loving having this plugin randomly display a media item in my navigation. Awesome idea. What if I want a section of my site called "Library"? Is there an include I can use that will display all the books in my AMM? And if so, is it possible to have a "sort by author", "sort by title", etc.? And then to only display, say... 20 on the page with prev/next links?
    I would greatly appreciate hearing back on this. If it is not possible yet, do you think it can be included in an upcoming version? I'd be your best friend! ;)

  • jina_exe
    Member
    Posted 10 years ago #

    i guess the answer is a no? hehe.
    (or am i just impatient?) :)

  • davidchait
    Member
    Posted 10 years ago #

    20 on a page with prev/next?? That sounds like a storefront, not a blog! ;)
    I'm sure he could add something like that, given free time.. :)
    -d

  • jina_exe
    Member
    Posted 10 years ago #

    haha. no intention of selling really, and it's even still using denyerec's associate id. haha. it was more for jsut displaying what was in my library for sheer narcissism's sake, i suppose. i forgot about them all being linked to amazon - which i guess would make it a storefront. i suppose i don't want to make it appear i'm selling a bunch of books, so i guess that i don't really need it. i just wanted to be able to display all my books just for fun. oh well. :)

  • denyerec
    Member
    Posted 10 years ago #

    Hi there,
    I've been away and unable to check the WP forums for a little while, hence the delay.
    I am considering adding the ability to list all stored media and generated links (Without images), but so far am still decided on the best way to do it.
    Without heavy modification of the WP index.php file it won't be possible to have it print its contents where news articles would normally be. Although I have modded my own site this way to create my articles and FAQ system, I want to keep AMM as simple as possible.
    It would be relatively easy to display all the items in your AMM using the existing Get_Media function. You'd have to customise the output a little, but it should not be too hard. Oh, and specify to print 100 items or suchlike, but this would bloat the blog's sidebar unecessarily.
    I'm not too sure how to go about adding "sections" to a WP blog yet, I'll have an investigate and get back to the thread on this one.

  • jina_exe
    Member
    Posted 10 years ago #

    yeh, generated links without images is just fine. all i need really. i just wanted to be able to display my entire collection without having to hand code it all in.
    but this is not a huge priority on my checklist so no rush or anything. i just thought it'd be a cool section to have to the site.

  • denyerec
    Member
    Posted 10 years ago #

    If you examine the end of the AMAZONINFO.PHP file you will find a large comment block explaining how to produce your own customised output.
    If you then call the Get_Media() function (Once, or one time for each media type) with a large number (Say 9999) as the "number of items to extract" you can quite happily generate a large list of all your items.
    For instance... You could use this in the amazoninfo.php file to format the output as a simple list:
    echo $tbef.''.$ae_itemtitle.' - '.$ae_authors.$taft;
    Then from within your template, you could have something akin to this:
    My Books!
    <?php Get_Media(1,9999)?>
    Which would spew out your first 9999 books... Play around with it and see how far you get :)

  • Anonymous
    Unregistered
    Posted 10 years ago #

    so is this just like the mood and music hack?
    Like current music: and it'll show the albulm and link u to buy it @ amazon?
    if it isn't then could it be made to?

  • Anonymous
    Unregistered
    Posted 10 years ago #

    It's for storing and displaying a list of books, movies and CD's you've read or listened to recently, and displaying them in a variety of ways. Yes, is supports amazon associate click-thoughs.
    I'm a bugger for writing things before checking out whether they exist already, so it may be similar to the hack you describe.

  • Xial
    Member
    Posted 10 years ago #

    I noticed how this covers books, movies, and music...
    However, I'm a gamer, as well, and don't want to mix games into the DVDs / Books / CDs.
    Unfortunately, my coding skills are double-extra-super-mega limited, in the sense that I wouldn't know how to modify it to add a category for video games.
    Would this be added in a future version (or) Would there be anyone capable or willing to add this to the script and/or show me how?

  • rayne
    Member
    Posted 10 years ago #

    Thanks. I had to do some tweaking, but I think it will work for what I want to do. Just need to add my ISBNs in. :)

  • Anonymous
    Unregistered
    Posted 10 years ago #

    This is a GREAT add-on! It should be included in the default install, imho.
    Anyone figured out a way to center the item images? I would like to center the image without centering the text underneath, but I just can't figure out how :-(
    It would also be nice if there were a way to change the style of the text under the images. I've hacked at mine until I finally got a CSS style set for the entire entry, but it would be nice to be able to set one style for the title, one for the author, one for the comment, etc.

  • 123

    Topic Closed

    This topic has been closed to new replies.

    About this Topic

    Tags

    No tags yet.