This forum is a community forum meant for users of the plugin to collaborate and help solve issues with implementation, etc. Unfortunately, as the creator of the plugin, I do not have much time to attend to every request here as this is only a side project and I must work a full-time job to provide for my family. This is how I keep the Flash version free and the HTML5 version low cost.
UploadiFive 1.1.1 has been released which includes a small fix for added support on touch devices including iOS 6 devices.
After upload how to redirect
  • After successful upload I would like to redirect the page (actually refresh). How can I implement this?
  • You can do this:


    onAllComplete: function() {
    location.reload();
    }
  • where do you add this at? onAllComplete: function() { location.reload();}


    $('#file_upload').uploadify({
    'fileSizeLimit' : '1000KB',
    'swf' : 'uploadify/uploadify.swf',
    'uploader' : 'uploadify/uploadify.php',
    'height' : '20',
    'buttonText' : 'Banner Image'

    });
  • $('#file_upload').uploadify({
    'fileSizeLimit' : '1000KB',
    'swf' : 'uploadify/uploadify.swf',
    'uploader' : 'uploadify/uploadify.php',
    'height' : '20',
    'buttonText' : 'Banner Image',
    'onAllComplete': function() {
    location.reload();
    }
    });
  • Thanks for the reply RoonieSan
    i tried that but got a java script error of a missing bracket, hmm


    $("a#profile_edit").live('click' ,function(event) {
    event.preventDefault();


    $.ajax({
    url: "ajax/profile.php?functions=edit",

    type: 'POST',

    dataType: 'json',

    data: {
    content: $('textarea.edit_profile_content').val()
    },

    error: function(){
    alert("Oops... seems to be a problem retrieving data. function Profile Edit")

    },

    success: function(response) {
    $('div.profile_edit').html("<a href='' id='update_profile'>Update<a/><input type='file' name='file_upload' id='file_upload'/>");

    $('#file_upload').uploadify({
    'fileSizeLimit' : '1000KB',
    'swf' : 'uploadify/uploadify.swf',
    'uploader' : 'uploadify/uploadify.php',
    'height' : '20',
    'buttonText' : 'Banner Image'
    'onAllComplete': function() {

    alert("done");

    }
    });

    $('div.profile_bio').html("<textarea rows='16' cols='9' size='20' class='edit_profile_content'></textarea>");
    $('textarea.edit_profile_content').html(response.display);
    }
    });


    });
  • You're missing a comma after 'Banner Image'.
  • oh ya lol sorry, i forgot when i tried it earlier i didnt have any errors :p. anways when i do this the alert doesnt fire. :(
  • does that work for you when you do a alert?