Marc Mathys
Forum Replies Created
-
AuthorPosts
-
Hi,
Point 2 was resolved by Kiran, who ran GD tool from “Admin -> GeoDirectory -> GD Tools -> Location category counts -> Run” for another issue.
So that leaves 1. and 3. open…
Best,
MarcHi Stiofan,
Works great now, thanks.
Best,
MarcDecember 13, 2016 at 12:33 pm in reply to: WP-SpamShield blocking adding a location as a new user #324192Hi Stiofan,
I really like the way GD handles it and I’d rather not change to the standard WP or Buddypress login that are more cumbersome. Yet, I’d want to use one of the greatest Anti-Spam plugin on my site and unfortunately I have to disable it for my entire site because the way you register user appears to not respect WP standards.
Now the plugin owner is willing to work with you to make it all work together. Would you consider that offer and try to understand why your registration method is blocked by Anti-Spam (apparently others as well)?
Best,
MarcDecember 12, 2016 at 7:13 pm in reply to: Geo Location Tab Switcher – empty map when filtering on city #323821Hi Kiran,
Great, thank you very much.
Best,
MarcHi Stiofan,
I did not publish any links to a 404 code on the website. That’s why I’m providing you with the URL to click on. If you are not logged in to our site and click on https://www.arbolife.com/fr/annuaire-ajouter-adresse/ (which is the French page for adding a listing) you get straight to a 404 and you can see why with the double /fr/fr in the URL. Remove one by hand and hit enter, then everything works well.
In the meantime I found that the same happens in English. Try https://www.arbolife.com/directory-add-listing/ (which is the English page for adding a listing), you get redirected to a 404 because of an extra /en in there. The result is https://www.arbolife.com/en/directory-login/?redirect_add_listing=https%3A%2F%2Fwww.arbolife.com%2Fdirectory-add-listing%2F but should be https://www.arbolife.com/directory-login/?redirect_add_listing=https%3A%2F%2Fwww.arbolife.com%2Fdirectory-add-listing%2F
I suspect (but obviously have no clue) that it could be related to your previous fix, that added the language code in the email confirmation link. Does that make sense?
Best,
MarcHi Paolo,
Let’s have the other thread continue to resolve the location thread. Now I have one more issue with the original subject.
I properly duplicated all my listings in WPML (https://wpml.org/documentation/translating-your-contents/displaying-untranslated-content-using-content-duplication/) into English.
Now a couple of problems show up:
1. The gd_placecategory gets changed fine in the duplicated listings, it goes from 209 to 210 where 210 is indeed the English version of the 209 category. However, the post_locations still shows “suisse” as the slug and the post_country still shows Suisse, where I’d expect to see “switzerland” and “Switzerland” respectively.The issue would be that the posts created from an English user in another area would be placed into the country of Switzerland, which would appear to be in a different country than Suisse and not appear on the map together.
The next step will be to activate German language, which calls Switzerland “Schweiz”, so in order for GD to be compatible with WPML in a multi-lingual country, I need a way to have a “duplicate” (not translated) entries in English, French and German, where each has the correct localized version of the Country (Switzerland, Suisse, Schweiz).
2. The Category count shows the correct number (132) on this link: https://www.arbolife.com/listing/ (but not all entries are displayed – issue followed in the other thread) but not on this link: https://www.arbolife.com/directory/suisse/ where it only shows (3) even though they’re all on the map.
3. Comments and ratings don’t appear on the duplicated version. Imagine a multi-lingual country, If I want to go to a place outside my language area, I’d like to see the ratings without having to switch the language of the website to the language of that area to see what the locals have to say about the place.
Best,
MarcFor those interested in this (IMHO “essential”) functionality, I found a trick to display the tags only when there is no region filter in the URL by using Widget Logic plugin (https://wordpress.org/plugins/widget-logic/)
My widget logic goes like this:
(!(strpos($_SERVER['REQUEST_URI'], "annuaire")==false)||!(strpos($_SERVER['REQUEST_URI'], "listing")==false)||!(strpos($_SERVER['REQUEST_URI'], "directory")==false))&&strpos($_SERVER['REQUEST_URI'], "suisse")==false&&strpos($_SERVER['REQUEST_URI'], "switzerland")==false
where “annuaire” is the location slug in French
where “directory” is the location slug in English
where “listing” is the listing slug in both languages
where “suisse” and “switzerland” are for the only country I have listings in (you’d have to adde them all if you’re international… and in every language)Tags are so cool for users, maybe not so much for developers. Anyhow, I’d welcome a cleaner option from GD in a future release.
Best,
MarcDecember 11, 2016 at 2:43 pm in reply to: Geo Location Tab Switcher – empty map when filtering on city #323230Hi Paolo,
One more issue, that appears to be related. When clicking on the category (which has 132 entries), it only diplays a few on the map.
https://www.arbolife.com/fr/listing/suisse/seconde-main/
They appear to be the same few that appear when the geo filter is set to Switzerland:
https://www.arbolife.com/fr/listing/suisse/Thanks for looking into that.
Best,
MarcDecember 11, 2016 at 12:37 pm in reply to: Geo Location Tab Switcher – empty map when filtering on city #323184Hi Paolo,
No problem, but I had to remove the location filter widget in the mean time and put a manual menu with links to the regions as we got some press today and were expecting trafic on the site.
Best,
MarcHi Stiofan,
Your change might have messed up another functionality. When not logged in and clicking on a link to add an address (which is this page: https://www.arbolife.com/fr/annuaire-ajouter-adresse/) gets to a 404 error when redirected to the page to create an account because there are 2x /fr in the URL:
I tested this before and it used to work fine.
Best,
MarcHi Stiofan,
Thanks for the fix. It’s all good now.
Best,
MarcHi,
The latest test you made to claim a listing sent me an email with the correct link for #approve_listing_link#, but not yet for #site_name_url#. For the second one, I don’t mind hardcoding that in the .mo file if needed.
Let me know.
Best,
MarcHi Paolo,
Thanks, I now did what you recommended and it worked, but it messed up something Kiran had just fixed (https://wpgeodirectory.com/support/topic/geo-location-tab-switcher-empty-map-when-filtering-on-city/#post-322374), now the location filter is completely broken.
One of these two threads should probably be closed now.
Best,
MarcHi Stiofan,
Thanks, that worked well.
Best,
MarcDecember 10, 2016 at 2:17 am in reply to: Geo Location Tab Switcher – empty map when filtering on city #322374Hi Kiran,
So at first if worked perfectly fine after your update. Then I fixed another issue as indicated by @paolo on this ticket (https://wpgeodirectory.com/support/topic/country-in-2-different-languages-creates-a-mess/#post-321324):
I checked that Switzerland was translated to Suisse in the .mo
I re-imported all the listings with “Suisse” in the CSV which created new regions all over the DB. I erased all the old ones with reference to Switzerland.Now the the listing filters work: https://www.arbolife.com/fr/listing/suisse/neuchatel/le-locle/
But not the geo filter (actually anything entered from the region filter fails):
https://www.arbolife.com/fr/annuaire/suisse/neuchatel/le-locle/, even the country: https://www.arbolife.com/fr/annuaire/suisse/I did install the latest GD release, but that seems unrelated as you updated a file in the geodir_location_manager plugin folder.
Thanks,
Marc -
AuthorPosts