neowebsolution
Forum Replies Created
Viewing 4 replies - 1 through 4 (of 4 total)
-
Replace function far_ob_call with my function it will began to work
/* * Apply find and replace rules */ function far_ob_call( $buffer ) { // $buffer contains entire page $far_settings = get_option( 'far_plugin_settings' ); if ( isset ( $far_settings['farfind'] ) && is_array( $far_settings['farfind'] ) ){ $i = 1; foreach ( $far_settings['farfind'] as $key => $find ){ if ( isset( $far_settings['farreplace'][$key] ) ) { $far_replace = $far_settings['farreplace'][$key]; } else { $far_replace = ''; } $buffer = str_replace( $find,$far_replace, $buffer ); } } // print_r($far_settings); return $buffer; }
I made it work some othee js was conflicting with this
not working for me too even tried latest version
Forum: Plugins
In reply to: [NIC Photo Editor] Error Message "Please upload image only"Hello , i know where is problem please open the file add_image_iframe.php on line no 130 replace
if (jQuery(html).find("img").length == 0) { alert('Please upload image only'); tb_remove(); return false; } imgurl = jQuery('img',html).attr('src');
to
var re = /<img[^>]+src="http:\/\/([^">]+)/g var results = re.exec(html); if (!results[1]) { alert('Please upload image only'); tb_remove(); return false; } imgurl = "//"+results[1];
It begain to work working for me
Viewing 4 replies - 1 through 4 (of 4 total)