New Landing How can we help? Themeforest Theme Support Clique Map does not work; Version 1.5.1

Viewing 10 posts - 16 through 25 (of 25 total)
  • Posted in: Clique
  • #15759
    tjg
    Member
    Post count: 6

    Update to 1.5.2 and now:

    “You are over your API Query Limit” What is our Problem Swift Ideas?! Disappointing !!!

    #16420
    Melanie – SUPPORT
    Member
    Post count: 11032

    I will attach your conversation with Ed on themeforest as a screenshot and will forward it to him again. Just make sure you only post on one place please, either themeforest or here.

    Cheers!

    #16965
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    The update in v1.5.2 just made it easier for us to diagnose the issue, with improved error reporting.

    It seems that because of your host, the API limit has been hit. We are looking into alternative ways to do this.

    – Ed

    #17501
    ayesroc
    Member
    Post count: 2

    My map does not work either. It is giving an incorrect location in the middle of the ocean. I have deleted the address in the contact page settings and still no good. The site is http://www.x4dc.com

    #17532
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    @ayesroc – please update to the latest version of Clique.

    – Ed

    #17549
    ayesroc
    Member
    Post count: 2

    Is there a post showing how to do this? Also should I upgrade to wp 3.6 before or after?

    #17837
    Melanie – SUPPORT
    Member
    Post count: 11032

    Hi, first update the theme please.

    All you need to do is renaming or removing the old theme folder via FTP and uploading the new one.

    Cheers”

    #23135
    trjnr
    Member
    Post count: 53

    Problem has returned… Any ideas?

    #23140
    tjg
    Member
    Post count: 6

    I have commissioned a program that have solved the problem in the “functions.php” the value must be changed

    /* MAP EMBED FUNCTIONS
    	================================================== */
    	
    	function map_embed($address) {
    	    // if (!is_string($address))die("All Addresses must be passed as a string");
    	    
    	    // $address = str_replace(" ", "+", $address); // replcae all the white space with "+" sign to match with google search pattern
    	     
    	    // $url = "http://maps.google.com/maps/api/geocode/json?sensor=false&address=$address";
    	     
    	    // $response = @file_get_contents($url);	    
    
    	    // if ($response === FALSE) {
    	    	// return "error";
    	    // }
    	    
    	    // $json = json_decode($response,TRUE); //generate array object from the response from the web   
    
    		// if ($json['status'] === "OVER_QUERY_LIMIT") {
    			// return "over_limit";
    		// }
    		
    		// if ($json['status'] === "ZERO_RESULTS") {
    			// return "unknown_address";
    		// }
    		
    	    // $_coords['lat'] = $json['results'][0]['geometry']['location']['lat'];
    	    // $_coords['long'] = $json['results'][0]['geometry']['location']['lng'];
    	    $_coords['lat'] = XX.XXXXXX;
    		$_coords['long'] = X.XXXXXX;
    	    return $_coords;
    	}
    	
    
    #23392
    Melanie – SUPPORT
    Member
    Post count: 11032

    Okay great 🙂

Viewing 10 posts - 16 through 25 (of 25 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register