WordPress.org

Forums

[Plugin: BuddyPress Classifieds] Upload Images broken? (10 posts)

  1. blatant1
    Member
    Posted 5 years ago #

    Just went through the setup, everything looks to be working except for the Image Upload when creating a classified, it has the "Upload Image" button but no browse button. Here is some of the source I get at this point: `<form action="http://---.com/classifieds/create/step/pictures" method="post" id="create-classified-form" class="standard-form" enctype="multipart/form-data">
    <h2>Create a Classified  Classifieds Directory</h2>

    <div class="item-list-tabs no-ajax" id="classified-create-tabs">

    </div>

    <div class="item-body" id="classified-create-body">

    <!-- Classified creation step 2: Classified settings -->

    <!-- Classified creation step 4: Invite friends to classified -->

    <h3>Upload Pictures</h3>
    <p>
    You can upload up to 5 pictures. You can choose which one will be the classified's thumbnail by clicking Use as thumbnail while editing a picture. </p>

    <div>
    <input id="classified-pictures-upload" type="button" value="Upload Image" />
    </div>
    <h3>Current Pictures</h3>
    <div id="classified-gallery" rel="13">
    </div>
    <input type="hidden" id="_wpnonce" name="_wpnonce" value="12219cae95" /><input type="hidden" name="_wp_http_referer" value="/classifieds/create/step/pictures" />

    <div class="submit" id="previous-next">

    <input type="button" value="← Previous Step" id="classified-creation-previous" name="previous" onclick="location.href='http://---.com/classifieds/create/step/classified-settings'" />

    <input type="submit" value="Next Step →" id="classified-creation-next" name="save" />

    </div>

    <input type="hidden" name="classified_id" id="classified_id" value="13" />

    </div><!-- .item-body -->

    </form>
    `

    http://wordpress.org/extend/plugins/buddypress-classifieds/

  2. blatant1
    Member
    Posted 5 years ago #

    Hard for me to debug when I look at the code Step 3 is just plain missing

  3. vusis
    Member
    Posted 4 years ago #

    Hi have you sorted out this problem?

  4. cirpo
    Member
    Posted 4 years ago #

    It's a bug.
    To fix it edit classifieds-pictures.js and substitute every 'j' with 'jQuery'.

    line 94:
    j.post( ajaxurl, {
    change it to
    jQuery.post( ajaxurl, {

    line 74:
    link = j(this).find('.edit-classified-picture');
    to
    link = jQuery(this).find('.edit-classified-picture');

    line 78:
    favorite_link.appendTo(j(this).find('dt:first'));
    to
    favorite_link.appendTo(jQuery(this).find('dt:first'));

    It should work now.

    cirpo

  5. vusis
    Member
    Posted 4 years ago #

    its still not working; can you please send a working version of the file?

  6. vusis
    Member
    Posted 4 years ago #

    Or maybe do the fix, and update the plugin on wordpress...

  7. cruth
    Member
    Posted 4 years ago #

    is this plugin dead?

    Website link does not lead anywhere?

  8. cruth
    Member
    Posted 4 years ago #

    is this plugin dead?

    Website link does not lead anywhere?

    I should add ... seems like a good idea. Having a community, and letting members list classifieds?

    Anyone know of a an alternative

  9. bkng
    Member
    Posted 4 years ago #

    Anyone allready got thie working?

    I still cannot upload pictures. i tried the above bit thers no browse option.

  10. Echo
    Member
    Posted 4 years ago #

    I'm having issues with this too. Look like this plugin was made by a ghost.

Topic Closed

This topic has been closed to new replies.

About this Topic