Rodney Chatman
Forum Replies Created
-
AuthorPosts
-
This reply has been marked as private.
Also…what is the software used in the docs to create GET and POST?
I’ve added the field to the database, as stated above but I don’t see the json object when I do a GET to
wp-json/geodir/v2/business
.
Hello,
The issue I’m having seems to be with verifying the json data. I don’t have the issue when getting a json dump of this type:
{"status":"true","message":"Data fetched successfully!","data":[{"id":"1","name":"Roger Federer","country":"Switzerland","city":"Basel","imgURL":"https:\/\/demonuts.com\/Demonuts\/SampleImages\/roger.jpg"},{"id":"2","name":"Rafael Nadal","country":"Spain","city":"Madrid","imgURL":"https:\/\/demonuts.com\/Demonuts\/SampleImages\/nadal.jpg"},{"id":"3","name":"Novak Djokovic","country":"Serbia","city":"Monaco","imgURL":"https:\/\/demonuts.com\/Demonuts\/SampleImages\/djoko.jpg"},{"id":"4","name":"Andy Murray","country":"United Kingdom","city":"London","imgURL":"https:\/\/demonuts.com\/Demonuts\/SampleImages\/murray.jpg"},{"id":"5","name":"Maria Sharapova","country":"Russia","city":"Moscow","imgURL":"https:\/\/demonuts.com\/Demonuts\/SampleImages\/shara.jpg"},{"id":"6","name":"Caroline Wozniacki","country":"Denmark","city":"Odense","imgURL":"https:\/\/demonuts.com\/Demonuts\/SampleImages\/woz.jpg"},{"id":"7","name":"Eugenie Bouchard","country":"Canada","city":" Montreal","imgURL":"https:\/\/demonuts.com\/Demonuts\/SampleImages\/bou.png"},{"id":"8","name":"Ana Ivanovic","country":"Serbia","city":"Belgrade","imgURL":"https:\/\/demonuts.com\/Demonuts\/SampleImages\/iva.jpg"}]}
Keep in mind that I’m very much a n00b. I’m not sure how to actually parse data specific to the geodirectory api. It would appear that there is no universal way to interact with any api, I hope I’m wrong about that. Specific examples of how to interact with the gd api would be most helpful.
Hey guys,
Any update?
Thanks!!! It’s been a while, so here’s a reminder…YOU GUYS ROCK!!! 🙂
This reply has been marked as private.That works, like a dream. Is there a way for me to load only listings marked featured?
This reply has been marked as private.That’s the next step in my plan. Taking my site to an app. I was hoping there was already some kind of hook to allow the phones GPS location to be used to do an automatic radius search via geodirectory through the app and display the number of results. If noy, got any good recommendations on anyone that can make that happen for me? 🙂
I was thinking more a long the lines of a facebook check-in type feature. A user will check-in at a location and that will automatically add the location address info and allow the user checking in to fill in any blanks. If the location the user is checking in at is already registered with the directory allow the user to leave a rating and review of the location.
That fixed it. Thank you!
Should I uninstall/re-install the invoices plugin?
Hello,
Thank you for that information. I have updated siteurl in wp-config.php to match the URL of the staging site and I can now upload photos. Thank you for your help.
This reply has been marked as private. -
AuthorPosts