Alex Rollin

Forum Replies Created

Viewing 15 posts - 6,886 through 6,900 (of 23,809 total)
  • Author
    Posts
  • in reply to: Old invoices / order data lost after upgrading to V2 #505082

    Alex Rollin
    Moderator
    Post count: 27815
    This reply has been marked as private.
    in reply to: Error: CSV upload does not work #505081

    Alex Rollin
    Moderator
    Post count: 27815

    Hello,

    neither of these files will import correctly because they are not formatted correctly.

    To get the correct format, log in to you site and add a listing or two. Fill in all the fields with representative data.

    Then go and export the listings. That will give you a CSV file with the correct format.

    Using Open or Libre office, merge your data into that file, being careful to preserver column headers and the order of the columns.

    https://wpgeodirectory.com/docs-v2/geodirectory/settings/import-export/#recommended

    in reply to: Subscribers not able to edit their listing #505080

    Alex Rollin
    Moderator
    Post count: 27815
    This reply has been marked as private.
    in reply to: New subscriber getting an error on payment screen #505079

    Alex Rollin
    Moderator
    Post count: 27815

    I was able to select a CC that was attached to my account.

    Can you please send a screenshot of the issue?

    in reply to: Incorrect UTC Time #505066

    Alex Rollin
    Moderator
    Post count: 27815

    The developers say that, to make the automatic insertion of timezone offset in business hours work that a google maps API key is needed, the second key that is for Geocoding. That key should not have http referrer restrictions. It is not used on the frontend and not exposed on the site.

    If there is an issue, we can take a look. Please share WP Admin so we can check on your site. This isn’t a known issue so it must be something going on with your site.

    Support for free or expired members is only for sites running the core plugin https://wpgeodirectory.com/support-policy/

    in reply to: Insert category count #505058

    Alex Rollin
    Moderator
    Post count: 27815

    Hello,

    that would require some customization but you can use these functions:

    
    
    
    $total = GeoDir_Location_Country::count_posts_by_name( $item->country );
    $total = GeoDir_Location_Region::count_posts_by_name( $item->region, $item->country );
    $total = GeoDir_Location_City::count_posts_by_name( $item['city'], $item['region'], $item['country'] );
    

    An example, untested:

    
    
    
    /**
     * Count listing by city, region, country.
     *
     * CITY:
     * PHP : echo do_shortcode( '[gd_snippet_listings_count type="city" city="Ahmedabad" region="Gujarat" country="India"]' );
     * HTML: [gd_snippet_listings_count type="city" city="Ahmedabad" region="Gujarat" country="India"]
     *
     * REGION:
     * PHP : echo do_shortcode( '[gd_snippet_listings_count type="region" region="Gujarat" country="India"]' );
     * HTML: [gd_snippet_listings_count type="region" region="Gujarat" country="India"]
     *
     * COUNTRY:
     * PHP : echo do_shortcode( '[gd_snippet_listings_count type="country" country="India"]' );
     * HTML: [gd_snippet_listings_count type="country" country="India"]
     */
    function gd_snippet_listings_count_sc( $atts, $content = '' ) {
    	$defaults = array(
    		'type' => 'city', // country, region, city
    		'country' => '',
    		'region' => '',
    		'city' => ''
    	);
    ​
    	$args = wp_parse_args( $atts, $defaults );
    ​
    	$content = 0;
    	
    	switch( $args['type'] ) {
    		case 'country':
    			if ( ! empty( $args['country'] ) ) {
    				$content = GeoDir_Location_Country::count_posts_by_name( $args['country'] );
    			}
    			break;
    		case 'region':
    			if ( ! empty( $args['region'] ) ) {
    				$content = (int) GeoDir_Location_Region::count_posts_by_name( $args['region'], $args['country'] );
    			}
    			break;
    		default:
    		case 'city':
    			if ( ! empty( $args['city'] ) ) {
    				$content = GeoDir_Location_City::count_posts_by_name( $args['city'], $args['region'], $args['country'] );
    			}
    			break;
    	}
    	
    	return $content;
    }
    add_shortcode( 'gd_snippet_listings_count', 'gd_snippet_listings_count_sc' );
    

    For more help with this customization you can find support here: https://geodirectoryexperts.com/

    in reply to: Yoast Meta not working #505057

    Alex Rollin
    Moderator
    Post count: 27815

    Thanks the developers are checking into it.

    in reply to: Cannot get FB import to work #505056

    Alex Rollin
    Moderator
    Post count: 27815

    The Xylus solution is backend only, and not a function that is available to general site users.

    FB have made significant changes to their APIs in the last year to protect user data and have yet to issue approval for any frontend API access for apps (ie approving an app submitted to FB review, the new process they instituted since the changes).

    We have worked up the solution you can see in the social importer now which we update continually.

    If you are having a problem with a particular page you can share the URL of the page you are trying to import and we can take a look.

    in reply to: email shortcodes question #505052

    Alex Rollin
    Moderator
    Post count: 27815

    There are several options that control the email content.

    At this page is the option to switch between text and html.

    /wp-admin/admin.php?page=gd-settings&tab=design&section=email_template

    GD – Settings – Design – Email Template – Show advanced

    Text email will not render the complex shortcodes like [#listing_title#] as a link. Instead the html will be converted to text so you will only see the listing title, not the title marked up with a link. If text format is selected then links should be written out like https://mysite.com/link

    All html will be stripped when using the text template design. You can switch it back to html at that setting.

    in reply to: Search Radius #505051

    Alex Rollin
    Moderator
    Post count: 27815

    The new GDV2 Search by Distance feature is covered here: https://wpgeodirectory.com/docs-v2/places/search/#search-by-distance

    in reply to: Font Awesome issues… #504966

    Alex Rollin
    Moderator
    Post count: 27815

    Category pins do not support Font Awesome Pro. The developers are looking into it for future versions.

    in reply to: problem activating licenced addons #504952

    Alex Rollin
    Moderator
    Post count: 27815
    This reply has been marked as private.
    in reply to: problem activating licenced addons #504951

    Alex Rollin
    Moderator
    Post count: 27815
    in reply to: Adding Place does not update #504950

    Alex Rollin
    Moderator
    Post count: 27815
    in reply to: Incorrect UTC Time #504949

    Alex Rollin
    Moderator
    Post count: 27815

    I have been informed that the entry is for the timezone offset of the place from UTC, not including BST or DST.

Viewing 15 posts - 6,886 through 6,900 (of 23,809 total)
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount