physicaltherapistcom

Forum Replies Created

Viewing 15 posts - 16 through 30 (of 32 total)
  • Author
    Posts

  • physicaltherapistcom
    Full Member
    Post count: 35
    This reply has been marked as private.

    physicaltherapistcom
    Full Member
    Post count: 35
    This reply has been marked as private.
    in reply to: Ability to format info in the "More Info" section #9468

    physicaltherapistcom
    Full Member
    Post count: 35

    Hi Paolo,

    Where exactly with the “new update” is this fixed? Where can I edit this information? Please let me know.

    Thanks.

    in reply to: Failure to import sample csv #8848

    physicaltherapistcom
    Full Member
    Post count: 35

    Now I see…

    It looks like with a default install of just the GEODirectory plugin, the default location gets a location_id equal to 0. Which causes the first if statement listed above to be true which then, based on the logic, will causes any imported places to fail if they are not at the default location.

    When the GEODirectory Location Manager is installed, the default location’s location_id gets set to 1 which skips that check.

    I would propose either the message generated from the import when not using the Location Manager is revised and notify the user that the imported items were not at the default location and possibly give them a hint to install the location manager.

    You may also want to give some type of hint near the sample csv download to let users know it only works if the location manager is installed.

    in reply to: Failure to import sample csv #8811

    physicaltherapistcom
    Full Member
    Post count: 35

    Stepping through the debugger, it’s actually happening here (lines 1218-1247):

    
    
    $location_result = geodir_get_default_location();
    if($location_result->location_id == 0 ){
    
        if((!isset($gd_post_info['post_city']) ||
            strtolower($gd_post_info['post_city']) != strtolower($location_result->city)) ||
            (!isset($gd_post_info['post_region']) ||
            strtolower($gd_post_info['post_region']) != strtolower($location_result->region)) ||
            (!isset($gd_post_info['post_country']) ||
            strtolower($gd_post_info['post_country']) != strtolower($location_result->country)) ||
            (!isset($gd_post_info['post_address']) ||
            $gd_post_info['post_address']=='') ||
            (!isset($gd_post_info['post_latitude']) ||
            $gd_post_info['post_latitude'] == '') ||
            (!isset($gd_post_info['post_longitude']) ||
            $gd_post_info['post_longitude'] == '')){
        $address_invalid++;
        continue;
    
            }
    
        }else{
    
            if((!isset($gd_post_info['post_city']) || $gd_post_info['post_city'] == '') || (!isset($gd_post_info['post_region']) || $gd_post_info['post_region'] == '') || (!isset($gd_post_info['post_country']) || $gd_post_info['post_country'] == '') || (!isset($gd_post_info['post_address']) || $gd_post_info['post_address']=='') || (!isset($gd_post_info['post_latitude']) || $gd_post_info['post_latitude'] == '') || (!isset($gd_post_info['post_longitude']) || $gd_post_info['post_longitude'] == '')){
    
                $address_invalid++;
                continue;
    
            }
    
    }

    The sample upload matched the first long “if isset” conditional, increments $address_invalid and continues.

    If I’m looking at it correctly, talking about the sample file:
    It pulls the default location, which I have set.
    Then it compares data pulled from the csv and fails if one of the location keys do not exists (which they do) or if the city, region or country key does not equal the default location.

    Pretty sure thats whats getting it. Why does each imported record need to match the default location?

    in reply to: Showing single quotes ' ' if you search shows nothing #8802

    physicaltherapistcom
    Full Member
    Post count: 35

    Hello,

    Thanks for your response. Yes, I understand there are no search results, but it should let you know that there are no results for “something.” Can you let me know where this can be fixed in the code or add it in a release?

    Please advise.

    Thanks!

    in reply to: Failure to import sample csv #8732

    physicaltherapistcom
    Full Member
    Post count: 35

    I replaced the admin_funcitons.php but still get the same results.

    Any other options?

    *Edit* – As a side note, the admin_functions.php file from the post is identical to the one shipped with v1.1.6

    in reply to: HELP! After 1.1.5 update, templates no longer work. #6822

    physicaltherapistcom
    Full Member
    Post count: 35

    Hello,

    This did fix the problem. You might want to release this so people know that they now must make a folder and name it /child-theme/geodirectory.

    Thanks!

    in reply to: HELP! After 1.1.5 update, templates no longer work. #6814

    physicaltherapistcom
    Full Member
    Post count: 35
    This reply has been marked as private.
    in reply to: Map does not load on listing page #6808

    physicaltherapistcom
    Full Member
    Post count: 35

    Hi Paolo,

    I now have the map working, but it’s odd how it works.

    1. In Design > Maps I have two custom post types:
    — Places
    — Find PT/Clinic

    2. The map will ONLY show if I have places selected. Why is this?

    3. Also, if I select BOTH “placs” and “find pt/clinic” no map shows. Why is this?

    in reply to: Map does not load on listing page #6200

    physicaltherapistcom
    Full Member
    Post count: 35
    This reply has been marked as private.
    in reply to: Map does not load on listing page #6199

    physicaltherapistcom
    Full Member
    Post count: 35
    This reply has been marked as private.
    in reply to: Map does not load on listing page #6196

    physicaltherapistcom
    Full Member
    Post count: 35
    This reply has been marked as private.
    in reply to: Map does not load on listing page #6193

    physicaltherapistcom
    Full Member
    Post count: 35
    This reply has been marked as private.

    physicaltherapistcom
    Full Member
    Post count: 35

    Hello Paolo,

    How do I get and install the new template system? These are files that will work on an existing theme correct?

    Please advise.

    Thanks.

Viewing 15 posts - 16 through 30 (of 32 total)
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount