Lynne Koyamatsu
Forum Replies Created
-
AuthorPosts
-
p.s. Here is my geodirectory settings panel… Note there is no ‘Set Default Location’ menu item.
Thanks Stiofan… Excellent news. Thanks for addressing these issues.
-Lynne
I got the geodir emails to be sent by removing the MIME-Version:1.0 from the header of the geodir email(s). (i.e. I modified the geodir email sending code).
According to the wp_mail reference: “…The [wp_mail] function will figure it out and will build the proper Mime header automagically.” So, the MIME doesn’t need to be specified. Other plugins do not set the Mime header. Other plugins are not setting the MIME in the header and they work fine with the wp smtp plugin. Could you check and update the geodir code to not set this MIME type?
ALSO, I found a geodir claim plugin bug: the claim listing email that is supposed to be sent to the administrator(s), is being sent to the ‘fromEmail’ as specified in geodir settings.
This is the incorrect line of code (in geodir_claim_functions.php):
$sent = wp_mail($fromEmail, $subject, $client_message, $headers); // To site admin emailNovember 1, 2016 at 7:55 pm in reply to: Sort Order of Category Listings by current location? #296147p.s. We are assuming that the current location will be determined by: the user has granted location access or the website’s default location if permission hasn’t been granted.
Hello,
We want to show listings(places) ordered by proximity to the user for a given place category.
Is there a way to sort the category listing page to be sorted by the current location?
Can I add a custom sort filter via geodir_posts_order_by_sort?Or, is there a way to call the search page with an empty search string to use the current location and a category?
Thanks,
LynneHi Giri,
I’m looking at the relative urls stored in the the file column in wp_geodir_attachments and featured _image in wp_geodir_gd_place_detail. The geodir code builds the fully qualified image urls by calling wp_upload_dir and appending the relative with the baseurl I guess to answer my own question, I think I can override the baseurl returned by wp_upload_dir for the upload directory to point to my CDN.
And Thanks for the tips Stiofan… I’ll take a look at GD Booster and Max CDN.
-Lynne
August 31, 2016 at 7:04 pm in reply to: geodir_review_rating/css/style.css doesn't load when using https #257061Excellent news! Thanks much!!
-
AuthorPosts