WordPress.org

Ready to get started?Download WordPress

Forums

Ecard Plugin (Help) (wrong forum must be in plugins) (2 posts)

  1. egostripper
    Member
    Posted 6 years ago #

    Hi There,

    I think the ecard plugin is a great plugin, but my site is not http://www.test.nl but it is http://www.test.nl/wp.

    I'm stuck at the upload part of the plugin.

    So i've changed the following code:

    <input type="submit" name="submit" value="Upload"/>
    		or <a href="/wp-admin/edit.php?page=ecards.php">cancel</a>
    
    	</form>

    to

    or <a href="/wp/wp-admin/edit.php?page=ecards.php">cancel</a>

    this result in:

    Not Found
    The requested URL /wp/wp-admin/wp-admin/edit.php?page=ecards.php was not found on this server.

    and if I change the code above that:
    '<h3>Add new ecard</h3>
    <form enctype="multipart/form-data" method="post" action="wp-admin/edit.php?page=ecards.php">

    <label for="ecard_file">
    Ecard image file (jpg/gif/png; max <?php echo ini_get('upload_max_filesize') ?>)
    </label>
    <input type="file" name="ecard" id="ecard_file" />

    <p class="submit">'

    into /wp/.......

    Then it result into:
    Kan ecards.php niet laden.
    or translated into english -> cannot load ecards.php

    What am I doing wrong?

  2. pjhile
    Member
    Posted 5 years ago #

    I'm using that plugin as well, and had to make a few updates to get it to work with 2.5.1

    1. find and replace "?page=ecards.php" with "?page=ecards/ecards.php"
    2. find and replace "$thumbnail = dirname($post->guid) . "/" . $post_meta['thumb'];" with "$thumbnail = $post->guid;"

    Hope this helps. If I find any more fixes, I'll try to post them.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags