Tagged Locations Not Showing Up

Added by M Sherwood 4 months ago

It seems as though any location that I have that is tagged doesn't show up at all in the store locator. To test this, I've entered three locations, one of which is tagged:

http://buylocallyct.com/farms/

You'll notice three locations in the "Search by City" pulldown; the Westport location does not show up, because it is tagged. What's the deal you guys? The search-by-tag functionality is the reason I bought this plugin, and the tags have never worked for me. I am using single word tags with no spaces (the tag in this case is "markets").


Replies (17)

RE: Tagged Locations Not Showing Up - Added by Douglas Kelly 4 months ago

Have you checked in all browsers? I'm noticing that Safari and Chrome will load the locations, but Firefox and IE will not - tags don't work in ANY browser, however.

RE: Tagged Locations Not Showing Up - Added by M Sherwood 4 months ago

Weird -- I've got all untagged locations showing up in all browsers (chrome, firefox, ie, safari).

In Chrome, Firefox and Safari, the map is not displaying the locations by default, and instead defaults to some random point in the middle of the Pacific ocean:

http://buylocallyct.com/farms/

But whatever, I can live with that, it's functioning tags I need!

RE: Tagged Locations Not Showing Up - Added by Lance Cleveland 4 months ago

Make sure you have tag input turned on. Check the online documentation for "how to use tags".

RE: Tagged Locations Not Showing Up - Added by M Sherwood 4 months ago

Still not working -- when a user selects a tag from the dropdown, the result is a popup box that says "not found". This is also still the case with that other guy's site who was having this same problem:

http://buylocallyct.com/farms/

http://fla-alarms.org/membership/find-a-member-company/

Is there anyone out there who is using the tagged search function successfully?? My client is getting impatient, this is beginning to look really bad.

sl_notfound.jpg (122.5 kB)

RE: Tagged Locations Not Showing Up - Added by Lance Cleveland 4 months ago

This page is using [slplus only-with-tag="senator"]:

http://www.cybersprocket.com/seo-pages/us-senators/

The tag input/tag pulldown uses the same code to generator results. Since we only want one result we don't display the pulldown.

RE: Tagged Locations Not Showing Up - Added by M Sherwood 4 months ago

Ok so I've got this page using [slplus only-with-tag="markets"]:

http://buylocallyct.com/summer-farmers-markets/

and as you can see, my tagged location is not showing up, neither by default nor when its city (Westport) is selected in the "Search by City" dropdown.

One workaround for this tag thing would be if I could just install a second copy of StoreLocatorPlus. That way, I could put all the "farm" locations in one, and the "markets" in the other. Essentially, I just need two active Store Locator maps on this site, however that can be achieved, I'm game. Maybe I can have both SLPlus and SLlite installed at the same time? Thoughts??

sl_locations.jpg (108.3 kB)

sl_tagged.jpg (153.6 kB)

RE: Tagged Locations Not Showing Up - Added by Lance Cleveland 4 months ago

You cannot have both plugins installed at the same time.

You can, however, separate data using tags.

Try setting your radius to something larger. Try 500 miles, for example.

See this article for more info:
http://redmine.cybersprocket.com/projects/mc-closeststore/wiki/Search_By_State

RE: Tagged Locations Not Showing Up - Added by Douglas Kelly 4 months ago

Newest version - tags and locations are working!... well not all locations. Canada and Mexico aren't working. US, Australia, Chile and the UK are working. Issue exists with an old version of FireFox and changing radius. Hopefully there aren't many people using the old version of FF. Just was on a test PC. Newest is working.

RE: Tagged Locations Not Showing Up - Added by A. Paiva 4 months ago

Afraid it is not a Firefox issue. Using FF 10.0 and got the same results with FF 9.xx. WP is 3.3.1.
The plugin behaves the same with Chrome as well:

- Map of Finland starts building up and will reach 30 to 80% completion before it is quickly replaced by a piece of Pacific. Specifically lat: 0,0 long: 180.
- It refuses to find any location (added to Store Locator Plus), even if search radius is 40 000 km. "No results found"

Just guessing:
Map correctly tries to load the correct map based on the location given "Finland (maps.google.fi)".
Then plugin logic kicks in, fails, and then Google sends a zero location map: lat: 0,0 long: 180.

In my installation the following location address fields are in use: Name, Street; City; Zip; (State field is not used).
Location is: Finland (maps.google.fi)
Character encoding: Default (UTF-8)
Shortcode in use: [SLPLUS]
Display Settings: tried C; fi_FI; fi_FI.utf8; fi_FI@euro
Units: km
My server location: USA

Debugging:
1, 2) Installed twice. Removed DB tables before installing the second time.
Have tried with different settings with no effect. Then tried using shortcodes. No luck.
Firebug shows no Javascript errors.
3) Made a fresh install on a new domain, default WP, default theme, no plug-ins, no caching. Used the following settings: Location data: Name, Street; City; Zip. Location: Finland (maps.google.fi); Character encoding: Default (UTF-8); Shortcode in use: [SLPLUS]; Display Settings: C.

In all cases 1-3 the following:
This works: I can add locations and they get geocoded in Manage Locations after being selected and Recode Selected putton being pushed.
This is the issue: Locations do not appear on the map. And they cannot be searched.

In this link http://redmine.cybersprocket.com/projects/mc-closeststore/wiki/Search_By_State it is explained that Store Locator "is designed to search by proximity". It is explained that it can use State as a basis of this calculation. It is not clear, if it is able to use other parts of the address, say a city or a country as a reference point for its calculation.

Any way you could provide a quick and dirty solution?:
I want to hardcode the default map center location at lat: 62.6 long: 26.5. Hopefully the plugin will then 1) display the map of Finland and 2) find all locations within 500 km radius and display them on the map. Now all I and the visitors get is a glimpse of water in the Pacific.

I much appreciate the work you have done to keep this plugin updated. Have used Store Locator before.

RE: Tagged Locations Not Showing Up - Added by Douglas Kelly 3 months ago

Wow - nice debugging and thoughts A. Paiva! I get a similar "error" of 0,0 (center of Pacific) in FireFox 8.0.1, when the map first loads on "Any". I also get a zoom out to the world (tripled) in Chrome on "Any". And this search doesn't automatically show results in Canada. Note, in FF, only a selection of 100 or 200 miles yields any results. Chrome doesn't care: 50 - 2000. Mexico still doesn't work, but that may be an issue with the client's address loaded. Canada works, but not in a full North America "Any" search in Chrome. In Chrome all searches work. One can select any type of machine sold: http://psirotary.com/contact/representative-locator/ and the correct results are yielded (save Mexico, of course). I will try to grab FF10 this afternoon, but surprising that the most recent FFs don't work. I've tested in IE8 and it's a no likey there either. So is it working for anyone in IE9 (don't have it installed on a test machine yet)?

RE: Tagged Locations Not Showing Up - Added by Lance Cleveland 3 months ago

Do you have "immediately show locations" checked in map settings?

If you don't want the list of locations to appear below the map when this is set you can also check "disable initial directory".

Let me know what happens with that. If that does not work send us an admin login to your server to (Do not post the login info here) and we will look at this as we wrap up the 2.4 release.

RE: Tagged Locations Not Showing Up - Added by A. Paiva 3 months ago

Yes, "immediately show locations" is checked. Displays the Pacific. When not checked, the map of Finland is displayed correctly. However, search will only display the first location, marked with green arrow. No other location shows up. Has never done. - Will send you admin info to my site by email.

RE: Tagged Locations Not Showing Up - Added by Lance Cleveland 3 months ago

Thanks A. Paiva... your info helped.

We've been able to reproduce the problem. The international characters in "Retkeilijänkatu 7" are causing the auto-zoom on the map to break. We're not sure why yet, but expect to have it fixed soon and will include the patch in the 2.4 release.

We also found why the "Settings:General" button on the top of some sites is broken. If you put WordPress in a subdirectory that link breaks. We've tracked & fixed that bug already and it will also be part of the 2.4 release.

RE: Tagged Locations Not Showing Up - Added by Lance Cleveland 3 months ago

A. Paiva - a patch was installed on your server to address the problem. Let us know if the issue is fixed and if you see other problems.

The patch will be out in 2.4 as part of the general release.

RE: Tagged Locations Not Showing Up - Added by Lance Cleveland 3 months ago

2.4 beta is available from the file download section here. It may solve some of your problems.

There are 2 new features in the release that are only available to people that purchase the 2.4 upgrade pack. The 2.4 upgrade will appear on the general settings page when we launch the final release of 2.4 on WordPress. The upgrade fee for the new features will be set at $1.

The new paid upgrade pack features include:

  • Custom Themes - you can now create customized CSS files and automatically selected them from the display settings. Upgrades/patches will not overwrite your custom CSS files. We've created a simple dark listing theme and will add more advanced custom themes on future builds.
  • Center The Map - you will be able to choose ANY ADDRESS as the default location on which the map will center.

Details on both features are noted in the documentation:
http://redmine.cybersprocket.com/projects/mc-closeststore/wiki

RE: Tagged Locations Not Showing Up - Added by Douglas Kelly 3 months ago

The upgrade from paid 2.3 to 2.4 is $1? When do you expect 2.4 to be out of Beta?

Any word on the browser discrepancies?

RE: Tagged Locations Not Showing Up - Added by Lance Cleveland 3 months ago

2.4 is out of beta.

The upgrade fee is only to unlock the new features:

  • Custom Themes
  • Set Specific Map Center Location

All other patches & features are included by simply upgrading. Ignore the $1 upgrade button and it will work fine less the theme & custom map center. If you don't need/want those then simply update & continue to use all the other features in the product as normal.

Can you cite any specific browser discrepancies that remain? Some of the reported issues have been resolved and were actually international character issues not browser specific.

(1-17/17)