Forum Replies Created

Viewing 15 replies - 286 through 300 (of 415 total)
  • Plugin Author tinuzz

    (@tinuzz)

    Hello Fernando,

    Sorry I missed your question. The only problem I see on your site, is that the tile server URL that you used in Trackserver settings is not valid. It tries to load tiles from:

    https://otile3-s.mqcdn.com/tiles/1.0.0/osm/{z}/{x}/{y}.png

    but otile3-s.mqcdn.com doesn’t even resolve in DNS. Try restoring the default:

    http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png

    MapQuest has disabled tile access in July 2016.

    Best regards,
    Martijn.

    • This reply was modified 9 years, 3 months ago by tinuzz.
    Plugin Author tinuzz

    (@tinuzz)

    This problem was solved privately. The GPX file was broken in multiple ways, but there was also a bug in Trackserver, that got fixed thanks to this report. Trackserver would only import the first <trkseg> segment in a track. The fix is up on Github, so if you want this problem fixed quickly, download this file:

    https://raw.githubusercontent.com/tinuzz/wp-plugin-trackserver/master/trackserver.php

    and put it in Trackserver’s directory (wp-content/plugins/trackserver) in your WP install.

    I will release a fixed version on the WordPress plugin directory soon.

    Best regards,
    Martijn.

    Plugin Author tinuzz

    (@tinuzz)

    Hi,

    It means the file is not valid GPX 1.0 or 1.1. Can you send me the file so I can have a look and see what’s wrong with it?

    Regards,
    Martijn
    m@rtijn.net

    Plugin Author tinuzz

    (@tinuzz)

    Hello Darren,

    I had a look at your website. The map is not showing on the homepage, because the necessary JavaScript and CSS aren’t included in the page. The div is supposed to be empty; it is filled with the map content by Leaflet’s JavaScript.

    If the JavaScript and CSS aren’t loaded in the page, it is most likely that the shortcode detection is failing, and indeed that is why the ‘tsscripts’ shortcode was invented. Is that shortcode included in the page at this time?

    The only way I have seen so far that the shortcode detection fails, is when a WP plugin changes the main WordPress query, for example if a plugin assembles a page or post from different other pages and posts. Most likely an incompatibility with another plugin. Does your homepage utilize a plugin that possibly changes the WP query?

    Let me try to clarify what is means, just in case.

    If you request a page from WordPress, for example your homepage, WordPress constructs an internal ‘query’, to determine what content to display. Usually this is one or more pages or posts (in case of a homepage, it’s usually multiple posts). Trackserver uses this query to inspect all the content and see if the ‘tsmap’ shortcode is used, and only loads JS and CSS if that is the case.

    Now, it is possible for a page or post to change the WP query (or do a sort of subquery) to gather other content, usually as the result of another shortcode. Trackserver does not (and cannot) know this, so if the post or page that contains the ‘tsmap’ is actually included in the content by means of another shortcode, shortcode detection fails and the map is not displayed.

    The way the ‘tsscripts’ shortcode is meant to work, is to include it in the outermost page or post, i.e. the page that is actually present in the main WP query, regardless of other plugins or shortcodes.

    Of course I don’t know how your homepage is constructed, but it shoud be possible to include ‘tsscripts’ in the main page and Trackserver should work. Please let me know if you need further help, and of course I’d be interested if this solved your problem.

    Best regards,
    Martijn.

    • This reply was modified 9 years, 3 months ago by tinuzz. Reason: Typos
    • This reply was modified 9 years, 3 months ago by tinuzz.
    Plugin Author tinuzz

    (@tinuzz)

    Not enough information. Post URL for starters.

    Martijn.

    Plugin Author tinuzz

    (@tinuzz)

    Is there anything in your webserver access log, error log or PHP error log regarding MapMyTracks updates?

    Thanks for the suggestion of CelltracGTS/Free app, I’ll look into it!

    Best regards,
    Martijn.

    Plugin Author tinuzz

    (@tinuzz)

    Hi Iro,

    I just found blog post answering most of my questions:
    http://rabinshrestha.com/make-wordpress-plugin-compatible-with-multisite/

    So this may be doable in a reasonable amount of time after all. I’ll keep you posted.

    Best regards,
    Martijn.

    Plugin Author tinuzz

    (@tinuzz)

    Hi Iro,

    I have just looked into it, and the main thing I have found so far, is that it’s a very complicated subject!

    First of all: would you expect Trackserver to function completely independently for each site in you network, meaning user ‘X’ would have a different set of tracks in ‘Site 1’ than in ‘Site 2’ ?

    Apart from that, I still don’t have a good view of what would be needed to make it work. Trackserver uses capabilities to manage which user can do what, and in a multisite network, capabilities have to be managed for each site indiviually.

    Unfortunately, this is not something I can cook up in an evening or two, it’s going to take a lot of work, although if one track database shared between all sites is acceptable, I might be able to cut some corners.

    Can you let me know how you would like to see Trackserver behaving in a WordPress network?

    Best regards,
    Martijn.

    Plugin Author tinuzz

    (@tinuzz)

    Can you elaborate a little bit on where/how you would use such a shortcode?

    Regards,
    Martijn.

    Plugin Author tinuzz

    (@tinuzz)

    I’ll consider this a feature request, although I’m not sure how much priority I can give this. I’ll post here if I have something to share.

    By the way, the TrackMe URL is static and the same for all users, so I don’t really see the usefulness of a shortcode to display it.

    Best regards,
    Martijn.

    • This reply was modified 9 years, 4 months ago by tinuzz.
    Plugin Author tinuzz

    (@tinuzz)

    Hi Robbie,

    Silly of me, I should have seen this is a warning, not a fatal error. The uploads succeed, but the speed is not caclulated.

    In the next version of Trackserver, I make sure the time delta between two points is set to at least one second, so this warning should no longer occur.

    Sorry for the delay, Trackserver hasn’t gotten the love it deserves from me in the past few months.

    Best regards,
    Martijn.

    Plugin Author tinuzz

    (@tinuzz)

    Hello Carlo,

    When I open http://f6m.com/expressino/, I see the map loaded, but panning the map doesn’t work and when zooming in/out, new tiles don’t get loaded or so it seems, but I don’t see any requests for new map tiles appearing in developer tools, so it seems like either Leaflet is broken on your site, or there is some strange JavaScript blocking Leaflet’s functionality. I cannot image this being a Trackserver problem.

    Can you try and disable Visual Composer and see if that helps?

    Best regards,
    Martijn.

    Plugin Author tinuzz

    (@tinuzz)

    Not yet, but this is on the road map for a future version.

    Cheers,
    Martijn.

    Plugin Author tinuzz

    (@tinuzz)

    First of all, I apologize for not replying any sooner. I rely on receiving emails from WordPress.org for new forum posts, and either that’s not working anymore, or I have missed this particular one. Either way, I am sorry.

    Did you perhaps manage to solve the problem in the mean time?

    If not, I am not quite sure what could be wrong. Your settings look OK indeed, and the only thing I can think of right now, is that you mistyped your password in OruxMaps.

    If you can’t get it to work, I may be able to help if you can set me up with a temporary editor account on your website.

    Cheers,
    Martijn.

    Plugin Author tinuzz

    (@tinuzz)

    Hi,

    I’m not sure I understand what you are asking. First of all, I don’t kow what ‘app’ you are talking about. Are you using SendLocation? If you would like the app to behave differently than it does, I suggest you contact the people who built that app. There isn’t much I can do for you, since Trackserver is in no way officially related to any of the mobile apps that it can be used with.

    Regarding a limit on the number of database updates on the server side:

    I can see how ‘rate limiting’ could be helpful in some cases, for example to prevent abuse on a busy server, but I think you are asking for it for the wrong reasons. This is something that should be fixed on the side of the app. Furthermore, I am afraid such a setting would lead to a lot of confusion about why updates don’t appear on the map, and I’ll be getting a lot of ‘It doesn’t work!’ type of questions.

    I’m sorry, but this will not be high on my ‘todo’ list.

    If you want to take a swing at it yourself, all the code is in trackserver.php, and I hope and think the code is readable enough to allow easy hacking.

    Best regards,
    Martijn.

Viewing 15 replies - 286 through 300 (of 415 total)