Stiofan O'Connor
Forum Replies Created
-
AuthorPosts
-
Hi John,
You can find the plugin here: https://github.com/GeoDirectory/geodir_api
Latest ver: https://github.com/GeoDirectory/geodir_api/archive/master.zip
And you can find links to how to use it in the description on that page.
Let us know if you have any specific questions.
Thanks,
Stiofan
This reply has been marked as private.I’m getting ” Login incorrect.” from one ftp prog and connection times out from another now…
cpanel might be faster?Stiofan
Great! 🙂
There is no easy way to do this as you need to know what ones to delete, i don’t wan to give you a query to delete things and then it turns out to be the wrong ones
A query like this should identify the duplicatres
SELECT GROUP_CONCAT(post_id), post_title, COUNT(*) geodir_businesskey FROM wp_geodir_gd_place_detail GROUP BY post_title HAVING geodir_businesskey > 1;From there you could do a few things but only a dev could write something to do it automatically.
Stiofan
you would have to run a query to join the two tables and get listings only where they have the same key, then do a foreach to delete them the proper way.
Stiofan
This reply has been marked as private.Let me see if i have got this right?
#1 you will be adding all listings (no users will be able to add, just claim?)
#2 Users can add review or just a comment?
#3 owner can reply to the comment and it will show a owner badge?Is this all correct, am i missing something?
Stiofan
Thanks, i though the first info was suposed to be wp-admin, i am in to wp-admin now but the FTP login seems to take me to a blak folder, i think you need to change the root of the FTP user to the public_html. Or if you supply cpanel details i will be able to check from there.
Thanks,
Stiofan
This reply has been marked as private.If you import a a listing with no post ID it will be created, if you import the same listing with no ID it will still import, my guess is this is what happened.
There are a few ways to delete the duplicates but you would need some unique aspacts, like are all titles 100% unique apart from duplicates?
Stiofan
If there are listings close to you it will show them if not it will default to the closest city, no matter how far away.
Stiofan
This reply has been marked as private.Also make sure ur addons are upto date, if that does not help we will need wp-admin and FTP info to help you.
Stiofan
This reply has been marked as private. -
AuthorPosts