Kiran

Forum Replies Created

Viewing 15 posts - 4,291 through 4,305 (of 6,022 total)
  • Author
    Posts
  • in reply to: 'Update' Button & Geo location problems #413734

    Kiran
    Moderator
    Post count: 7069

    Hello,

    I have checked into backend, and it seems something conflicting the submit action. I am not able to replicate similar issue on my test site, so issue could be site specific or server specific.
    You have many non-GD plugins active on your site so not sure which plugin is conflicts here.

    So please do one thing(or allow us to do)
    – Disable all non GD plugins and see how it goes.
    – If after disabling all non GD plugins, if issue is still there then please provide us FTP credentials so we can look into more.
    – If after disabling all non GD plugins, if issue is fixed then try to enable one by one plugin and check which plugin causes issue.

    Let us know.

    Thanks,
    Kiran


    Kiran
    Moderator
    Post count: 7069

    Hi Ian,

    I have updated patch on your site and now the link business works fine in add event form.
    Please check after clearing your browser cache.

    Thanks,
    Kiran

    in reply to: Limitations of custom fields in advanced search #413448

    Kiran
    Moderator
    Post count: 7069

    Hi David,

    Please check now.

    You have blank front end title for some fields, fix this to show title of the field.
    To change the data type from varchar to tinyint in detail table for checkbox just re-save custom field.

    Kiran

    in reply to: Admin Controls Not Visible #413421

    Kiran
    Moderator
    Post count: 7069

    Hello Tim,

    There was a jQuery Chosen JavaScript conflict between GeoDirectory & Fb Crawler plugin.
    I have added following code snippet in Admin > Snippets and now issue has been fixed.

    
    
    function _gd_custom_fix_chosen_conflict() {
        if ( is_admin() && wp_script_is( 'fb_crawler_choosen_js', 'enqueued' ) && wp_script_is( 'chosen', 'enqueued' ) ) {
            wp_dequeue_script( 'fb_crawler_choosen_js' );
        }
    }
    add_action( 'admin_print_styles', '_gd_custom_fix_chosen_conflict', 1000 );

    Thanks,
    Kiran


    Kiran
    Moderator
    Post count: 7069

    Hi Ian,

    Not sure about exact release date, but if you provide FTP credentials then i will update patch fix on your site.

    Kiran

    in reply to: Show Listing Title on Listings Review Page #413410

    Kiran
    Moderator
    Post count: 7069

    Hello Julian,

    Follow steps to display title on listing review page.
    – Open file wp-content/themes/geodir_geo-1280/functions.php (for edit purpose)
    – Search following line (will be on around line no. 228)

    if( geodir_is_page('detail') ) {

    above that line put following lines

    
    
    if ( geodir_is_page('preview') ) {
    	geodir_action_geodir_set_preview_post();
    	$title = get_the_title();
    }

    Let us know.

    Thanks,
    Kiran


    Kiran
    Moderator
    Post count: 7069

    Hi Ian,

    This has been already fixed and will be available in next release of Event Manager.
    Please see https://wpgeodirectory.com/support/topic/link-business-on-mobile/#post-404475

    Thanks,
    Kiran

    in reply to: Encode or Redirect the Listing Website URL #413405

    Kiran
    Moderator
    Post count: 7069

    Hi Jacob,

    You following code snippet to remove nofollow attribute for particualr package.

    
    
    // Remove nofollow for particular package id
    function _gd_custom_remove_rel_nofollow( $html, $location, $cf, $p = 0 ) {
    	global $post;
    
    	if ( ! empty( $html ) && ! empty( $post->package_id ) ) {
    		if ( (int)$post->package_id == 5 ) { // REPLACE 5 WITH YOUR PACKAGE ID
    			$html = str_replace( 'rel="nofollow"', '', $html );
    		}
    	}
    
    	return $html;
    }
    add_filter( 'geodir_custom_field_output_url', '_gd_custom_remove_rel_nofollow', 100, 4 );

    Thanks,
    Kiran

    in reply to: External Link to Upgrade a listing #413404

    Kiran
    Moderator
    Post count: 7069

    Hi Jacob,

    Use following code to get upgrade listing url by using listing ID & package ID.

    
    
    $post_ID = '47'; // REPLACE POST ID
    $package_ID = '5'; // REPLACE PACAKAGE ID
    $upgrade_url = geodir_getlink( get_permalink( geodir_add_listing_page_id() ), array( 'pid' => $post_ID, 'package_id' => $package_ID ), false );

    The variable $upgrade_url will retrieve upgrade url like https://MYSITE.com/add-listing/?pid=47&package_id=5

    Thanks,
    Kiran

    in reply to: Couple Questions / Issues #413403

    Kiran
    Moderator
    Post count: 7069

    Hi Michael,

    1) To display Special Offers section on top, add following code snippet in your child theme functions.php or via any snippet plugin.

    
    
    function _whoop_custom_detail_page_tab_list_extend($tab_array) {
    	$new_tab_array = array();
        // here u can modify this array, u can create a completely new one too.
    	if (isset($tab_array['special_offers'])) {
            $new_tab_array['special_offers'] = $tab_array['special_offers'];// set in new array
    		$new_tab_array['special_offers']['is_active_tab'] = '1';
            unset($tab_array['special_offers']);//unset in old one
        }
    	
        if (isset($tab_array['reviews'])) {
            $new_tab_array['reviews'] = $tab_array['reviews'];// set in new array
            unset($tab_array['reviews']);//unset in old one
        }
        if (isset($tab_array['post_profile'])) {
            $new_tab_array['post_profile'] = $tab_array['post_profile']; // set in new array
            $new_tab_array['post_profile']['is_active_tab'] = '';
            unset($tab_array['post_profile']);//unset in old one
        }
    
        if (isset($tab_array['post_map'])) {
            $new_tab_array['post_map'] = $tab_array['post_map'];// set in new array
            unset($tab_array['post_map']);//unset in old one
        }
    
        if (isset($tab_array['special_offers'])) {
            $new_tab_array['special_offers'] = $tab_array['special_offers'];// set in new array
            unset($tab_array['special_offers']);//unset in old one
        }
    
        if (isset($tab_array['post_info'])) {
            $new_tab_array['post_info'] = $tab_array['post_info'];// set in new array
            unset($tab_array['post_info']);//unset in old one
        }
    
        if (isset($tab_array['post_images'])) {
            $new_tab_array['post_images'] = $tab_array['post_images'];// set in new array
            unset($tab_array['post_images']);//unset in old one
        }
    
        if (isset($tab_array['post_video'])) {
            $new_tab_array['post_video'] = $tab_array['post_video'];// set in new array
            unset($tab_array['post_video']);//unset in old one
        }
    
        // now we set any remaining tabs that have not been assigned an order
        foreach ($tab_array as $key => $tab) {
            $new_tab_array[$key] = $tab;
        }
    
        return $new_tab_array;
    }
    add_filter('geodir_detail_page_tab_list_extend', '_whoop_custom_detail_page_tab_list_extend', 9999, 1);

    2) I have added following css snippet under GeoDirectory > Design > Scripts > CSS and now review photos are expandable by default.

    
    
    #reviewsTab #comments .comment_more_ratings {
    	display: block;
    }
    #comments .comment_more_ratings .place-gallery img {
    	margin-bottom: -6px;
    }

    4) The user avatar on recent reviews is filtered via “WordPress Social Login” plugin, please ask them to help why this happening. Let us know if you get response from them.

    Thanks,
    Kiran

    in reply to: Admin Controls Not Visible #413285

    Kiran
    Moderator
    Post count: 7069

    Hi Tim,

    Please provide us FTP credentials so we can apply patch on your site.

    Thanks,
    Kiran

    in reply to: Limitations of custom fields in advanced search #413284

    Kiran
    Moderator
    Post count: 7069

    Hello,

    When you have a chance, could you explain how one changes the data type from VARCHAR to TEXT?

    You can change data type via running below query (replace tablename=TABLE NAME & replace columnname =COLUMN NAME)

    ALTER TABLE tablename MODIFY columnname TEXT;

    Will this problem be solved in V2?

    Yes

    Kiran

    in reply to: Limitations of custom fields in advanced search #413242

    Kiran
    Moderator
    Post count: 7069

    Hi David,

    I have managed to check database structure via Database Browser plugin.

    During debugging it shows error “Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65535. This includes storage overhead, check the manual. You have to change some columns to TEXT or BLOBs”
    It means your table row size becomes too large because you have too many fields. I have changed data type for some fields from VARCHAR to TEXT and now create/update custom fields works fine.

    In case if you face this issue again then just change data type VARCHAR to TEXT for some fields, it will fix the issue.

    Thanks,
    Kiran

    in reply to: Limitations of custom fields in advanced search #413095

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: Limitations of custom fields in advanced search #413086

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
Viewing 15 posts - 4,291 through 4,305 (of 6,022 total)
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount