WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Location need not have a URL

[Resolved] Location need not have a URL

Viewing 3 replies - 1 through 3 (of 3 total)
  • Theresa95

    Had same problem.

    Replace this code (line 793 approx):
    if(isset($event[‘event_loc’]) && isset($event[‘event_loc_url’])) {

    with this:
    if(isset($event[‘event_loc’]) && trim($event[‘event_loc_url’]) != ” ) {

    Cheers
    Tom

    Theresa95

    Forgot to mention also that you should amend the function httpprefix, else any URLs with upper case in them won’t work. Replace that function with something like:
    function httpprefix($httpurl) {
    $httpurl_low = strtolower($httpurl);
    if(substr($httpurl_low,0,4) == “http”) {
    $fullurl = $httpurl;
    } else {
    $fullurl = “http://”.$httpurl;
    }
    return $fullurl;
    }
    Cheers
    Tom

    Plugin Author Jerry G. Rietveld

    @jgrietveld

    Thanks Tom for providing a solution.

    I’ll get this sorted in the next update.

    Cheers,
    Jerry

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Location need not have a URL’ is closed to new replies.