Kiran
Forum Replies Created
-
AuthorPosts
-
Hi Mike,
We have one feature available in GeoDirectory that system sends email to Admin when listing is edited by it’s author. You can use this logic(hook) to meet your requirements.
The hook is https://github.com/GeoDirectory/geodirectory/blob/master/geodirectory_hooks_actions.php#L2772
and the function executed is https://github.com/GeoDirectory/geodirectory/blob/master/geodirectory-functions/general_functions.php#L5023You can take reference from from this code.
Thanks,
KiranHi Irene,
Please check, the problem has been fixed.
Kiran
Hi Pete,
I have tested CSV file that you provided in my test site and it worked fine for me. 117 listings could not import as they have blank address.
Let us provide your site admin credentials, FTP credentials so we can look into there.
Thanks,
KiranHi Mark,
Let us provide FTP credentials so we can look into more. We need to check why it throwing a 404 page.
Kiran
Hi Baz,
Please check “404 – Page Not Found” error has been fixed.
You have ticked “Country > Enable Multi Countries” and “Region > Enable Multi Regions” but ticked “City > Enable default city”. This does not make sense.
I have ticked “Enable Multicity”.Some listings are saved with invalid data like some listings has not any category assigned, some listing has not assigned post author.
In locations table some locations has blank value for latitude & longitude. Some regions and city have value “NotResponse”.To fix this try to export and re-import listings & locations with valid data.
Thanks,
KiranSeptember 6, 2017 at 11:29 am in reply to: 404s on 'www.mywebsite.com/CPT/country/city/category ' pages #394476Hi Nigel,
The problem has been fixed and will be available in next release.
If you want to fix it on your site now then just update this fix patch on your site. https://github.com/GeoDirectory/geodirectory/pull/439/commits/dbfd451048af7b21d2723aa777fcfe2a99afc370#diff-a1a9135e53ac9a1f3349693df917e165
Try to update this patch on your stagin site and let us know how it goes.
Kiran
This reply has been marked as private.September 6, 2017 at 4:35 am in reply to: Strange 404 on GD Listings and Detail pages from Affiliate Links #394448Thanks for letting us know 🙂
Hi Tania,
Use following code snippet to apply featured and then rating sorting.
// Sorting the listing page results by featured & rating. function _gd_custom_sort_by_featured_and_rating( $orderby, $sort_by, $table ) { if ( $sort_by == 'is_featured_asc' && !empty( $table ) ) { $orderby .= " " . $table . ".overall_rating DESC, " . $table . ".rating_count DESC, "; } return $orderby; } add_filter( 'geodir_posts_order_by_sort', '_gd_custom_sort_by_featured_and_rating', 5, 3 );
Thanks,
KiranSeptember 5, 2017 at 12:02 pm in reply to: Strange 404 on GD Listings and Detail pages from Affiliate Links #394347Hi Peter,
The problem has been fixed. This will be available in next release of GeoDirectory.
I have updated patch to “Pool Pointer” site. If you want to add patch to your production site then patch is available here: https://github.com/GeoDirectory/geodirectory/pull/439/files#diff-ca2d51852f3ed62a8a9d9525f820ae77R933
Do not forget to re-save Permalinks after adding patch.Please check and let us know.
Thanks,
KiranSeptember 5, 2017 at 7:22 am in reply to: Strange 404 on GD Listings and Detail pages from Affiliate Links #394315This reply has been marked as private.September 5, 2017 at 6:26 am in reply to: Strange 404 on GD Listings and Detail pages from Affiliate Links #394306Hi Peter,
Sorry about that, i have make two changes.
Installed Query Monitor plugin to debug rewrite rules and only admin users had access this plugin.
Disabled GD Booster to debug & check front end links.I forgot to uninstall Query Monitor plugin & enable GD Booster plugin after checking done by me, sorry about that. 🙂
FYI: Admin credentials & FTP credentials not working form me, please can you double check and provide me correct credentials.
Thanks,
KiranHi David,
You have used incorrect single quote in code snippet. I have modified snippet.
Currently your site has no Multilocations installed so you can use directly set “Edinburgh & Lothians” at GeoDirectory > Set Default Location > Region.
If you want to install Multilocations then the code snippet will work fine with Multilocations as well, i have tested in my test site.Thanks,
KiranHi Jan,
Please check now.
You have ticked “Custom” option with blank date format value in Admin > Settings > General > Date Format settings. I have saved it with valid date format and now it works fine.
Kiran
Hi Marc,
I checked and currently blog page works fine.
In future if you face this problem again just let us know, so we can check by doing some debugging.FYI: Please update WordPress & GeoDirectory + Plugins.
Kiran
-
AuthorPosts