gasparirob
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Store Locator] How to edit wpsl-gmap.min.jsAfter 2 afternoons, I’m quite sure there were some misconfigurations between W3 Total Cache and Nginx reverse proxy… But I’m not sure where exaxtly the problem was. Even disabling and deleting W3TC I was getting the page cached by W3TC (via cUrl). Even disabling Nginx reverse proxy.
I don’t know what I have done next, but now i get a correct 404!
Now I’ll try to re-enable Nginx reverse proxy and reinstall W3TC (or maybe WP Super Cache?)Thanks anyway
Forum: Plugins
In reply to: [WP Store Locator] How to edit wpsl-gmap.min.jsMe too it’s a cache problem, but I think I’ve cleaned all server cache (I’m on a dedicated server, Centos 7 & Plesk 17), browser cache too (I’ve used a “clean” browser too: IE), but I still view a file that doesn’t exist:
wp-content/plugins/wp-store-locator/js/wpsl-gmap.min.js?ver=2.2.13
where wpsl-gmap.min.js has been renamed to wpsl-gmap.min.js.BAK
But any string different from “2.2.13” leads to correct 404:
wp-content/plugins/wp-store-locator/js/wpsl-gmap.min.js?ver=2.2.1 (for example)I’ve restarted the server too…
Forum: Plugins
In reply to: [WP Store Locator] Map doesn’t loadNo, I’m not using custom code.
Yes, it also happen with the default WP themeForum: Plugins
In reply to: [WP Store Locator] Map doesn’t loadSorry, it’s not yet published…
Forum: Plugins
In reply to: [WP Store Locator] Map doesn’t loadNope.
I’ve purged all cache via W3 Total Cache and cleared browser cache. But issue is still present.Forum: Plugins
In reply to: [WP Store Locator] Categoryif you say HOW you have solved, maybe you can help someone else…
Forum: Plugins
In reply to: [WP Store Locator] Don't include 'start point' in clusterUpdate:
file markercluster.js -> row 438
added:
if (marker['storeId']!=0)
What do you think about? Do you have a better solution?
Forum: Plugins
In reply to: [WP Store Locator] Don't include 'start point' in clusterNope! it duplicates starting poing at every search…
Forum: Plugins
In reply to: [WP Store Locator] Don't include 'start point' in clusterI’v done so:
wpsl-gmap.js -> row 1533
// Store the marker for later use.
if ( storeId != 0 ) markersArray.push( marker );It seems it works….
Forum: Plugins
In reply to: [WP Store Locator] Info box on hover clustered markersAbsolutely TOP!!! ??
Forum: Plugins
In reply to: [WP Store Locator] Multiple mapsUPDATE:
for the ‘Italy map’ case, I found a solution:
$cat_filter=” in class-frontend.php (section “Check if we need to filter the results by category”) I replaced it with:$cat_filter = “INNER JOIN $wpdb->term_relationships AS term_rel ON posts.ID = term_rel.object_id INNER JOIN $wpdb->term_taxonomy AS term_tax ON term_rel.term_taxonomy_id = term_tax.term_taxonomy_id AND term_tax.taxonomy = ‘wpsl_store_category’ AND term_tax.term_id IN (83,84)”;
83 and 84 are the two category AAAAA and BBBBB
Now, it seems to work, both Italy and World maps….
Obviously, If you have a best solution it would be appreciated
(even for the realtime-update-category-changes thing)Anyway, I offer you a coffe… A symbolic thanks ??
Forum: Plugins
In reply to: [WP Store Locator] Multiple mapsI’m doing some tests…
There’s some (little) problems:
– ‘World map’ case, two categories come out (“All” and “World”), but I solved with shortcode [wpsl category=”world”] that doesn’t show any category, as I want.
– ‘Italy map’ case, three categories come out (“All”, “AAAAA, “BBBB”), but in result list world items appear. Only when I check AAAA or BBBB the results are correct.I (you) should set a filter on the first load page. ??
And what about to update the list even when the user changes the category dropdown menu element, without have to fill-in the city input and click “search”?
(The page opens, and All markers are displayed. Next AAAAA is selected and list and map update automatically… so with BBBBB… or All….)Forum: Plugins
In reply to: [WP Store Locator] Multiple mapsThanks man. I’ll try as soon as possible…
Forum: Plugins
In reply to: [WP Store Locator] Multiple mapsSorry Tijmen for me to insist, my boss is pressing me…. ??
Is there a way to obtain that behaviour (the post above)?
Sorry again ??
Forum: Plugins
In reply to: [WP Store Locator] Multiple mapsYes, I could do that way, but I lose sub-categories in Italy map.
The best thing should be this:
– category “Italy” (emty, in my case: I only have elements in subcategories)
— subcategory “AAA” (800/900 elements)
— subcategory “BBB” (10/20 elements)
– category “World” (40/50 elements)Then, 2 pages, one with [wpsl category=”Italy”] and one with [wpsl category=”World”]
This, now, is not working, ’cause the category dropdown menu is not showing subcategories “AAA” and “BBB”