Kiran
Forum Replies Created
-
AuthorPosts
-
September 13, 2017 at 10:16 am in reply to: Could Not Create Directory when updating plugins to new version #395478
Hi There,
On Windows server sometimes long filename breaks the updates from third-party plugin repositories.
More about long file name on Windows Server:
https://docs.generatepress.com/article/updating-issues/#could-not-copy-file
https://formidableforms.com/help-desk/cannot-update-the-plugin-since-2-02-07/Either you have to contact your server admin about this error or you can fix it by installing plugin: https://wordpress.org/plugins/fix-windows-compatibility/
I successfully updated GD Booster after installing this plugin.
Let us know.
Thanks,
KiranHi Sébastien,
I think I get it, but in our case, french customers will probably try to type “Londres” instead of “London” … I don’t really know yet what impact it’s gonna have and how to deal with this…
Region/city names are taken and saved in database that Google provides in response on address search (during add lisitng and adding locations). On every new listing/new location it makes entry in location database if city/region not found in database. So it is difficult to translate cities & regions. Countries names are limited so countries names are translatable.
To handle we have provided to set default google map language. This saves cities & regions in selected default map language.But here’s a question you might not find silly but how about using a google search instead of the actual location database in order to search for the nearest places to an adress. A bit like the “near me” button, but allowing people to start search from any adress… this way we would probably avoid language issues for cities / regions ?
This not possible because Google autocomplete search returns the address from Google database and we want to search in our site database with searched address. Therefore autocomplete results should be from website database.
Kiran
Hi Sébastien,
For the moment on my side, after payment, the claim is still pending and requires manual approval but maybe it’s because our payment methods (Paypal + Stripes) are in test mode ?
Have you enabled IPN notification event at your PayPal & Stripe Accounts? At the website end whenever it receives IPN notification from gateway about payment has been accepted, the system marks the related invoice to “Paid” and same time it auto approves the claim listing.
Once they’ll be set to production mode, the claims will be auto approved once payment has been accepted for real ?
This works for both live & sandbox(test) mode.
Let us know.
Thanks,
KiranSeptember 13, 2017 at 7:56 am in reply to: geodir_get_post_info() Not returning updated listing #395455Hi There,
We have updated and now listing edited notification will be sent after listing data saved in database. This will solve your problem. Update will be available in next release.
But you can find patch at here: https://github.com/kprajapatii/geodirectory/commit/11eb913e309cad66121944d36af1a6b24aa12a49Update patch to your site and use following code snippet:
function _gd_custom_save_previous( $post_ID ) { global $_gd_custom_previous; if ( get_post_type( $post_ID ) == 'gd_place' && empty( $_gd_custom_previous[ $post_ID ] ) ) { $post = get_post( $post_ID ); $geoDir = geodir_get_post_info( $post_ID ); update_post_meta( $post_ID, "previous_version", ["originalPost" => $post, "geodirInfo" => $geoDir] ); if ( empty( $_gd_custom_previous ) ) { $_gd_custom_previous = array(); } $_gd_custom_previous[ $post_ID ] = true; } } add_action( 'pre_post_update', '_gd_custom_save_previous', 1, 1 ); function _gd_custom_append_to_message( $message, $fromEmail, $fromEmailName, $toEmail, $toEmailName, $to_subject, $to_message, $extra, $message_type, $post_id, $user_id ) { if ( $message_type = 'listing_edited' && !empty( $post_id ) && get_post_type( $post_id ) == 'gd_place' ) { $previousData = get_post_meta( $post_id, 'previous_version', true ); // Previous data if ( !empty( $previousData ) && !empty( $previousData['geodirInfo'] ) ) { // Previous geodir post info $previousGeodir = (array)$previousData['geodirInfo']; // Current geodir post info $currentGeodir = (array)geodir_get_post_info( $post_id ); $difference = array_diff( $currentGeodir, $previousGeodir ); // DO STUFF HERE AND APPEND TO MESSAGE } } return $message; } add_filter( 'geodir_sendEmail_message', '_gd_custom_append_to_message', 10, 11 );
Thanks,
KiranHi Sebastien,
Can we use both options Auto approve + Force update ?
No, both options Auto approve & Force update can’t works same time.
Is this normal ? Can’t we have both option working or is this a security limitation in order to check payments or else before approval ?
With Force Update it auto confirms the claim listing on payment accepted.
With both features there is possibility that user auto approves claim listing without pay for claim listing. If it does this then Force Update is meaningless here.Let us know.
Thanks,
KiranHi Sébastien,
1) As Guust has explained Cities & Regions are not translatable. Cities & Regions are saved in database as returned from Google Map address search. London and Londres are treated as a different cities.
Cities & Regions names should be saved in language that you have set for “Default map language” option at GeoDirectory > Design > Map > Default map settings2) During import listing you have to use Cities & Regions names in language that you have set for “Default map language” option at GeoDirectory > Design > Map > Default map settings.
Suppose you have set map default language French then you have to use “Londres” for city name.See examples:
English: https://maps.googleapis.com/maps/api/geocode/xml?address=SE1 7PB
French: https://maps.googleapis.com/maps/api/geocode/xml?language=fr&address=SE1 7PBLet us know.
Thanks,
KiranSeptember 12, 2017 at 12:07 pm in reply to: Francise manager not showing up with payments module #395308This reply has been marked as private.September 12, 2017 at 11:40 am in reply to: Francise manager not showing up with payments module #395300Can you post screenshot where you asking to put note/description?
Hi There,
Custom validation message has been added for empty comment text. This will be available in next release.
Kiran
September 12, 2017 at 7:58 am in reply to: Francise manager not showing up with payments module #395273Hi Kristjan,
1) No there is no option to hide “Business Owner/Associate?” field from locked fields.
2) We have fixed “View franchise” link problem, it will be available in next release of “Franchise Manager”.
Kiran
Hi Jason,
For WP Easy Updates problem found that “USM Premium” plugin causing that problem.
For import problem during import i got “Internal Server Error” error in ajax request import. Let us provide FTP details to look into more.
Thanks,
KiranHi There,
Please check now, hi have moved all files from /gd/ to main site and now site working fine.
Now only things remain is to assign categories to the listings which has not any categories assigned yet.
You can assign categories by two way:
1) By manually editing the listing
2) Go GD Impirt/Export > Export Listings > Set categories > Re-ImportLet us know if you have any query.
Thanks,
KiranSeptember 11, 2017 at 1:52 pm in reply to: Francise manager not showing up with payments module #395143Thanks for letting us know 🙂
September 11, 2017 at 7:36 am in reply to: Francise manager not showing up with payments module #395056Hi Kristjan,
I have run GD Tool from GeoDirectory > GD Tools > “Clear all GD version numbers”, and now error seems fixed.
Please check now let us know.
Thanks,
KiranHi Lydia,
If you are customizing the add listing page with Page Builder then it can’t possible. GD pages(ex: add listing) are pages with dynamic content so those pages can’t customize via page builder.
I have chosen normal WordPress editor for add listing page and now add listing page is working fine. With WordPress editor you can still add content for add listing page, and this content will be displayed above the add listing form.
For login page 404 error, we have fixed this error and will be available in next release. If you want to fix it now then you can apply this patch fix on your site. https://github.com/GeoDirectory/geodirectory/pull/439/commits/38b6edfe7d932ac47e1fa783f34123babd737dd6#diff-1221ca4fa5c4c9eb595150aa6e02d200R640
Let us know.
Thanks,
Kiran -
AuthorPosts