Stiofan O'Connor

Forum Replies Created

Viewing 15 posts - 5,311 through 5,325 (of 13,774 total)
  • Author
    Posts
  • in reply to: Slow speed on website #373301

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi Kim,

    I would ask them to check via a 3rd party to make sure its not a local network issue, i woudl try from the EU server https://tools.pingdom.com/

    Thanks,

    Stiofan

    in reply to: Fill in business details goes into wrong fields #373293

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi Bruce,

    I am not sure what exactly was happening but all i did was go into the places settings address custom field and save it, this seems to have fixed something int he DB, if its happening with any other fields i suggest you do the same. I ran the upgrade functions again just incase it was a failed upgrade that was the problem. Let us know if you have any further problems.

    Thanks,

    Stiofan

    in reply to: Speed, an Ongoing Project #373288

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    I’ve got this thing whereby I HATE WP Super Cache

    lol 🙂

    For Autoptimize, the inline CSS part is a recommendation, we found it increases load speed as it reduces the number of calls, you can unset that if you want.

    When setting up CF remember to disable rocket loader, this is known to cause issues.

    Also this is a good read: https://wp-rocket.me/blog/the-truth-about-google-pagespeed-insights/

    Thanks,

    Stiofan

    in reply to: 404s on Expired Listings #373285

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    I am not really sure what you expect us to do?
    I would suggest you maybe redirect 404’s to a pages stating you might have found an expired listing? There are plugins to do that.

    Stiofan

    in reply to: CSV Import Problems #373283

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    It won’t import on my demo site, i probably would need ur whole DB and i can test that way.
    One thing i see from your file is you are adding a dummy image file, this will be downloaded and added to your site which is kinda pointless when there are other options.

    Stiofan

    in reply to: Problems with "near me" button #373282

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi Jorge,

    THough your homepage is loading HTTPS ok the directory pages are not as you have unsecure images.

    Try the plugin “better search replace” and search for “http://petevents.ch/” and replace with “https://petevents.ch/”

    That should fix it.

    Thanks,

    Stiofan

    in reply to: Speed, an Ongoing Project #373281

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi Raymon,

    Thanks for sharing your findings, there are just a few points i would add to this.
    #1. We only support either GD Booster or WP Super Cache + Autoptimize, this does not mean you can’t use others it just means we will only help resolve problems with our supported ones.
    #2 I would not get hung up too much on Google pagespeed, i prefer to use https://tools.pingdom.com which will tell you the actual loading times of the site, and both of my sites running each of the two supported caching both load and score higher than your site there where as your site scores much higher in google page speed.
    #3 I would also suggest a CDN, it can be a bit expensive per month for one site but makes more sense if you have a few.

    Thanks,

    Stiofan

    in reply to: Combining Detail Tabs #373280

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    not tested but it would be something like this:

    
    
    add_action('geodir_after_description_on_listing_detail','_my_details_map',11);
    
    function _my_details_map(){
    global $post;
    
    global $map_jason;
    		$marker_json      = $post->marker_json != '' ? json_decode( $post->marker_json, true ) : array();
    		$marker_icon      = ( ! empty( $marker_json ) && ! empty( $marker_json['i'] ) ) ? $marker_json['i'] : '';
    		$icon_size        = geodir_get_marker_size( $marker_icon );
    		$marker_json['w'] = $icon_size['w'];
    		$marker_json['h'] = $icon_size['h'];
    		$map_jason[]      = json_encode( $marker_json );
    
    		$address_latitude  = isset( $post->post_latitude ) ? $post->post_latitude : '';
    		$address_longitude = isset( $post->post_longitude ) ? $post->post_longitude : '';
    		$mapview           = isset( $post->post_mapview ) ? $post->post_mapview : '';
    		$mapzoom           = isset( $post->post_mapzoom ) ? $post->post_mapzoom : '';
    		if ( ! $mapzoom ) {
    			$mapzoom = 12;
    		}
    
    		$map_args                             = array();
    		$map_args['map_canvas_name']          = 'preview_map_canvas';
    		$map_args['width']                    = '950';
    		$map_args['height']                   = '300';
    		$map_args['child_collapse']           = '0';
    		$map_args['maptype']                  = $mapview;
    		$map_args['autozoom']                 = false;
    		$map_args['zoom']                     = "$mapzoom";
    		$map_args['latitude']                 = $address_latitude;
    		$map_args['longitude']                = $address_longitude;
    		$map_args['enable_cat_filters']       = false;
    		$map_args['enable_text_search']       = false;
    		$map_args['enable_post_type_filters'] = false;
    		$map_args['enable_location_filters']  = false;
    		$map_args['enable_jason_on_load']     = true;
    		$map_args['enable_map_direction']     = true;
    		$map_args['map_class_name']           = 'geodir-map-preview-page';
    
    geodir_draw_map( $map_args );
    
    }

    Stiofan

    in reply to: CSV Import Problems #373276

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    I have that exact sever i’m recommending you, pass me a 100 listing file and i’ll time it.

    Stiofan

    in reply to: Hide a tabs With a Category #373275

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Thanks for letting us know 🙂

    in reply to: Tell Tokens #373274

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    This is fixed and will be in the next release, thanks for reporting.

    Stiofan

    in reply to: CSV Import Problems #373150

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    I would suggest the dedicated option i suggested above.

    Thanks,

    Stiofan

    in reply to: Directory dissapeared after WP upgrade #373097

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi Tia,

    All i did on your main site was rename some folders, for the 404 on the other site it was a permalinks issue, it can happen for a number of reasons but the solution is simple, just save the permalinks page, that is all i did and all seems to be working now.

    Thanks,

    Stiofan


    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Thanks for the heads up, i’m not sure a CDN could do that unless you were using their own plugin but hey if it works then great 🙂

    Stiofan

    in reply to: 2 letter state abbreviations #372993

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Here is a short snippet that will do it for the first two, u just need to add the rest as the same

    
    
    add_filter('geodir_custom_field_output_address','_my_short_state_geodir_cf_address',11,3);
    
    function _my_short_state_geodir_cf_address($html,$location,$cf){
    
    	// we add the >NAME< so we only replace the regions and not the region name in a street address.
    	$state_long = array(
    		">Alabama<",
    		">Alaska<",
    	);
    	// we add the >NAME< so we only replace the regions and not the region name in a street address.
    	$state_short = array(
    		">AL<",
    		">AK<",
    	);
    
    	$html = str_replace($state_long,$state_short,$html);
    
    	return $html;
    }

    Stiofan

Viewing 15 posts - 5,311 through 5,325 (of 13,774 total)
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount