Kiran
Forum Replies Created
-
AuthorPosts
-
Hello,
There is an update in REST API in recent version of WP v4.9.2 that causing problem in submitting the review.
We have fixed it already.Please download patch from following: https://github.com/kprajapatii/geodir_api/
Thanks,
KiranHi Kent,
As Guust said there is an iframe causing the problem here. Sometime server don’t allows to submit iframes to prevents Cross-Site Scripting (XSS) attacks.
Try to submit listing without iframe in the video field.Thanks,
KiranJanuary 30, 2018 at 8:03 am in reply to: Rating stars not being received when posting a review #414939Hi Jim,
Please check now. I have updated plugin from developer Git repo https://github.com/kprajapatii/geodir_api/
Now review submit is working fine.I have installed REST API Console plugin for test purpose. This plugin allows admin to test POST request from admin panel.
You can test it from here Tools > REST API Console or http://SITENAME/wp-admin/tools.php?page=rest_api_consoleYou can remove “REST API Console” plugin.
Thanks,
KiranJanuary 29, 2018 at 11:36 am in reply to: Rating stars not being received when posting a review #414794This reply has been marked as private.January 29, 2018 at 5:00 am in reply to: Rating stars not being received when posting a review #414736Hello Jim,
Please provide us admin & FTP credentials so i can look into there.
You can check this topic, it may help you https://wpgeodirectory.com/support/topic/geo-api-post/page/2/#post-343451
Kiran
January 26, 2018 at 1:15 pm in reply to: Rating stars not being received when posting a review #414503Hello Jim,
Sorry, you are not allowed to create this comment without a post.
Make sure you have valid post ID value applied for “&post=”.
It doesn’t appear in the comments on the website though the response is 200 OK.
Which status you have applied to the comment? Unapproved comments may not be retrieved in comments response.
the POST request doesn’t work though it is shown as an endpoint in the /wp-json/ reply.
How you are sending POST request to submit review?
Thanks,
KiranJanuary 26, 2018 at 11:03 am in reply to: Rating stars not being received when posting a review #414476Hi Jim,
It seems you are using WP standard comments endpoint (/wp-json/wp/v2/comments) to submit the review. We have our own endpoint to submit the review (/wp-json/geodir/v1/reviews/)
Example url to submit review:
https://mydomain.com/wp-json/geodir/v1/reviews/?post=48&content=This is a review with 5 stars via API&rating[overall]=5&author=1Please see: https://wpgeodirectory.com/support/topic/posting-review-rest-api/#post-373798
Thanks,
KiranThis reply has been marked as private.Yes, there is misunderstanding between GD category & front-end categories field.
Anyway i have fixed that issue and updated on your site too.In cause you need patch: https://github.com/GeoDirectory/geodirectory/commit/8c88c9390ca787598905699d5b7b730aaaa88561#diff-ee8c72c958055683b3e21e5fbe697dbdR758
Please check and let us know.
Kiran
Hello,
FTP credentials no longer working for me, please double check.
Kiran
This reply has been marked as private.Thanks for letting us know 🙂
Hello Joy,
Did you checked attachments? It clearly shows if i make GD category field visible then it shows categories on the preview page(see Bakery, Breakfast, Italian ). Why you have hidden GD category field?
First attachment shows that GD category field is hidden via style (display: none;)It seems here mis-understanding between GD built-in categories field and custom field Categories. I selected “Details page sidebar” from GeoDirectory > Eat Settings > Custom Fields > Front-End Categories > “Show in what locations?:” and now categories(custom field) displayed on sidebar fine (see attachment).
Kiran
This reply has been marked as private.This reply has been marked as private. -
AuthorPosts