WordPress.org

Ready to get started?Download WordPress

Forums

Frontend Uploader
Progress bar (6 posts)

  1. uddhava
    Member
    Posted 1 year ago #

    Rinat,

    A plea again for a progress bar. The next release came, but the progress bar didnt make it in. Maybe you could give a short example how to display a fake progress icon after the submit button is clicked.
    In that way my users will not close the upload.

    previous topic (now resolved)

    http://wordpress.org/extend/plugins/frontend-uploader/

  2. Chris Reynolds
    Member
    Posted 1 year ago #

    What you'd want to do is add a javascript onClick event.
    http://www.w3schools.com/jsref/event_onclick.asp

    Then, with CSS, hide the submit button after the onClick and show an image instead. So maybe the onClick adds a class to the submit button and shows the graphic (similar to the Hello World that's displayed in the demo on the w3schools page).

  3. uddhava
    Member
    Posted 1 year ago #

    Thanks chris. I have to look into the code to apply this trick.
    Maybe i can use the space that this plugin uses to display the success message. First the progress image and then the success message.

    I hope Rinat could specify where to apply this code, around which line.

  4. Chris Reynolds
    Member
    Posted 1 year ago #

    Yeah, it's by no means a perfect solution, but it could work as a quick hack. At the very least hiding the submit button would probably be useful. I don't actually use this plugin but I got pinged because I wrote *this* plugin: http://wordpress.org/extend/plugins/progress-bar/ :)

  5. uddhava
    Member
    Posted 1 year ago #

    Chris,

    Thanks for the tips of course. And the progress bar that you created looks great. I wonder if that can be merged with the upload plugin... :-)

  6. Rinat Khaziev
    Member
    Plugin Author

    Posted 1 year ago #

    Hey guys,

    Thanks for the attention. Unfortunately, I don't have any time to put in the plugin right now, unless it's something critical. Chris proposed a good workaround in the mean time.

    The thing is, current implementation of file upload is synchronous, to do a proper progress bar I'd have to implement AJAX uploads. While these are trivial tasks, they still take time to build and test.

    The issue is definitely on my list, I just can't give you any tentative release date.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic