Forums

did anyone got Amazon Media Manager 1.1  to work (15 posts)

  1. solarpunk
    Member
    Posted 5 years ago #

    Hello,
    I was wondering if anyone got Amazon Media Manager 1.1  to work with wordpress 1.2 beta?
    Thanks,
    Victor

  2. Beel
    Member
    Posted 5 years ago #

    Yep, what's the problem?

  3. clay
    Member
    Posted 5 years ago #

    I tried to, but I couldn't get any of my media to show up.
    I don't have a problem with 1.0.2 though

  4. solarpunk
    Member
    Posted 5 years ago #

    Thanks,
    That work but i still dont get the menu to added more media source to the list. i will look into how to get the menu to show.
    Thanks,
    Victor

  5. Beel
    Member
    Posted 5 years ago #

    You have to add it in menu.php with something like this in the array:
    array(Media, 5, 'amazonphp.php'),

  6. solarpunk
    Member
    Posted 5 years ago #

    Thanks...
    That work :)..
    victor

  7. merialc
    Member
    Posted 5 years ago #

    I'm having problems getting this to work, I tried adding to the array in menu.php but it just caused me to get:
    Parse error: parse error, unexpected T_ARRAY, expecting ')' in /home/merialc/public_html/wordpress/wp-admin/menu.php on line 20
    Any suggestions?

  8. merialc
    Member
    Posted 5 years ago #

    Never mind! It is working, I'm just blind! :)

  9. Manzabar
    Member
    Posted 5 years ago #

    Has anybody tried setting this hack up as a plugin yet? Been successful? Care to share how they did it?

  10. Manzabar
    Member
    Posted 5 years ago #

    Hmm, I tried that actually but when I activate the plugin; it then gives me the following error.
    <pre>
    Warning: main(admin-header.php): failed to open stream: No such file or directory in /home/manzabar/public_html/wp-content/plugins/amazonphp.php on line 18
    Fatal error: main(): Failed opening required 'admin-header.php' (include_path='.:/usr/share/php') in /home/manzabar/public_html/wp-content/plugins/amazonphp.php on line 18
    </pre>
    Then I went into the amazonphp.php file, to line 18 and saw:
    <pre>
    require_once('admin-header.php');
    </pre>
    I tried changing this to find the file using a relative path:
    <pre>
    require_once('../../wp-admin/admin-header.php');
    </pre>
    Unfortunately, I got the same errors as before, so then I tried changing this to use an absolute path:
    <pre>
    require_once('/home/manzabar/public_html/wp-admin/admin-header.php');
    </pre>
    But I still got the errors. Any suggestions?

  11. davidchait
    Member
    Posted 5 years ago #

    I've been looking into making CG-Amazon into a plugin, but I've yet to see support for the kinds of interface needed to make it work easily... well, as easily as the current instructions can possibly make it, given the steps needed. ;)
    -d

  12. Manzabar
    Member
    Posted 5 years ago #

    @Beel: You rock! Your last suggestion fixed it and now I've got AMM running as a plugin.
    @davidchait: I'd looked at your hack back when I was wanting to add this sort of thing to my site, but I found AMM first and it seemed easy enough to do what I was looking for. I will be watching the forums to see what new features you implement; but at this point, I don't feel the need to switch.

  13. Anonymous
    Unregistered
    Posted 5 years ago #

    I am having the same problem as merialc. I get: Parse error: parse error, unexpected T_ARRAY, expecting ')' in /home/dailyjot/www/www/wp-admin/menu.php on line 19
    I have this in menu.php on line 19:
    array(__('Media'), 5, 'amazonphp.php'),
    I've also tried this and got the same error:
    array(__('Media'), 5, 'amazonphp.php')
    Any ideas?

  14. Anonymous
    Unregistered
    Posted 5 years ago #

    Nevermind. I see what I did now. I did not add a , at the end of the line above it.

  15. Anonymous
    Unregistered
    Posted 5 years ago #

    In the new update, i wanted to find a way to link to the itune store instead of amazon. I know, someone came out with plugin that let you show what music you are listening to itunes but i didnt like that much.
    maybe a way for visitor to post comments on them item being listed is a good idea.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.