Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author nickboss

    (@nickboss)

    Hi, you have Free or Pro version (instructions are different)?

    Regarding the border issue, I tried opening the page but I didn’t make it. It can be done with a little css, but I need to have access to the page.

    Nickolas

    Thread Starter cargarm3

    (@cargarm3)

    Hi, I have the PRO version.

    The url works ok : artesingular.es/imagen

    Try again, please.

    Plugin Author nickboss

    (@nickboss)

    which version of the plugin do you have? the latest one has a Spanish translation, where Upload in progress is translated as “Carga en progreso”

    Thread Starter cargarm3

    (@cargarm3)

    My PRO version is 3.8.5

    Plugin Author nickboss

    (@nickboss)

    Please put the following code inside the page contents just below the shortcode. This code will replace “Upload in progress” text with “Carga en progreso”.

    <script type="text/javascript">
    var upload_states = wfu_plugin_decode_string(document.getElementById('wfu_messageblock_header_1_states').value);
    document.getElementById('wfu_messageblock_header_1_states').value = wfu_plugin_encode_string(upload_states.replace('>Upload in progress<', '>Carga en progreso<'));
    </script>

    Nickolas

    Thread Starter cargarm3

    (@cargarm3)

    Ok, and what about the grey border? Which .css parametre do I have to change?

    Plugin Author nickboss

    (@nickboss)

    I opened the page. Which dialog boxes are you referring?

    Thread Starter cargarm3

    (@cargarm3)

    In the dialog box, there is a black rectangle which contents the messages and then a grey one . I want to delete the grey one.

    Plugin Author nickboss

    (@nickboss)

    I think the correct css code is:

    table.file_messageblock_table, td.file_messageblock_header_td, td.file_messageblock_fileheader_td { border: none; }

    You need to put this inside the Custom CSS area of the plugin

    Thread Starter cargarm3

    (@cargarm3)

    The css worked perfectly. But the code “Upload in progress” does not work. “Carga en progreso” is not shown.

    Note that in the site I added previously this :

    <script type=”text/javascript”>
    Object.prototype.watch||Object.defineProperty(Object.prototype,”watch”,{enumerable:!1,configurable:!0,writable:!1,value:function(e,t){var r=this[e],n=r,c=function(){return n},i=function(c){return r=n,n=t.call(this,e,r,c)};if (delete this[e]) {Object.defineProperty(this,e,{get:c,set:i,enumerable:!0,configurable:!0})}}}),Object.prototype.unwatch||Object.defineProperty(Object.prototype,”unwatch”,{enumerable:!1,configurable:!0,writable:!1,value:function(e){var t=this[e];delete this[e],this[e]=t}});
    if (typeof original_wfu_ProcessUploadComplete == “undefined”) original_wfu_ProcessUploadComplete = window[“wfu_ProcessUploadComplete”];
    window[“wfu_ProcessUploadComplete”] = function(sid, file_id, upload_params, unique_id, params_index, session_token, safe_output, debug_data, request_type, js_script_enc) {
    var w = false; var rl = “”; var G = null; if (!!GlobalData[sid]) {G = GlobalData[sid]; G.watch(“last”, function (id, ov, nv) { if (nv) {rl = G.redirect_link; G.redirect_link = “”; G.admin_messages.redirect = “”;} return nv; }); w = true; }
    var last = original_wfu_ProcessUploadComplete(sid, file_id, upload_params, unique_id, params_index, session_token, safe_output, debug_data, request_type, js_script_enc);
    if (w) GlobalData[sid].unwatch(“last”); if (!!GlobalData[sid]) {G = GlobalData[sid]; if (!(G.errors.redirect != “” || rl == “”)) wfu_Redirect(rl); return last;}}
    </script>

    ?Any idea?

    Plugin Author nickboss

    (@nickboss)

    your uploadid is 5, so perhaps this will work:

    <script type="text/javascript">
    var upload_states = wfu_plugin_decode_string(document.getElementById('wfu_messageblock_header_5_states').value);
    document.getElementById('wfu_messageblock_header_5_states').value = wfu_plugin_encode_string(upload_states.replace('>Upload in progress<', '>Carga en progreso<'));
    </script>
    Thread Starter cargarm3

    (@cargarm3)

    Ok, it worked. Thank you.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Border Dialog Boxes and Texts’ is closed to new replies.