Giri

Forum Replies Created

Viewing 15 posts - 1,861 through 1,875 (of 2,661 total)
  • Author
    Posts
  • in reply to: Rating only one time. #233208

    Giri
    Expired Member
    Post count: 3155

    Andi, can you post the listing page url?

    in reply to: Map not showing on Detail Page #233178

    Giri
    Expired Member
    Post count: 3155

    You are welcome

    in reply to: Rating only one time. #233155

    Giri
    Expired Member
    Post count: 3155

    Please check last two settings in that screenshot

    in reply to: Profile Visibility issues #233150

    Giri
    Expired Member
    Post count: 3155

    Profile Visibility tab is added by BuddyPress, not whoop. So if you open a thread in buddypress forum, you might get solutions.

    https://buddypress.org/support/

    Thanks

    in reply to: Rating only one time. #233118

    Giri
    Expired Member
    Post count: 3155

    Ok, Let me know how that goes 🙂

    Thanks

    in reply to: Rating only one time. #233115

    Giri
    Expired Member
    Post count: 3155

    Andi, Have you tried this setting?

    in reply to: Map not showing on Detail Page #233114

    Giri
    Expired Member
    Post count: 3155

    I have added the code. However this is the error i’m getting.

    The Google Maps API server rejected your request. This API project is not authorized to use this API. Please ensure this API is activated in the Google Developers Console: https://console.developers.google.com/apis/api/static_maps_backend?project=_

    Please follow these steps and the map will work

    https://wpgeodirectory.com/support/topic/maps-not-showing-on-detail-page/#post-223302

    in reply to: Changing Address Layout #232407

    Giri
    Expired Member
    Post count: 3155

    Jimmy, I’m off Saturday and Sunday. So sorry for the late reply.

    You are having that error because I believe you are using an outdated PHP version.

    Please contact your hosting support and ask your PHP version number.

    If possible ask them to upgrade PHP to 5.6. WordPress recommends PHP 5.6

    https://wordpress.org/about/requirements/

    P.S: if you still face problem after upgrading PHP, please post your FTP, I’ll work on your problem on monday morning.

    Thanks

    in reply to: Maps not showing on Detail Page #231922

    Giri
    Expired Member
    Post count: 3155

    @king, Make sure you have installed the latest whoop version 1.0.6.

    in reply to: Manage invoices #231917

    Giri
    Expired Member
    Post count: 3155

    By the way, If you can do it yourself here are the steps

    Edit this file

    /wp-content/themes/supreme-directory/inc/geodirectory-compatibility.php

    Around line number 100 you will see the following code

    
    
    // author page
        if (get_option('geodir_show_author_right_section', true)) {
            add_action('geodir_author_sidebar_right_inside', 'sd_map_show');
            remove_action('geodir_author_sidebar_left', 'geodir_action_author_sidebar_left', 10);
        } else {
            add_action('geodir_author_sidebar_left_inside', 'sd_map_show');
            remove_action('geodir_author_sidebar_right', 'geodir_action_author_sidebar_right', 10);
        }

    Replace that with this code

    
    
    
    // author page
        if (get_option('geodir_show_author_right_section', true)) {
            //add_action('geodir_author_sidebar_right_inside', 'sd_map_show');
            remove_action('geodir_author_sidebar_left', 'geodir_action_author_sidebar_left', 10);
        } else {
           // add_action('geodir_author_sidebar_left_inside', 'sd_map_show');
            remove_action('geodir_author_sidebar_right', 'geodir_action_author_sidebar_right', 10);
        }

    Basically you are commenting out two lines.

    Let me know if you need any further assistance

    in reply to: Manage invoices #231912

    Giri
    Expired Member
    Post count: 3155

    Ahh, forgot to mention that. Thanks paolo 🙂

    in reply to: Split: Maps not showing on Detail Page #231911

    Giri
    Expired Member
    Post count: 3155

    Hello King, Paolo created a new thread for your messages. Please post your ftp details.

    I’ll take a look

    Thanks

    in reply to: Split: Maps not showing on Detail Page #231894

    Giri
    Expired Member
    Post count: 3155

    @king,

    Ok this is what you should do.

    Edit this file:

    /wp-content/themes/geodirectory_whoop/functions/general.php

    Around line number 393 you will see an If block something like this

    
    
    
    <?php if (!$hide_map) { ?>

    and that if block ends BEFORE this line

    
    
    
    <div class="geodir-listing-slider-div">

    What you need to do is just replace that if block with this code

    
    
    
    <?php if (!$hide_map) { ?>
            <div class="geodir-listing-map-inner-div">
                <div class="geodir-listing-map-box-div">
                    <?php
                    $img_map_args = array();
                    $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 : 'ROADMAP';
                    $mapzoom = isset($post->post_mapzoom) ? $post->post_mapzoom : '';
                    if (!$mapzoom) {
                        $mapzoom = 12;
                    }
                    $data = isset($post->marker_json) ? $post->marker_json : '';
                    $map_json = json_decode($data);
                    $img_map_args['center'] = $address_latitude . ',' . $address_longitude;
                    $img_map_args['zoom'] = $mapzoom;
                    $img_map_args['maptype'] = $mapview;
                    $img_map_args['size'] = '300x150';
                    $img_map_args['format'] = 'JPEG';
                    $img_map_args['sensor'] = false;
                    $img_map_args['markers'] = $address_latitude . ',' . $address_longitude;
                    $google_key = geodir_get_map_api_key();
                    if ($google_key) {
                        $img_map_args['key'] = $google_key;
                    }
    
                    $img_old_url = 'http://maps.googleapis.com/maps/api/staticmap';
                    $img_url = esc_url(add_query_arg($img_map_args, $img_old_url));
                    ?>
                    <img src="<?php echo $img_url; ?>" alt=""/>
    
                    <?php
                    $display_info = apply_filters('whoop_display_info_below_map_image', true);
                    if ($display_info) {
                        $html = whoop_get_address_html( $post );
    
                        if ( $post->geodir_contact ) {
                            $html .= '<span><i class="fa fa-phone"></i><a href="tel:' . $post->geodir_contact . '" target="_blank" rel="nofollow"> ' . $post->geodir_contact . '</a></span><br>';
                        }
                        if ( $post->geodir_website ) {
                            $html .= '<span><i class="fa fa-link"></i><a href="' . $post->geodir_website . '" target="_blank" rel="nofollow">' . __( ' Website', GEODIRECTORY_FRAMEWORK ) . '</a></span><br>';
                        }
                        echo $html;
                    }
                    ?>
                </div>
            </div>
            <?php } ?>

    Please use FTP to replace the code. If you use wp-admin editor and if something goes wrong you will be locked out.

    Let me know how that goes

    in reply to: Manage invoices #231892

    Giri
    Expired Member
    Post count: 3155

    Paolo said it could be IP Geo block.

    So I think you need whitelist my country for a while.

    Thanks

    in reply to: Manage invoices #231888

    Giri
    Expired Member
    Post count: 3155

    Hey Hennie,

    url not working. Can you give us the correct url?

Viewing 15 posts - 1,861 through 1,875 (of 2,661 total)
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount