Giri

Forum Replies Created

Viewing 15 posts - 2,206 through 2,220 (of 2,661 total)
  • Author
    Posts
  • in reply to: Payment step is leading to homepage #184221

    Giri
    Expired Member
    Post count: 3155

    I’m also facing the errors paolo mentioned while testing on your server.

    WordPress requires minimum 1 GB RAM to work. Some shared hosting servers are optimized for WordPress. So you can run wordpress there.

    But some shared hosting servers limit their server resources.

    MySQL daemon has this configuration

    max_allowed_packet

    You are facing

    MySQL server has gone away

    type of errors because of that

    max_allowed_packet

    setting value is configured with low value.

    You should resolve your server problems first either moving to a better shared hosting server or moving to VPS.

    in reply to: Show Event Tag on Event Detail Page #183574

    Giri
    Expired Member
    Post count: 3155

    Here is the gist of above code. ( Much easier to copy paste )

    https://gist.github.com/mistergiri/64237ef1093ec4b7612a944b8d80ef23

    in reply to: Show Event Tag on Event Detail Page #183565

    Giri
    Expired Member
    Post count: 3155

    You also have to edit this template

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

    And add one line over there.

    Around line 144, you have to add this line.

    <?php do_action('whoop_event_detail_after_category'); ?>

    It would be better if you post your wp admin login details

    in reply to: Show Event Tag on Event Detail Page #183558

    Giri
    Expired Member
    Post count: 3155

    Hello Kenneth, Whoop events doesn’t support tags by default. The page is designed based on yelp events page.

    If you need to enable tags on events, add this code in your child theme.

    
    
    function whoop_event_detail_add_tag() {
        global $post, $preview;
        ?>
        <dl>
            <dt><?php echo __('Tags:', GEODIRECTORY_FRAMEWORK); ?></dt>
            <dd><?php
                $taxonomies = array();
                $post_type = 'gd_event';
    
                if (!empty($post->post_tags)) {
    
                    if (taxonomy_exists($post_type . '_tags')):
                        $links = array();
                        $terms = array();
                        // to limit post tags
                        $post_tags = trim($post->post_tags, ",");
                        $post_id = isset($post->ID) ? $post->ID : '';
                        /**
                         * Filter the post tags.
                         *
                         * Allows you to filter the post tags output on the details page of a post.
                         *
                         * @since 1.0.0
                         * @param string $post_tags A comma seperated list of tags.
                         * @param int $post_id The current post id.
                         */
                        $post_tags = apply_filters('geodir_action_details_post_tags', $post_tags, $post_id);
    
                        $post->post_tags = $post_tags;
                        $post_tags = explode(",", trim($post->post_tags, ","));
    
                        foreach ($post_tags as $post_term) {
    
                            // fix slug creation order for tags & location
                            $post_term = trim($post_term);
    
                            $priority_location = false;
                            if ($insert_term = term_exists($post_term, $post_type . '_tags')) {
                                $term = get_term_by('name', $post_term, $post_type . '_tags');
                            } else {
                                $post_country = isset($_REQUEST['post_country']) && $_REQUEST['post_country'] != '' ? sanitize_text_field($_REQUEST['post_country']) : NULL;
                                $post_region = isset($_REQUEST['post_region']) && $_REQUEST['post_region'] != '' ? sanitize_text_field($_REQUEST['post_region']) : NULL;
                                $post_city = isset($_REQUEST['post_city']) && $_REQUEST['post_city'] != '' ? sanitize_text_field($_REQUEST['post_city']) : NULL;
                                $match_country = $post_country && sanitize_title($post_term) == sanitize_title($post_country) ? true : false;
                                $match_region = $post_region && sanitize_title($post_term) == sanitize_title($post_region) ? true : false;
                                $match_city = $post_city && sanitize_title($post_term) == sanitize_title($post_city) ? true : false;
                                if ($match_country || $match_region || $match_city) {
                                    $priority_location = true;
                                    $term = get_term_by('name', $post_term, $post_type . '_tags');
                                } else {
                                    $insert_term = wp_insert_term($post_term, $post_type . '_tags');
                                    $term = get_term_by('name', $post_term, $post_type . '_tags');
                                }
                            }
    
                            if (!is_wp_error($term) && is_object($term)) {
    
                                // fix tag link on detail page
                                if ($priority_location) {
    
                                    $tag_link = "<a href=''>$post_term</a>";
                                    /**
                                     * Filter the tag name on the details page.
                                     *
                                     * @since 1.5.6
                                     * @param string $tag_link The tag link html.
                                     * @param object $term The tag term object.
                                     */
                                    $tag_link = apply_filters('geodir_details_taxonomies_tag_link',$tag_link,$term);
                                    $links[] = $tag_link;
                                } else {
                                    $tag_link = "<a href='" . esc_attr(get_term_link($term->term_id, $term->taxonomy)) . "'>$term->name</a>";
                                    /** This action is documented in geodirectory-template_actions.php */
                                    $tag_link = apply_filters('geodir_details_taxonomies_tag_link',$tag_link,$term);
                                    $links[] = $tag_link;
                                }
                                $terms[] = $term;
                            }
                            //
                        }
                        if (!isset($listing_label)) {
                            $listing_label = '';
                        }
                        $taxonomies[$post_type . '_tags'] = wp_sprintf(__('%l', 'geodirectory'), $links, (object)$terms);
                    endif;
    
                }
    
                if (isset($taxonomies[$post_type . '_tags']))
                    echo '<span class="whoop-geodir-tags">' . $taxonomies[$post_type . '_tags'] . '</span>';
            ?></dd>
        </dl>
        <?php
    }
    add_action('whoop_event_detail_after_category', 'whoop_event_detail_add_tag');
    in reply to: Events attending #183535

    Giri
    Expired Member
    Post count: 3155

    Look into these files

    wp-content/themes/geodirectory_whoop/whoop-widgets/events-are-you-interested-widget.php

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

    in reply to: About me page #181680

    Giri
    Expired Member
    Post count: 3155

    Install buddypress and Geodirectory buddypress integration addon.

    That “about me” page will be added to menu automatically.

    in reply to: Navigation on Mobile #181674

    Giri
    Expired Member
    Post count: 3155
    This reply has been marked as private.
    in reply to: Navigation on Mobile #180735

    Giri
    Expired Member
    Post count: 3155
    This reply has been marked as private.
    in reply to: Split: New DS Child Theme – Supreme Directory Preview #180057

    Giri
    Expired Member
    Post count: 3155

    Now that the said plugin has been de-activated, what would you suggest as a re-placement to achieve the desired effect on the front end.

    I don’t have much experience with such plugins. If you need plugin suggestions the best place would be asking in wordpress support forums.

    https://wordpress.org/support/forum/plugins-and-hacks

    You can also contact scroll-to-anchor plugin author and let him know the compatibility issue.

    As you stated earlier, may I know when the Supreme version 0.3.0 will be available, so that the bugs regarding the Send Enquiry and Send to Friend buttons are fixed ?

    New version will be released by the end of this week.

    Thanks

    in reply to: Split: New DS Child Theme – Supreme Directory Preview #179790

    Giri
    Expired Member
    Post count: 3155

    @iconraju, The mobile bug is caused by

    scroll-to-anchor

    plugin. Please deactivate that plugin to fix that issue

    in reply to: Split: New DS Child Theme – Supreme Directory Preview #171762

    Giri
    Expired Member
    Post count: 3155

    @iconraju, can you post your ftp credentials?

    in reply to: Split: New DS Child Theme – Supreme Directory Preview #171759

    Giri
    Expired Member
    Post count: 3155
    in reply to: Split: New DS Child Theme – Supreme Directory Preview #171756

    Giri
    Expired Member
    Post count: 3155

    @iconraju,

    The problem might have caused by one of your plugins.
    Is your site live now?
    Have you taken backup?
    Is it ok if I deactivate the plugins and play with your site?

    in reply to: Split: New DS Child Theme – Supreme Directory Preview #171753

    Giri
    Expired Member
    Post count: 3155
    in reply to: Supreme Directory Send Enquiry | Send To Friend #171752

    Giri
    Expired Member
    Post count: 3155

    @adele,

    0.2.0 got released in the first week of April. We fixed those send enquiry bugs after that. They will be available in 0.3.0

    Thanks

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