Camille V
Forum Replies Created
-
Well that was so easy I did not think of it haha.
Thank you for the answer ??
Forum: Plugins
In reply to: [Travelers' Map] Activate Traverler’s Map on mediaDear @tazzz,
No it’s not possible to set a marker on a media file, and it will not be possible in the futur. This plugin is only meant to geolocate posts on a map ??
I suggest you use another leaftlet plugin for that, maybe Leaflet Map? Or others, I don’t know them to be honest ??
Forum: Plugins
In reply to: [Menu Image, Icons made easy] Add max-width to images in administrationYes I did, I thought the same thing as you before saying that. But even if I wouldn’t have, the image loaded in backend is in fullsize, independently from the size chosen in the select drop-down ??
And as an extreme exemple, even if it showed the size chosen in the select box, if the user sets an image size of 800px (let’s say for retina screens, in a mega menu), the css above would be great too ??
Have a nice day
Forum: Plugins
In reply to: [Travelers' Map] Custom categories and more types mapsDear zcesty,
Sorry for the late reply!
1) For now, it’s not possible to filter by custom taxonomies, only by category, tag and post type. I’m putting it on my todo list for the next updates, that’s a good idea.
2) Again (sorry) that’s not possible, I will maybe add a shortcode option for that.
Thank you for the ideas, have a nice day !
CamillePS: You should regenerate your thumbnails with this plugin https://fr.www.ads-software.com/plugins/regenerate-thumbnails/ so it doesn’t load a 1600px wide image on a marker click ??
Forum: Plugins
In reply to: [Travelers' Map] Odd behavior after CSV ImportHehe nice workaround ??
Yes if you add the taxonomy yourself, if your _latlngmarker is the same as what the plugin generate, everything should work ??
The query in the shortcode has this argument:
'tax_query' => array( array( 'taxonomy' => 'cttm-markers-tax', 'terms' => 'hasmarker' ) ),
Have a nice day!
CamilleEdit : wow I didn’t see your Edit, I’m glad it’s working ??
- This reply was modified 4 years, 7 months ago by Camille V.
Forum: Plugins
In reply to: [Travelers' Map] Odd behavior after CSV ImportDear vickyf,
Where did you import you posts from? And how? Another site with Travelers’ map? Did you also import the taxonomies (especially the private taxonomies) set to those posts?
Let me explain:
– Travelers Map is setting the term
hasmarker
in a private taxonomy namedcttm-markers-tax
to the posts on save, when they have a marker on them.
I did this for performance, in case you have 1000+ posts to load on a map, a query by taxonomy is much much faster than by metadata in a wordpress database.
A private taxonomy means that the user can only change it programmatically-> That’s why the posts are showing on the map when you save them again.
So if your import is not importing this private taxonomy, the problem resides here.
- This reply was modified 4 years, 8 months ago by Camille V.
Forum: Plugins
In reply to: [Travelers' Map] Map container not found.Hello!
I see the problem, Travelers’ Map is made like this:
- On shortcode, the PHP code creates a div with the map container ID of your map on your page. It then send this ID and all the markers informations to the plugin’s javascript file via wp_localize_script(), a wordpress function.
- On page load, the javascript is finding the container with the ID given, and put all the markers on it.
I see that you are using Elementor popup builder, and when I click the button, the popup HTML is created at the end of your body, with the map container in it.
So the error is here, Travelers’ map can’t find the map container on load because the HTML is not in the page, it only appears on click of your button.Maybe you can try to find an option on Elementor popup builder (sorry I don’t have the pro version) to load the modal on page load. Or contact the Elementor Support team?
Anyway, I will work on this for the next update, I will add a javascript function to call when the map is loaded asynchronously ??
Have a nice day.
Camille- This reply was modified 4 years, 8 months ago by Camille V.
Forum: Plugins
In reply to: [Travelers' Map] Map not showingI’m glad it’s all fixed, I didn’t know a plugin installation could go wrong in WordPress ^^
Have a nice day,
CamilleForum: Plugins
In reply to: [Travelers' Map] Map not showingWhat I also noticed:
When creating a post and adding the lon/lat the map there is also showing an empty leaflet grey areaMhh that is strange! Did you change anything in the Travelers’ map settings? Especially the “Tiles Server URL” setting?
Also, do you have any error on the “create post” page?
And is a marker showing on the map when clicking on it? (and filling the lat/lon fields below?)
Is the marker already set when you reload the edit page? (If not, it means it’s not saving correctly)Just in case, try to uninstall and reinstall the plugin, maybe something went wrong (note that it will set your settings to default when uninstalling).
Forum: Plugins
In reply to: [Travelers' Map] Map not showingOkay so, here is what I know about your errors:
1. Previewing Travelers’ Map in Elementor Builder is not working and will never be (unless Elementor team changes their core code). Elementor is not loading all the informations (the markers) needed for Travelers’ Map to work. But the map still works on the final page.
2. When a Travelers’ Map is inserted and doesn’t have any marker to show, it’s showing an empty leaflet grey area like you have. I will maybe do something for that in the next update.
So you have 2 “problems” here, the first is Elementor “preview” not working, but that’s a known issue. (I will add it my plugin’s description in the next update).
The second is that your map is not fetching any post or page with a marker, you should either:
– Geolocalize posts or pages first (if not already)
OR
– Change your shortcode settings to match any geolocalize post or page, try the default shortcode to begin with.If you already done that and the problem is elsewhere, please tell me what other active plugins you have, and if it works when you deactivate them?
As I understand it, your problem is different, if you can’t add the shortcode anywhere!
The error message you were seeing is:
Travelers' Map is loading... If you see this after your page is loaded completely, leafletJS files are missing.
I added this message for this purpose, and it means the javascript files of leaflet are not loading. Why? I don’t know, I need more info:
1 – Can you open your javascript console? Rightclick on your page > Inspect Element > Open the “Console” tab in the opened window. If there is an error message (red), please tell me.
2 – Can you try on a normal page (without elementor)?
3 – Try to disable other plugin to see if it can be an incompatibility issue.What WordPress and Elementor version do you have?
Finally, can you open another forum support thread? So I can easily see what is resolved and what’s not.
Forum: Plugins
In reply to: [Travelers' Map] Too many markers – 500 ErrorAfter our private discussion, we think the problem is coming from the theme.
I mark this support ticket as resolved, if the problem persists and was not related to the theme, do not hesitate to open another.
Forum: Plugins
In reply to: [Travelers' Map] Too many markers – 500 ErrorDear Wondermondo,
An error 500 can be done by multiple causes :
1 – A plugin or theme function
2 – Corrupted .htaccess file
3 – PHP memory limitIf the plugin is doing great on pages with fewer markers, I think your problem might be the 3rd one, a PHP memory limit. The query might be too big for your PHP memory limit because Travelers’ Map is querying all your posts in one single request.
I don’t know your skills and administration rights you have on your website, I suggest you to try several things :
- 1 – To see what’s the problem, you can enable php error logs. For that you need to access your wp-config.php file at the root of your wordpress website (in your FTP) and write :
//This will enable your PHP errors to show on your website (instead of a 500 error). define( 'WP_DEBUG', true ); //Enable php errors to log into the /wp-content/debug.log file define( 'WP_DEBUG_LOG', true ); //Finally, this disable display of errors and warnings visible on your website, so the errors are only logged into the /wp-content/debug.log file and not shown to the visitors define( 'WP_DEBUG_DISPLAY', false );
It’s possible WP_DEBUG is already set in your file to false, in that case juste replace false to true
Then, if you visit again your “map2” page, the error should log into the file. You can then send it to me here so I can understand better.
You can also use a plugin to see the errors in your wp-admin, but you will need to set WP_DEBUG yourself anyway: https://fr.www.ads-software.com/plugins/error-log-monitor/
- 2 – You can increase your PHP memory limit. You can find information about that anywhere on Google, but here is a link that explains it easily :
https://www.wpbeginner.com/wp-tutorials/fix-wordpress-memory-exhausted-error-increase-php-memory/ - 3 – Finally, this will not fix your problem but will speed-up your website a lot, if you don’t already have one, I suggest you install a caching plugin. I use WP Fastest Cache on my website, and it works very well with Travelers’ Map. This will save a cached version of your pages and give it to your visitors, so your server doesn’t have to query every markers every time a visitor is coming. You can also set in the settings to clear the cache of every page everytime you add a post.
Let me know if you can access your errors, and if the second point is fixing your issue.
Have a nice day,
CamilleForum: Plugins
In reply to: [Travelers' Map] Travelers’ Map with WPMLDear Florian, I’m glad to say that I received a developer licence for WPML, and updated the plugin yesterday to fix everything !
Maps are now fetching every markers in the current language !
I also added a button in Travelers’ Map settings to synchronize every marker from default language to their respective translated posts. So you don’t need to do it by hand post by post ??Have a nice day, do not hesitate to post another support ticket if something doesn’t work as expected (but it should as I did a lot of tests)
- This reply was modified 4 years, 9 months ago by Camille V.
Forum: Plugins
In reply to: [Travelers' Map] Travelers’ Map with WPMLDear @fschupp Florian,
I’m sorry it’s been a long time, I contacted WPML support 3 months ago, and they replied just recently, only to send me a tutorial that had nothing to do with my problem…
I recently updated the plugin (v1.8.0) to add compatibility with Polylang, so I better understand the problem now, but I still don’t have access to a WPML licence to test my code…
Would you be willing to test some beta version of the plugin in your website? That would imply saving your website (to avoid something going wrong) and sending me the FTP credential to your website.
I can understand if you don’t want to do that because you don’t know me, but anyway do not hesitate to contact me at this email adress to see if we can do something together:
[email protected]- This reply was modified 4 years, 9 months ago by Camille V.