Title: ip-rob's Replies | WordPress.org

---

# ip-rob

  [  ](https://wordpress.org/support/users/ip-rob/)

 *   [Profile](https://wordpress.org/support/users/ip-rob/)
 *   [Topics Started](https://wordpress.org/support/users/ip-rob/topics/)
 *   [Replies Created](https://wordpress.org/support/users/ip-rob/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/ip-rob/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/ip-rob/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/ip-rob/engagements/)
 *   [Favorites](https://wordpress.org/support/users/ip-rob/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 33 total)

1 [2](https://wordpress.org/support/users/ip-rob/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/ip-rob/replies/page/3/?output_format=md)
[→](https://wordpress.org/support/users/ip-rob/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Meow Lightbox] Include images within the page, but a leaflet map](https://wordpress.org/support/topic/include-images-within-the-page-but-a-leaflet-map/)
 *  Thread Starter [ip-rob](https://wordpress.org/support/users/ip-rob/)
 * (@ip-rob)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/include-images-within-the-page-but-a-leaflet-map/#post-15332770)
 * I was able to get a lot of things figured out by going through code further. 
   In the end, the WP GPX Maps plugin is creating on-click events in the js code
   segment. The only way I can see to have this open in a Meow Lightbox is to know
   how to define the function correctly in the js, which I don’t know because it’s
   in the Meow Lightbox plugin code.
 * The leaflet map uses a background img instead of an img URL so the lightbox “
   magic” can’t be used on the code generated by the map.
 * Giving up unless I could see how the click event is created…maybe some other 
   day.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Meow Lightbox] Include images within the page, but a leaflet map](https://wordpress.org/support/topic/include-images-within-the-page-but-a-leaflet-map/)
 *  Thread Starter [ip-rob](https://wordpress.org/support/users/ip-rob/)
 * (@ip-rob)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/include-images-within-the-page-but-a-leaflet-map/#post-15330771)
 * Last clarification after digging through the code more.
 * It looks like the php code core.php uses “lightboxify” functions to replace img
   tags with the right HTML code to reference the image ID and such. These functions
   should be finding the image reference in the map generated code. I even hardcoded
   the “src” of an image to match values I know were in the lightbox code segment.
   Still no joy.
 * No idea on why this won’t work like it does with other images embedded in the
   page. Maybe it’s something to do with order different code segments for plugins
   are getting run.
 * Rob
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Meow Lightbox] Include images within the page, but a leaflet map](https://wordpress.org/support/topic/include-images-within-the-page-but-a-leaflet-map/)
 *  Thread Starter [ip-rob](https://wordpress.org/support/users/ip-rob/)
 * (@ip-rob)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/include-images-within-the-page-but-a-leaflet-map/#post-15330466)
 * Oops, meant “handled by the Meow Lightbox”.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Meow Lightbox] Include images within the page, but a leaflet map](https://wordpress.org/support/topic/include-images-within-the-page-but-a-leaflet-map/)
 *  Thread Starter [ip-rob](https://wordpress.org/support/users/ip-rob/)
 * (@ip-rob)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/include-images-within-the-page-but-a-leaflet-map/#post-15330283)
 * I was thinking about this a bit more, and it might be easier for me to modify
   the js that generates the href and ima html code with the WP GPX plugin. I’ve
   already had to modify the js to fix a bug in the code so more modifications should
   not be a big deal.
 * What information would need to be in the `<a>` and/or `<img />` tags to allow
   the picture to be handled by the Meow Gallery when clicked?
 * Rob
    -  This reply was modified 4 years, 3 months ago by [ip-rob](https://wordpress.org/support/users/ip-rob/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Meow Gallery] Meow Gallery removed from WordPress.org?](https://wordpress.org/support/topic/meow-gallery-removed-from-wordpress-org/)
 *  [ip-rob](https://wordpress.org/support/users/ip-rob/)
 * (@ip-rob)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/meow-gallery-removed-from-wordpress-org/#post-14691610)
 * Thanks for the update and great work on your plugins! They are the best!!
 * Rob
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[File Manager] File Manager Will Not Load](https://wordpress.org/support/topic/file-manager-will-not-load-3/)
 *  [ip-rob](https://wordpress.org/support/users/ip-rob/)
 * (@ip-rob)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/file-manager-will-not-load-3/page/2/#post-14134385)
 * [@sahildhier6](https://wordpress.org/support/users/sahildhier6/), I’d recommend
   you use a different plugin if this one is broken. I started using Filester after
   troubles with the update and never looked back.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Security Plugin, Firewall & Malware Scanner with Auto Removal] MFA using authenticator app](https://wordpress.org/support/topic/mfa-using-authenticator-app/)
 *  Thread Starter [ip-rob](https://wordpress.org/support/users/ip-rob/)
 * (@ip-rob)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/mfa-using-authenticator-app/#post-13928130)
 * A good example is the Wordfence implementation of MFA. They have you set up the
   authenticator app using the QR scan (typical auth app implementation). Then, 
   instead of emailing a code, they prompt for you to enter the MFA code verifying
   it with the backend provider. This is a truly secure MFA versus email or SMS.
 * [https://www.wordfence.com/help/tools/two-factor-authentication/](https://www.wordfence.com/help/tools/two-factor-authentication/)
 * Does this help?
 * Rob
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[File Manager] File Manager Will Not Load](https://wordpress.org/support/topic/file-manager-will-not-load-3/)
 *  [ip-rob](https://wordpress.org/support/users/ip-rob/)
 * (@ip-rob)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/file-manager-will-not-load-3/#post-13803826)
 * I also have Wordfence (didn’t test to see if this is the cause) and the plugin
   stopped working with the 5.6 upgrade of WP. I only use it for simple file uploads
   so I activated Filester File Manager Pro which worked without an issue. Will 
   wait to see if an update fixes this one.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Statistics – Simple, privacy-friendly Google Analytics alternative] Is there a conflict with Wordfence?](https://wordpress.org/support/topic/is-there-a-conflict-with-wordfence/)
 *  [ip-rob](https://wordpress.org/support/users/ip-rob/)
 * (@ip-rob)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/is-there-a-conflict-with-wordfence/#post-13732364)
 * I’m not the developer, but I run Wordfence with this plugin and there are no 
   issues that I’ve experienced. My guess is that the only thing I could see happening
   is that Wordfence blocks traffic and thus, it won’t show up in Statistics. I 
   have certain countries blocked and they never show up in WP Statistics.
 * Not sure this helps…
 * Rob
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[GPX Viewer] Error when displaying categories in admin screen](https://wordpress.org/support/topic/error-when-displaying-categories-in-admin-screen/)
 *  [ip-rob](https://wordpress.org/support/users/ip-rob/)
 * (@ip-rob)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/error-when-displaying-categories-in-admin-screen/#post-13621777)
 * This modification didn’t work for me so I went ahead and did it the hard way 
   inserting the prefix into the statement everywhere “wp_” was located. My hosting
   company uses a different prefix and this resolved the issue.
 *     ```
       	$sql = 	"SELECT ".$wpdb->prefix."terms.slug, ".$wpdb->prefix."terms.name
       			FROM ".$wpdb->prefix."term_taxonomy, ".$wpdb->prefix."terms
       			WHERE ".$wpdb->prefix."term_taxonomy.taxonomy = 'category'
       			AND ".$wpdb->prefix."terms.term_id = ".$wpdb->prefix."term_taxonomy.term_id
       			AND ".$wpdb->prefix."term_taxonomy.parent = 0";
       ```
   
 * Rob
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[UpdraftPlus: WP Backup & Migration Plugin] Backup fails to create additional zip files](https://wordpress.org/support/topic/backup-fails-to-create-additional-zip-files/)
 *  Thread Starter [ip-rob](https://wordpress.org/support/users/ip-rob/)
 * (@ip-rob)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/backup-fails-to-create-additional-zip-files/#post-13591813)
 * Never fails to happen, say it will fail and then it succeeds. This one did succeed
   even though it failed for me multiple times in the past. The plugin was updated
   recently so maybe that was the issue.
 * Thanks for your timely responses and glad it is working!
 * Rob
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[UpdraftPlus: WP Backup & Migration Plugin] Backup fails to create additional zip files](https://wordpress.org/support/topic/backup-fails-to-create-additional-zip-files/)
 *  Thread Starter [ip-rob](https://wordpress.org/support/users/ip-rob/)
 * (@ip-rob)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/backup-fails-to-create-additional-zip-files/#post-13591505)
 * I can and will, although as I mentioned in my original post, I’ve tried 25MB 
   to 4GB. All fail the same way.
 * Rob
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[UpdraftPlus: WP Backup & Migration Plugin] Backup fails to create additional zip files](https://wordpress.org/support/topic/backup-fails-to-create-additional-zip-files/)
 *  Thread Starter [ip-rob](https://wordpress.org/support/users/ip-rob/)
 * (@ip-rob)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/backup-fails-to-create-additional-zip-files/#post-13587793)
 * You can access the latest log at [https://1drv.ms/t/s!Aq8j-E-fDnqCg8F1MIB9QTxTSTk-oA?e=e2Xr56](https://1drv.ms/t/s!Aq8j-E-fDnqCg8F1MIB9QTxTSTk-oA?e=e2Xr56).
   Thanks.
 * Rob
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP GPX Maps] Fix for jQuery live() function warning](https://wordpress.org/support/topic/fix-for-jquery-live-function-warning/)
 *  Thread Starter [ip-rob](https://wordpress.org/support/users/ip-rob/)
 * (@ip-rob)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/fix-for-jquery-live-function-warning/#post-13545313)
 * Fixing the post by incorporating code tags.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP GPX Maps] Fix for jQuery live() function warning](https://wordpress.org/support/topic/fix-for-jquery-live-function-warning/)
 *  Thread Starter [ip-rob](https://wordpress.org/support/users/ip-rob/)
 * (@ip-rob)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/fix-for-jquery-live-function-warning/#post-13545312)
 *     ```
       /*
         mColorPicker
         Version: 1.0 r39
   
         Copyright (c) 2010 Meta100 LLC.
         http://www.meta100.com/
   
         Licensed under the MIT license 
         http://www.opensource.org/licenses/mit-license.php 
       */
   
       (function($){var b,f,h,l,j=$(document),i=$("<div>"),k=$("<div>"),n=$("<div>"),o=$("<input>"),p=/^rgb[a]?\((\d+),\s*(\d+),\s*(\d+)(,\s*(\d+\.\d+)*)?\)/,q=/([a-f0-9])([a-f0-9])([a-f0-9])/,r=/#[a-f0-9]{3}/,s=/#[a-f0-9]{6}/;$.fn.mColorPicker=function(a){var c=$.fn.mColorPicker.getCookie("swatches");b=$.extend($.fn.mColorPicker.defaults,a);$.fn.mColorPicker.defaults.swatches.concat(b.swatches).slice(-10);f.enhancedSwatches&&c&&(b.swatches=c.split("||").concat(b.swatches).slice(0,10)||b.swatches);$("div#mColorPicker").length||$.fn.mColorPicker.drawPicker();$("#css_disabled_color_picker").length||$("head").prepend('<meta data-remove-me="true"/><style id="css_disabled_color_picker" type="text/css">.mColorPicker[disabled] + span, .mColorPicker[disabled="disabled"] + span, .mColorPicker[disabled="true"] + span {filter:alpha(opacity=50);-moz-opacity:0.5;-webkit-opacity:0.5;-khtml-opacity: 0.5;opacity: 0.5;cursor:default;}</style>');$("meta[data-remove-me=true]").remove();this.each($.fn.mColorPicker.drawPickerTriggers);return this};$.fn.mColorPicker.init={replace:"[type=color]",index:0,enhancedSwatches:!0,allowTransparency:!0,slogan:"Meta100 - Designing Fun",showLogo:!0};$.fn.mColorPicker.defaults={currentId:!1,currentInput:!1,currentColor:!1,changeColor:!1,color:!1,imageFolder:"http://meta100.github.com/mColorPicker/images/",swatches:"#ffffff,#ffff00,#00ff00,#00ffff,#0000ff,#ff00ff,#ff0000,#4c2b11,#3b3b3b,#000000".split(",")};$.fn.mColorPicker.start=function(){$('input[data-mcolorpicker!="true"]').filter(function(){return"[type=color]"==f.replace?"color"==this.getAttribute("type"):$(this).is(f.replace)}).mColorPicker()};$.fn.mColorPicker.events=function(){$(document).on("click","#mColorPickerBg",$.fn.mColorPicker.closePicker);$(document).on("keyup",".mColorPicker",function(){try{$(this).css({"background-color":$(this).val()}).css({color:$.fn.mColorPicker.textColor($(this).css("background-color"))}).trigger("change")}catch(a){}});$(document).on("click",".mColorPickerTrigger",$.fn.mColorPicker.colorShow);$(document).on(document).on("click","mousemove",".mColor, .mPastColor",function(a){if(!b.changeColor)return!1;var c=$(this),g=c.offset(),d=b.currentInput,d=d.attr("data-hex")||d.attr("hex");b.color=c.css("background-color");c.hasClass("mPastColor")?b.color=$.fn.mColorPicker.setColor(b.color,d):c.hasClass("mColorTransparent")?b.color="transparent":c.hasClass("mPastColor")||(b.color=$.fn.mColorPicker.whichColor(a.pageX-g.left,a.pageY-g.top,d));b.currentInput.mSetInputColor(b.color)},$.fn.mColorPicker.colorPicked);$(document).on(document).on("blur","keyup","#mColorPickerInput",function(a){try{b.color=$(this).val(),b.currentInput.mSetInputColor(b.color),13==a.which&&$.fn.mColorPicker.colorPicked()}catch(c){}},function(){b.currentInput.mSetInputColor(b.color)});$(document).on("mouseleave","#mColorPickerWrapper",function(){if(!b.changeColor)return!1;var a=b.currentInput;b.currentInput.mSetInputColor($.fn.mColorPicker.setColor(b.currentColor,a.attr("data-hex")||a.attr("hex")))})};$.fn.mColorPicker.drawPickerTriggers=function(){var a=$(this),c=a.attr("id")||"color_"+f.index++,g="hidden"==a.attr("text")||"hidden"==a.attr("data-text")?!0:!1,d=$.fn.mColorPicker.setColor(a.val(),a.attr("data-hex")||a.attr("hex")),e=a.width(),h=a.height(),i=a.css("float"),j=$("<span>"),m=$("<span>"),k="";j.attr({id:"color_work_area","class":"mColorPickerInput"}).appendTo(l);m.attr({id:"mcp_"+c,"class":"mColorPickerTrigger"}).css({display:"inline-block",cursor:"pointer"}).insertAfter(a);$("<img>").attr({src:b.imageFolder+"color.png"}).css({border:0,margin:"0 0 0 3px","vertical-align":"text-bottom"}).appendTo(m);j.append(a);k=j.html().replace(/type=[^a-z ]*color[^a-z //>]*/gi,'type="'+(g?"hidden":"text")+'"');j.html("").remove();a=$(k).attr("id",c).addClass("mColorPicker").val(d).insertBefore(m);g&&m.css({border:"1px solid black","float":i,width:e,height:h}).addClass(a.attr("class")).html("&nbsp;");a.mSetInputColor(d);return a};$.fn.mColorPicker.drawPicker=function(){var a=$("<div>"),c=$("<a>"),g=$("<div>"),d=$("<div>");k.attr({id:"mColorPickerBg"}).css({display:"none",background:"black",opacity:0.01,position:"absolute",top:0,right:0,bottom:0,left:0}).appendTo(l);i.attr({id:"mColorPicker","data-mcolorpicker":!0}).css({position:"absolute",border:"1px solid #ccc",color:"#fff",width:"194px",height:"184px","font-size":"12px","font-family":"times",display:"none"}).appendTo(l);n.attr({id:"mColorPickerTest"}).css({display:"none"}).appendTo(l);d.attr({id:"mColorPickerWrapper"}).css({position:"relative",border:"solid 1px gray"}).appendTo(i);$("<div>").attr({id:"mColorPickerImg","class":"mColor"}).css({height:"136px",width:"192px",border:0,cursor:"crosshair","background-image":"url("+b.imageFolder+"picker.png)"}).appendTo(d);a.attr({id:"mColorPickerSwatches"}).css({"border-right":"1px solid #000"}).appendTo(d);$("<div>").addClass("mClear").css({clear:"both"}).appendTo(a);for(h=9;-1<h;h--)$("<div>").attr({id:"cell"+h,"class":"mPastColor"+(0<h?" mNoLeftBorder":"")}).css({"background-color":b.swatches[h].toLowerCase(),height:"18px",width:"18px",border:"1px solid #000","float":"left"}).html("&nbsp;").prependTo(a);g.attr({id:"mColorPickerFooter"}).css({"background-image":"url("+b.imageFolder+"grid.gif)",position:"relative",height:"26px"}).appendTo(d);o.attr({id:"mColorPickerInput",type:"text"}).css({border:"solid 1px gray","font-size":"10pt",margin:"3px",width:"80px"}).appendTo(g);f.allowTransparency&&$("<span>").attr({id:"mColorPickerTransparent","class":"mColor mColorTransparent"}).css({"font-size":"16px",color:"#000","padding-right":"30px","padding-top":"3px",cursor:"pointer",overflow:"hidden","float":"right"}).text("transparent").appendTo(g);f.showLogo&&c.attr({href:"http://meta100.com/",title:f.slogan,alt:f.slogan,target:"_blank"}).css({"float":"right"}).appendTo(g);$("<img>").attr({src:b.imageFolder+"meta100.png",title:f.slogan,alt:f.slogan}).css({border:0,"border-left":"1px solid #aaa",right:0,position:"absolute"}).appendTo(c);$(".mNoLeftBorder").css({"border-left":0})};$.fn.mColorPicker.closePicker=function(){k.hide();i.fadeOut()};$.fn.mColorPicker.colorShow=function(){var a=$(this),c=a.attr("id").replace("mcp_",""),g=a.offset(),d=$("#"+c),e=g.top+a.outerHeight(),f=g.left;if(d.attr("disabled"))return!1;b.currentColor=d.css("background-color");b.changeColor=!0;b.currentInput=d;b.currentId=c;e+i.height()>j.height()&&(e=g.top-i.height());f+i.width()>j.width()&&(f=g.left-i.width()+a.outerWidth());i.css({top:e+"px",left:f+"px"}).fadeIn("fast");k.show();b.color=$("#"+c).attr("data-text")?a.css("background-color"):d.css("background-color");b.color=$.fn.mColorPicker.setColor(b.color,d.attr("data-hex")||d.attr("hex"));o.val(b.color)};$.fn.mColorPicker.setInputColor=function(a,c){$("#"+a).mSetInputColor(c)};$.fn.mSetInputColor=function(a){var c=$(this),g={"background-color":a,"background-image":"transparent"==a?"url('"+b.imageFolder+"grid.gif')":"",color:$.fn.mColorPicker.textColor(a)};(c.attr("data-text")||c.attr("text"))&&c.next().css(g);c.val(a).css(g).trigger("change");o.val(a)};$.fn.mColorPicker.textColor=function(a){a=$.fn.mColorPicker.RGBtoHex(a);return"undefined"==typeof a||"transparent"==a?"black":400>parseInt(a.substr(1,2),16)+parseInt(a.substr(3,2),16)+parseInt(a.substr(5,2),16)?"white":"black"};$.fn.mColorPicker.setCookie=function(a,c,b){a=a+"="+escape(c);c=new Date;c.setDate(c.getDate()+b);a+="; expires="+c.toGMTString();document.cookie=a};$.fn.mColorPicker.getCookie=function(a){return(a=document.cookie.match("(^|;) ?"+a+"=([^;]*)(;|$)"))?unescape(a[2]):null};$.fn.mColorPicker.colorPicked=function(){b.changeColor=!1;$.fn.mColorPicker.closePicker();$.fn.mColorPicker.addToSwatch();b.currentInput.trigger("colorpicked")};$.fn.mColorPicker.addToSwatch=function(a){if(!f.enhancedSwatches)return!1;var c=[];h=0;"string"==typeof a&&(b.color=a);"transparent"!=b.color&&(c[0]=$.fn.mColorPicker.hexToRGB(b.color));$(".mPastColor").each(function(){var a=$(this);b.color=$.fn.mColorPicker.hexToRGB(a.css("background-color"));if(b.color!=c[0]&&c.length<10)c[c.length]=b.color;a.css("background-color",c[h++])});f.enhancedSwatches&&$.fn.mColorPicker.setCookie("swatches",c.join("||"),365)};$.fn.mColorPicker.whichColor=function(a,c,b){var d=[255,255,255];32>a?(d[1]=8*a,d[2]=0):64>a?(d[0]=256-8*(a-32),d[2]=0):96>a?(d[0]=0,d[2]=8*(a-64)):128>a?(d[0]=0,d[1]=256-8*(a-96)):160>a?(d[0]=8*(a-128),d[1]=0):(d[1]=0,d[2]=256-8*(a-160));for(var e=0;3>e;e++)64>c?d[e]+=(256-d[e])*(64-c)/64:128>=c?d[e]-=d[e]*(c-64)/64:128<c&&(d[e]=256-256*(a/192)),d[e]=Math.round(Math.min(d[e],255)),"true"==b&&(d[e]=$.fn.mColorPicker.decToHex(d[e]));return"true"==b?"#"+d.join(""):"rgb("+d.join(", ")+")"};$.fn.mColorPicker.setColor=function(a,c){return"true"==c?$.fn.mColorPicker.RGBtoHex(a):$.fn.mColorPicker.hexToRGB(a)};$.fn.mColorPicker.colorTest=function(a){n.css("background-color",a);return n.css("background-color")};$.fn.mColorPicker.decToHex=function(a){a=parseInt(a);return""+"0123456789ABCDEF".charAt(Math.floor(a/16))+(""+"0123456789ABCDEF".charAt(a-16*Math.floor(a/16)))};$.fn.mColorPicker.RGBtoHex=function(a){var c="#",b,a=a?a.toLowerCase():!1;if(!a)return"";if(s.test(a))return a.substr(0,7);if(r.test(a))return a.replace(q,"$1$1$2$2$3$3").substr(0,7);if(b=a.match(p)){for(a=1;4>a;a++)c+=$.fn.mColorPicker.decToHex(b[a]);return c}return $.fn.mColorPicker.colorTest(a)};$.fn.mColorPicker.hexToRGB=function(a){a=a?a.toLowerCase():!1;return!a?"":p.test(a)?a:r.test(a)?(s.test(a)||(a=a.replace(q,"$1$1$2$2$3$3")),"rgb("+parseInt(a.substr(1,2),16)+", "+parseInt(a.substr(3,2),16)+", "+parseInt(a.substr(5,2),16)+")"):$.fn.mColorPicker.colorTest(a)};f=$.fn.mColorPicker.init;j.ready(function(){l=$("body");$.fn.mColorPicker.events();f.replace&&("function"==typeof $.fn.mDOMupdate?$("input").mDOMupdate($.fn.mColorPicker.start):"function"==typeof $.fn.livequery?$("input").livequery($.fn.mColorPicker.start):($.fn.mColorPicker.start(),(document).on("ajaxSuccess.mColorPicker",j,$.fn.mColorPicker.start)))})})(jQuery);
       ```
   

Viewing 15 replies - 1 through 15 (of 33 total)

1 [2](https://wordpress.org/support/users/ip-rob/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/ip-rob/replies/page/3/?output_format=md)
[→](https://wordpress.org/support/users/ip-rob/replies/page/2/?output_format=md)