Giri

Forum Replies Created

Viewing 15 posts - 1,321 through 1,335 (of 2,661 total)
  • Author
    Posts
  • in reply to: Category Archive description shows twice. #292740

    Giri
    Expired Member
    Post count: 3155

    Applied the fix for second site too.

    Thanks

    in reply to: Category Archive description shows twice. #292730

    Giri
    Expired Member
    Post count: 3155

    Hi Roman,

    I have applied the fix for your first site.

    But your second site uses supreme 1.0.5

    Please update that to the latest.

    So i can apply the fix for that one too.

    Thanks

    in reply to: Sidebar doesn't appear Whoop theme GEODIR & BUDDYPRESS #292722

    Giri
    Expired Member
    Post count: 3155

    ok cool

    in reply to: Sidebar doesn't appear Whoop theme GEODIR & BUDDYPRESS #292718

    Giri
    Expired Member
    Post count: 3155

    You are welcome Stevens.

    in reply to: Stripe Payment #292694

    Giri
    Expired Member
    Post count: 3155

    Hi Lars,

    Try this code in your child theme functions.php file

    
    
    
    function geodir_payment_stripe_method_info( $payment_method ) {
        if ($payment_method == 'stripe') {
            echo "stripe is a payment gateway";
        }
    }
    add_action( 'geodir_payment_method_fields', 'geodir_payment_stripe_method_info' );

    Let me know how that goes.

    Thanks

    in reply to: Sidebar doesn't appear Whoop theme GEODIR & BUDDYPRESS #292286

    Giri
    Expired Member
    Post count: 3155
    This reply has been marked as private.
    in reply to: Sidebar doesn't appear Whoop theme GEODIR & BUDDYPRESS #292267

    Giri
    Expired Member
    Post count: 3155
    This reply has been marked as private.
    in reply to: Sidebar doesn't appear Whoop theme GEODIR & BUDDYPRESS #292250

    Giri
    Expired Member
    Post count: 3155

    Hi Stevens,

    Try enabling error log only for that particular site using wordpress config.

    Add the following values to wp-config.php file.

    
    
    
    define('WP_DEBUG', true);
    define( 'WP_DEBUG_LOG', true );
    define( 'WP_DEBUG_DISPLAY', true );

    Now reload the home page. If there is any error it will be logged in this file.

    /wp-content/debug.log

    Once you done those steps, if you see any errors then please download that file then attach here while replying to this thread.

    Thanks

    in reply to: Sidebar doesn't appear Whoop theme GEODIR & BUDDYPRESS #292200

    Giri
    Expired Member
    Post count: 3155

    Hi Stevens,

    I have installed 2016 theme on your site. Even with 2016 I see the same problem when GD enabled.

    If I deactivate GD, page getting displayed correctly.

    It could be because one of the following reasons.

    1) Your server might be missing some extensions or using outdated PHP
    2) Your database is messed up by one of your outdated plugins.
    3) It might be a bug in GD.

    To find out the cause, please check error_log.

    Thanks

    in reply to: Sidebar doesn't appear Whoop theme GEODIR & BUDDYPRESS #291579

    Giri
    Expired Member
    Post count: 3155

    I see error like

    Uncaught ReferenceError: geodir_reviewrating_all_js_msg is not defined

    . Thats just means there is a fatal error in the middle of the page. So rest of the page not being loaded.

    In my opinion it might have caused by one of your third party plugins.

    So to debug this issue,

    1) Disable ALL non GD plugins.

    2) Disable child theme too by switching to parent whoop theme

    3) Refresh the home page.

    4) If you see footer now, its just means one of your plugin caused that issue. Activate the plugin one by one and then refresh home page to find the culprit.

    Let me know how that goes.

    Thanks

    in reply to: Sidebar doesn't appear Whoop theme GEODIR & BUDDYPRESS #291528

    Giri
    Expired Member
    Post count: 3155

    You are welcome 🙂

    in reply to: Sidebar doesn't appear Whoop theme GEODIR & BUDDYPRESS #291361

    Giri
    Expired Member
    Post count: 3155

    And one more thing

    Chnage the WP_DEBUG value to false in wp-config.php file.

    I’m unable to do that since i’m unable to connect to your FTP

    in reply to: Sidebar doesn't appear Whoop theme GEODIR & BUDDYPRESS #291360

    Giri
    Expired Member
    Post count: 3155
    This reply has been marked as private.
    in reply to: Sidebar doesn't appear Whoop theme GEODIR & BUDDYPRESS #291349

    Giri
    Expired Member
    Post count: 3155

    Hi Stevens,

    I won’t get any notification if you update your reply. So its better to write a new reply if you need follow up from me.

    This is last notification I got fro this thread.

    Sorry i added rich text editor to buddypress activity yes i’m in learning process as you can see errors learning tool if understood so i reased all the overides footer.php the buddypress subfolders included except activity wich is back like it was before when you helped me add the sidebar to the side so i’m trying to find out to create the function folliwing the proccess you showed earlier to get it go from bottom left to top right and i guess when i can figure it out i’ll add it to the buddyforms tabs thanks for all the help.

    As for your questions, let me see what I can do.

    Thanks

    in reply to: Email Notification Shortcodes #290866

    Giri
    Expired Member
    Post count: 3155

    Hi Jaz,

    We have filters in our email function. So you can alter the message via filters.

    For example

    If your client is using

    [#jaz_country#]

    as shortcode, then you need to add the following code in your client’s functions.php file.

    
    
    function geodir_alter_email_message($message) {
        $search_array  = array(
            '[#jaz_country#]',
        );
        $replace_array = array(
            "United States"
        );
        $message = str_replace( $search_array, $replace_array, $message );
        return $message;
    }
    add_filter('geodir_sendEmail_message', 'geodir_alter_email_message', 10, 1);

    That would print “United States” always.

    I believe you are talking about the listing city/country.

    In that case use the following code instead of the above code.

    
    
    
    function geodir_alter_email_message($message, $fromEmail, $fromEmailName, $toEmail, $toEmailName, $to_subject, $to_message, $extra, $message_type, $post_id, $user_id ) {
    
        $post_address = "";
        $post_city = "";
        $post_region = "";
        $post_zip = "";
        $post_country = "";
        
        if ($post_id) {
            $post = geodir_get_post_info($post_id);
            if($post->post_address) {
                $post_address = $post->post_address;
            }
            if($post->post_city) {
                $post_city = $post->post_city;
            }
            if($post->post_region) {
                $post_region = $post->post_region;
            }
            if($post->post_zip) {
                $post_zip = $post->post_zip;
            }
            if($post->post_country) {
                $post_country = $post->post_country;
            }
        }
        $search_array  = array(
            '[#jaz_address#]',
            '[#jaz_city#]',
            '[#jaz_region#]',
            '[#jaz_zip#]',
            '[#jaz_country#]',
        );
        $replace_array = array(
            $post_address,
            $post_city,
            $post_region,
            $post_zip,
            $post_country
        );
        $message = str_replace( $search_array, $replace_array, $message );
        return $message;
    }
    add_filter('geodir_sendEmail_message', 'geodir_alter_email_message', 10, 11);

    Let me know how that goes.

    Thanks

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