WordPress.org

Ready to get started?Download WordPress

Forums

Adding WP-Amazon to "Pages" + Bugfix (10 posts)

  1. Michelle
    Member
    Posted 9 years ago #

    I've hacked the wp-amazon plugin so the "Insert comment from Amazon" link shows up on the Page editor, and also so it's in the right place when you edit posts or pages you've already created. This is tested on my system only, so no promises, but it does work for me.

    Download here: http://speakingofromance.com/wp-amazon-plugin.zip

  2. Katrina
    Member
    Posted 9 years ago #

    I don't understand what hyou mean.....could you please give specifics on what you did, I find this inunderstandable :(

  3. CaptMediocre
    Member
    Posted 9 years ago #

    thanks, exactly what i needed! maybe you should contact the original author, that he can implement this funcionality in the next release?

    This hack makes the functionality of wp-amazon (easy posting of amazon articles via a link on the write post page) available on the page-creation page as well.

    i use it with the page_include plugin to easily alter the list of my favourite cds at the moment i display on the sidebar (shameless self promo: http://www.unet.univie.ac.at/~a0442908)

  4. davidchait
    Member
    Posted 9 years ago #

    wow, that's a lot of extra work for a sidebar list. and you have to edit a post to update it? why not just use CG-Amazon, as it was built to do dynamic post/page inlines (with CG-Inline), AND to do sidebar lists either custom or Wishlists... just seems to me that you're using a few hacks and lots of effort... though I'm admittedly a bit biased! ;) ;)

    Neat result in any case. ;)

    -d

  5. www.onlinecasinoselite.com
    Member
    Posted 9 years ago #

    CG-Amazon is overkill. you have to install many scripts and everyone of them slows down WP a little bit - as every plugin does.
    it would be a nice alternative if it could be installed without the admin-scripts of CG-Pack, that are not needed but have to be installed to make it work.

  6. davidchait
    Member
    Posted 9 years ago #

    josepo -

    That's not really true in the slightest.

    Only active plugins get called at all, so if all you run is CG-Amazon, that's the only plugin script that gets executed.

    Admin scripts themselves don't cost you anything except in the admin interface. Of course the plugins that are active have some code running, but that's not what I'd call admin code.

    Also, the overhead of the scripts is pretty negligible for the power they afford, especially balanced with the average load of some other plugins most sites are running. Also, this is a dynamic system, rather than a static [a href], so there's certainly some overhead. But the only big hit comes when it has to go load from Amazon rather than the cache, and that's generally only once a day for a given query.

    Now, if you mean the 'helper' files, well that's how I break up my code. On a normal webserver, having everything in one file versus split into a few shouldn't have any performance impact, as they'll either all get cached, or not get cached at all (same performance either way it's implemented).

    And generally, as for 'overkill', CG-Amazon was designed to manage everything from showing wishlists, to custom keyword lookups, to custom-managed 'now reading/listening' lists, to a mini-catalog. So, it has a lot of features, but I generally find people 'grow into them'. It's far from 'overkill', given that most every feature in there is one a dynamic blog would probably use at some point! ;)

    If you have had some sort of problems with CG-Amazon or the CG-PowerPack, I'd love to hear about it. Drop me an email at cgcode at chait dot net, and I'll see what I can do to address your questions/issues in future releases.

    Oh, I should also note that aside from the Admin panel, CG-Amazon (like many PowerPack scripts) have little if any specific 'hooks' back to WordPress. Which means if you wanted to go old-school and include/call them yourself without using the plugin system, or on a NON-WP page/site, you can. I've tried to keep that up so that the scripts are more generally flexible.

    -d

  7. rmanalan
    Member
    Posted 9 years ago #

    mmcginnis, I'll go ahead and add your changes into WP-Amazon. Thanks for your contribution!

  8. PaulV
    Member
    Posted 8 years ago #

    Are there files missing in the download?

    dont work at all for me...

    is there another download place I can get it aside from the creator???

  9. PaulV
    Member
    Posted 8 years ago #

    Never mind guys sort of sorted....

  10. PaulV
    Member
    Posted 8 years ago #

    actually its not right.

    Has manalan associate links built into it and no option to put mine.......

    Is it just me or is that a bit of bullshit?

Topic Closed

This topic has been closed to new replies.

About this Topic