Viewing 6 replies - 1 through 6 (of 6 total)
  • The fact that the map shows indicates that the plugin works. It just points to the wrong location. Where do you want to point it at and what coordinates are you using?

    Thread Starter Sturgn

    (@sturgn)

    I did a post at the following location and added the marker on the map in the edit post screen.

    18° 05.3960′ N 67° 56.4040′ W

    I went to that location on the map and there is no marker, there should be another in Luperon Dominican republic but neither show up.

    THanks for the help.

    Ok, when you entered 18° 05.3960′ N 67° 56.4040′ W and clicked the Search button located in the edit post (right under LogMyTrip Location), did you see the map of the island showing?

    Thread Starter Sturgn

    (@sturgn)

    Yes the island shows up in the edit post page and in the published post page at the top there is a link that shows where the post was published at. Maybe I am confused on what this plugin does. What I am looking for is a page that displays a map with all my posts pinned on it and when a visitor clicks on a pin(or inside the pin) it takes them to the post.

    Here is a link to a post that has the mona island in it.

    https://www.sturgn.com/2013/12/14/dominican-republic-to-puerto-rico-via-the-mona-passage/

    Thread Starter Sturgn

    (@sturgn)

    thats a different location but still the same issue..

    Thanks!

    Plugin Author ajohnwaters

    (@ajohnwaters)

    Hi Sturgn,

    I wrote this plugin but have not been receiving these problem reports, so I apologise for the delay in replying. It may well be that you are not using the default user (the user with user ID number 1). If you use this plugin with a default installation of WordPress on a self hosted website, the default userID for the admin user is 1, which allows the plugin to work fine. If this is not the case, the plugin can be switched to use another userID like this:

    Locate the file index.php in the WordPress home directory of your webserver and open it in an editor. Add the line below on a new line just after all the comments (lines that begin with *) in this file. Save the file and revisit your website using your browser. You may have to refresh a couple of times on the site to ensure the cookie is set and that you are not looking at a cached copy of the site.

    To set the userid to 2 for example:

    setcookie(“tid”, “2”, time()+60*60*24*100,”/”);

    This sets the cookie for 100 days every time you visit the site, so it should never effectively expire.

    I hope this helps.

    John

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Map displays but no data on it’ is closed to new replies.