Forum Replies Created

Viewing 15 replies - 16 through 30 (of 107 total)
  • Thread Starter denyerec

    (@denyerec)

    Don’t smirk at $5… We wrote the AMM here and so far have made a total of $1.40 over a year…

    PaulV your problem sounds similar to a guy who was running the Coppermine gallery plugin. Coppermine hi-jacked the WP database object causing the AMM installation to scatter its tables to the wind.

    Have you tried having AMM as the only active plugin, then disabling it and activating it?

    I’m sure we dealt with the database handling in our last bug hunt, but its possible the code never made it to the internet. I’ll check.
    They definately made it.

    The error is not related to cURL, it’s definately a database problem. Does your host have PhpMyAdmin installed, which allows you to review your mySQL databases?

    Thread Starter denyerec

    (@denyerec)

    You’re one in at least 3,000 who’s hit this issue, and rather confusing it is too.

    I have some questions for you:

    Are you using any admin-side plugins to modify the appearance of the backend?

    What version of wordpress are you using?

    When did you download the AMM source-code, and from where?

    Does your web-host run in Safe mode, or support cURL ?

    The problem you describe is a new one and most confusing. If I can’t think of anything, the best I can do is ask you to send me your blog’s wordpress and ftp login so I may investigate the problem myself.

    Thread Starter denyerec

    (@denyerec)

    Archshrk – as I said to Barunio in an email, we have an intermediate release planned, as soon as we make enough money to take some time off from the real world we’ll get on the case (And yes, we’ll be incorporating that!)

    Thread Starter denyerec

    (@denyerec)

    Hi there,
    Barunio I would be very interested in incorporating the changes into the next release, as local caching is something we’ve toyed with but not implemented.

    I will be in touch via email!

    Thread Starter denyerec

    (@denyerec)

    Banners, or buttons, or just plain “This blog’s using the AMM”… All are just as good as the other! (And certainly all more useful than nothing!)

    Thanks for the support,
    Den

    Thread Starter denyerec

    (@denyerec)

    *accidental double post*

    Thread Starter denyerec

    (@denyerec)

    I think you misunderstand… I mean you have a link to the AMM website on your page, which sadly very very few people using the plugin do ??

    Thread Starter denyerec

    (@denyerec)

    Hi there archshrk!

    To get a categorised list of linked items a-al ed,you ned a custom template. Yes, it involves hand coding but no, it’s not that bad.

    Looking at Ed’s site he’s probably making 2 calls to AMM, one to get the book and one to get the DVDs.

    The template will look like this:


    function amm_item_list($amm){
    ?>

    <ul>
    <?php for ($x = 0; $x < $amm->totalItems(); $x++ ) :?>

    <li><a href="<?php echo $amm->url(); ?>"><?php echo $amm->title();?></a>, <?php echo $amm->autoAuthor(); ?> <small>(Added: <?php echo $amm->date('d M, Y'); ?>)</small></li>

    <?php $amm->nextItem(); endfor; ?>
    </ul>
    <?php
    }

    You would then call this function from within your page or template like so:


    <strong>Books:</strong>
    <?php amm_getMedia('amm_item_list',0,AMM_BOOKS); ?>

    Naturally, if you then want to list CD’s, make a getmedia call for CDs.

    As of this time, there is no built-in provision for sorting on any field. It’s an easy hack to make though, and provision for sorting on all fields WILL be part of the next minor release which we’re working on soon.

    Hope this is of some help, if not, contact me via email.

    (You only get such a long answer because you’re actually one of the few people linking through!!)

    I wrote one a while back that does exactly this, with the exception that it doesn’t remember which quote’s it has pulled out.

    It’s incredibly simple but I’ve not yet converted it to WP1.5

    I’ll transfer it to the WP1.5 plugin style today and “release” it as soon as possible.

    Thread Starter denyerec

    (@denyerec)

    Hi Ed,

    Glad you got it working, and glad you appreciate the code commenting ??

    It would be great if you could email me the modified files, I’ll take a look over them and when I get round to version 2.0 if they’re OK I’ll charge right ahead and use it!

    Contact me by email through https://www.sozu.co.uk

    Thanks in advance!

    Thread Starter denyerec

    (@denyerec)

    These are the kinds of things we’ll be adding to the next version but, hey, we’ve gotta pay the bills before we can work on free stuff so patience is a virtue. (I say this a lot, the fact we have over 2,000 download and approximately 5 links kinda knocks your enthusiasm for constant development… :))

    Anyway, the easiest way to achieve what you want is to use one of the redundant fields. For example, “Manufacturer” is never used for books.

    Thus, you can simple throw into that field any identifiable string you like, or a number (1 would do, for current) and then in your output stage, simple grab the manufacturer and test to see if it’s current or not.

    EG:

    if ($amm->manufacturer == ‘1’) { // display }

    Ok, so it’s not ideal, but it’s a reasnoble compromise…

    We have a laundry list of things to and this is one of them, so keep your eyes open for updates!

    Thread Starter denyerec

    (@denyerec)

    Errm.
    AMM uses cURL by *default* and falls back to fOpen if cURL is not available.

    The original version of AMM, the old, decrepid ancient one, that used fOpen exclusivly and this incompatibility was one of the major reasons for re-writing.

    Can you upload a file to your server called phpinfo.php with the content:

    <?php
    phpinfo();
    ?>

    And then email me the link? That’ll show up what’s installed and enabled.

    Meanwhile, if I get chance (Gotta pay the bills first…) I will look at implementing a 3rd connection method into the AMM. If someone wants to donate hard cash so I’ve got time to put into it, feel free ??

    (But hey, we don’t even get links through, so who am I kidding here?)

    You probably want to look into some kind of fairly “robotic” FTP/Gallery builder type script. I don’t know of one offhand, but I think a lot of the traditional galleries that let you upload one image at a time and write info about it would be unsuitable. It’d take you forever to process 10,000s of images!

    Thread Starter denyerec

    (@denyerec)

    Listless: I think it’s a combination of your server not permitting external-image-checking, and the books you’re looking for in particular having slightly goofy default images in their Amazon XML return packets.

    For a brief period I was concerned that Amazon may have moved their API spec around, but this doesn’t seem to be the case.

    ( For reference, I think the ideal configuration for a server to make most use of AMM would be having cURL installed, and safe-mode off. )

    Thread Starter denyerec

    (@denyerec)

    Listless – I’m still scratching my head over the internal image issue. It would help if you could supply a few more example book titles or ISBN’s that the problem occurs with.

    Edit:

    Looking at what you said, it appears you have made the modification required of people for whom external image checking does not work.
    This modification causes the AMM to use the locally stored image, REGARDLESS of which image size you specify. What you may want to try is commenting out both lines, though this will create the potential for a “dead image” from amazon on occasion.

    Comment out lines 593->596 (Inclusive) and see what happens. You must be using the latest code for these numbers to match up!!

    I can’t rememeber if you needed to avoid external image checking. Can you verify how your AMM plugin behaves with the latest version of the code, without modifications?

    It’s likely that Amazon’s XML returns the internal image (Still under investigation) but the normal template calls should return the correct images, providing your server allows you to.

Viewing 15 replies - 16 through 30 (of 107 total)