Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

uploadify version 3 Beta
  • the version 2 doesnt work very well, for example .uploadifySettings doesnt work with the newest jqeuery version and the flash version goes always down if i open the alert function

    so i installed version 3 on my page

    my question now is, where a the callback parameters in that function onQueueComplete()

    where are these parameters like (version 2) ...'oneComplete' : function(event, ID, fileObj, response, data) {...



    i hope you have answers for my questions

    and if in these beta the parameters stil doesent exist, the i hope you add these parameters very fast


    and excuses me for my bad english

    knotenpunkt
  • Hi,

    I would like a bit of help on V3 too.

    I have (I'm guessing) similar issues to "knotenpunkt" as FireBug shows onQueueComplete errors

    sample firebug output:

    setting is not defined
    onUploadComplete(file=Object { name="10k.txt", index=0, more...})
    SWFUpload()
    SWFUpload()
    SWFUpload()
    if (swfuploadify.settings.onQu...ete) setting.onQueueComplete(stats);


  • so i have solved my problem:

    i found the follwing function in the uploadify.js

    function onUploadSuccess(file,data,response) {
    swfuploadify.queue.queueBytesUploaded += file.size;
    jQuery('#' + file.id).find('.data').html(' - Complete');
    if (swfuploadify.settings.onUploadSuccess) swfuploadify.settings.onUploadSuccess(file,data,response);


    you can it use so:

    'onUploadSuccess' : function(bla, etwas,uff) {

    for example name of the file: bla.name;
    server response: etwas

    and uff have the content true or false

    pay attention at data and response, data have the server response and response is true if it was successful and false if it isnt successful

    }



    knotenpunkt
    }
  • es gibt ein weiteres problem:
    Fehler: uncaught exception: Call to SetUploadURL failed


    wenn ich das hier in version 3 aufrufe

    $(\'#file_upload\').uploadifySettings(\'uploader\',\'bild_upload.php?'.$session_name1.'='.$session_id1.'&galleriename=\'+gallerie);


    knotenpunkt
  • es gibt ein weiteres problem: = it exists a problem more:
    wenn ich das hier in version 3 aufrufe: = if i write the following then firefox give me that problem message back

    *****that is the translation of my question before********



    knotenpunkt
  • The user and all related content has been deleted.
  • Deutsche Version:
    Ich weiß nicht ob Dein Problem noch immer besteht. Aber ich poste trotzdem die Lösung.
    Erstens Du braucht im Javascript-Code keine Backslashes \
    Zum anderen verbindest Du Deine Strings nicht richtig. Statt . musst + verwenden

    English Version:
    I don't know if your problem is still existent. Anyhow I post a solution.
    First of all, you don't need to use backslashes in your javascript code.
    Secondly you concatenate your strings with the wrong operator. Use + instead of .
  • The user and all related content has been deleted.
  • Beta 3.0 uses Swfobject to trigger the events, so to know what parameters are passed you may look at the swfobject documentation:

    uploadComplete(fileobject)

    where fileobject has this properties:

    {
    id : string,upload
    index : number,
    name : string,
    size : number,
    type : string,
    creationdate : Date,
    modificationdate : Date,
    filestatus : number
    }