Kiran
Forum Replies Created
-
AuthorPosts
-
This reply has been marked as private.
Hi Ian,
This is fixed, it has old version in main file so it shows old version event after update.
It will be in next release, please ignore update message for claim listing plugin if you have already updated.Thanks,
KiranHi Andy,
To allow id and class in a link replace wp_filter_kses with wp_kses_post in this line https://github.com/AyeCode/geodirectory/blob/master/includes/admin/settings/class-geodir-settings-cpt-cf.php#L1552
Kiran
Hi suvadel,
I have tried to add listing without logging with name & email. It successfully added the listing and i also get email to activate user & reset password link.
Please provide admin credentials to look into more.
Kiran
Hi,
Please try following PHP snippet.
/** * Set author to GD listing. */ function gd_snippet_190918_wp_insert_post_data( $data, $postarr ) { if ( ! empty( $data['post_type'] ) && $data['post_type'] != 'revision' && ! geodir_is_gd_post_type( $data['post_type'] ) ) { return $data; } if ( ! empty( $data['post_status'] ) && $data['post_status'] != 'auto-draft' ) { $data['post_author'] = 1; } return $data; } add_filter( 'wp_insert_post_data', 'gd_snippet_190918_wp_insert_post_data', 100, 2 );Regards,
KiranHello There,
Please check and let us know.
Kiran
Hi Barbara,
We use WordPress inbuilt jQuery library for datepickers. I think it has no option to show same scrollable datepicker you mentioned in 2nd screenshot.
Here is jQuery plugin that WordPress uses for datepickers: https://jqueryui.com/resources/demos/datepicker/default.html
Let us know.
Regards,
KiranHi Markus,
I need to check GD pages translations. Please provide us admin & FTP credentials to look into more.
Kiran
Hi Stephanie,
We have added new hook to filter filename. It will be in upcoming release probably within this week.
You can use filter
add_filter( 'geodir_cf_file_FIELDNAME_filename', 'gd_snippet_cf_file_FIELDNAME_filename', 20, 4 );Example for “itinerary1” & “itinerary1_link” fields.
/** * Filter custom field "file" filename. */ function gd_snippet_cf_file_itinerary1_filename( $filename, $gd_post, $file, $field ) { if ( ! empty( $gd_post->itinerary1_link ) ) { $filename = $gd_post->itinerary1_link; } return $filename; } add_filter( 'geodir_cf_file_itinerary1_filename', 'gd_snippet_cf_file_itinerary1_filename', 20, 4 );Patch available at here: https://github.com/AyeCode/geodirectory/commit/968ad09e330a54ac2f93c417eb1871ddee568e6d
Regards,
KiranHere is the patch: https://github.com/kprajapatii/geodirectory-v2/commit/650db20cccf4424b516e5d819c1297ec1c9ba4bb
Fix is included in future releases as well, so don’t worry about future updates.
Kiran
This reply has been marked as private.This reply has been marked as private.This reply has been marked as private.September 16, 2019 at 1:13 pm in reply to: Multiselect option has initial capital letter forced #508412Hi Andy,
This has been fixed and it will be in nest release.
Patch available at here: https://github.com/AyeCode/geodirectory/commit/ef02269ff32072cf629d3ca8c5a9ddfc16e1775eKiran
Description fields are back on listing page.
It looks like you have mixed GDv1 & GDv2 data. For category icons it shows correct icons as all listings has Uncategorized category assigned.
Provide us phpmtyadmin database access for GDv1 & GDv2 sites so i can compare data and fix icons.Regards,
Kiran -
AuthorPosts