Title: neowebsolution's Replies | WordPress.org

---

# neowebsolution

  [  ](https://wordpress.org/support/users/neowebsolution/)

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

 Search replies:

## Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Real-Time Find and Replace] Need some help – upgrade to 4.5.2 and now nothing](https://wordpress.org/support/topic/need-some-help-upgrade-to-452-and-now-nothing/)
 *  [neowebsolution](https://wordpress.org/support/users/neowebsolution/)
 * (@neowebsolution)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/need-some-help-upgrade-to-452-and-now-nothing/#post-7386883)
 * 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;
       }
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[GeoDirectory - WP Business Directory Plugin and Classified Listings Directory] TypeError: jQuery.goMap.map is undefined](https://wordpress.org/support/topic/typeerror-jquerygomapmap-is-undefined/)
 *  [neowebsolution](https://wordpress.org/support/users/neowebsolution/)
 * (@neowebsolution)
 * [10 years ago](https://wordpress.org/support/topic/typeerror-jquerygomapmap-is-undefined/#post-6503276)
 * I made it work some othee js was conflicting with this
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[GeoDirectory - WP Business Directory Plugin and Classified Listings Directory] TypeError: jQuery.goMap.map is undefined](https://wordpress.org/support/topic/typeerror-jquerygomapmap-is-undefined/)
 *  [neowebsolution](https://wordpress.org/support/users/neowebsolution/)
 * (@neowebsolution)
 * [10 years ago](https://wordpress.org/support/topic/typeerror-jquerygomapmap-is-undefined/#post-6503273)
 * not working for me too even tried latest version
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[NIC Photo Editor] Error Message "Please upload image only"](https://wordpress.org/support/topic/error-message-please-upload-image-only/)
 *  [neowebsolution](https://wordpress.org/support/users/neowebsolution/)
 * (@neowebsolution)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/error-message-please-upload-image-only/#post-6266343)
 * 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)