WordPress.org

Ready to get started?Download WordPress

Forums

RomeLuv Google Maps for WordPress
Not working for 3.4.1 (26 posts)

  1. ChubbyEatsNY
    Member
    Posted 2 years ago #

    Any existing addresses in the database work fine and appear in the mashup/post, but when you try to add or update a post with an existing address populated, it will fail. Does anyone know how to fix this?

    http://wordpress.org/extend/plugins/romeluv-google-maps-for-wordpress/

  2. wpshoff
    Member
    Posted 1 year ago #

    Hello chubby,

    i could not reach the original author, so i created a fork of this plugin here and fixed the issues i had with it:
    https://bitbucket.org/StHoffmann/romeluv-rework

    There is an issue tracker too.

    Maybe i can help you. In case you did not figure it out yourself yet...

    Greetings

  3. ChubbyEatsNY
    Member
    Posted 1 year ago #

    Thanks wpshoff. What changes did you make to the code?

  4. wpshoff
    Member
    Posted 1 year ago #

    There have been a few wrong links with & and api key is not needed anymore. So i removed the usage of it.

    You can find the exact changes in the source history on bitbucket.

    As far as i understood, you changed the address in a post and the map in the post didn't adapt. I tried to reproduce it with the version i have, but it works, it changes.

    So good news :)?

  5. sharenapoco
    Member
    Posted 1 year ago #

    What would i do exactly with this fork? I am confused.

  6. wpshoff
    Member
    Posted 1 year ago #

    Hello Sharenapoco,

    the version of the plugin in the wordpress repository is not working at the moment.

    The fork is an update, so it works again.

    You can replace the plugin-Source in the plugin editor with this source via copy & paste, then it works again:

    https://bitbucket.org/StHoffmann/romeluv-rework/src/7dcec7cc8d82211e27fda48224cc545c92ceb211/romeluv-google-maps-for-wordpressromeluv-maps.php?at=default

    Greetings,
    wpshoff

  7. sharenapoco
    Member
    Posted 1 year ago #

    thank you... I ended up figuring it out.... Do you know anything about the plugin at all? I am not sure how to utilize categories.... the directions don't make much sense to me and I am spinning my wheels...

  8. wpshoff
    Member
    Posted 1 year ago #

    Hello again,

    the original author has documented a lot and all of it is still in a great shape and does still apply, except for the google api key-stuff. That one is not needed anymore.

    You can find it all examples and more here:
    http://www.romeluv.com/maps-plugin-testrun/how-to-setup/

    Greetings,
    wpshoff

  9. kingstakh
    Member
    Posted 1 year ago #

    The plugin does not work with your code to. It is a pity, in messages not displayed map. You can fix this somehow? It would be of ideal if, instead of the address can be set directly on the map marker.

  10. wpshoff
    Member
    Posted 1 year ago #

    Hello kingstakh,

    http://postbeschwerde.de/?p=121.

    This is my testing page. You can clearly see, that it works.

    So please show me proof that it does not work for you.
    If you show me an example i may be able to reproduce or understand the error that you are encounting, which is the base for helping you.

    Thank you,
    Greetings,
    wpshoff

  11. kingstakh
    Member
    Posted 1 year ago #

    Tnx for answer. WordPress version 3.5. Now, first I download this plugin StHoffmann-romeluv-rework-f8800e22b231.zip, install, set "place map after content" other is default. Create new post, enter example address (Viale Kant 2, Roma), click publish. Post is published, but in post don't display map, link to my post. If I create a custom page with shortcode [GLOBALMAP] like this, map is displayed, but markers from posts displayed not.

  12. wpshoff
    Member
    Posted 1 year ago #

    Hello ramualdzabik,

    you are right! There is a bug!

    ...

    I'm on it.

    Greetings, shoff

  13. wpshoff
    Member
    Posted 1 year ago #

    Hello ramualdzabik/kingstakh,

    thank you greatly for reporting the bug. The google API has changed again so the information for coordinates could not be downloaded automatically from google when entering an address.

    I have updated the repository now.

    https://bitbucket.org/StHoffmann/romeluv-rework/

    Please check out the new version and report again, if you have additional trouble.

    Greetings,
    wpshoff

  14. jonnyguitar
    Member
    Posted 1 year ago #

    Hi there. I think I'm having a similar problem on my blog hungrylondoner.com as the maps don't appear on my new posts (but still display ok on my old posts)

    Thanks for the fork - would you mind explaining briefly how I install your fix? And if I'll need to re-enter all my addresses again?

    Any help would be fab. Thanks

  15. wpshoff
    Member
    Posted 1 year ago #

    Hello Jonny,

    after applying the patch you only need to reopen the posts with missing maps and save them again. Due to changes in the Google Api the plugin was not able to retrieve the coordinates from google. They are needed to display the map.

    Your old posts are not affected.

    To update the plugin just copy the content of the php file into the file with the same name on your hosting place. It is very comfortable to do so using the plugin editor in wordpress.

    This link will take you directly to the raw code of the current bugfixed version, so all you'll need to do is one copy and paste (and save changed file).

    Greetings,
    wpshoff

  16. dorysp
    Member
    Posted 1 year ago #

    Thank you so much for taking on the update to this plugin.

    This is a change of subject and I'll be glad to start a new post, but I'd like to use it with custom fields that I created using ACF. does anyone know what code to add so my custom field post recognizes the Romeluv plugin??

  17. wpshoff
    Member
    Posted 1 year ago #

    Hello dorysp,

    I don't. But I don't know acf either.
    I'm sorry to be of no help in that matter.

    Greetings,
    wpshoff

  18. jonnyguitar
    Member
    Posted 1 year ago #

    Hi wpshoff.

    Sorry for the delay in replying. It was really nice of you to provide me with the new PHP file. I have replaced the old one but now when I update an old post I get this error

    Fatal error: Call to a member function asXML() on a non-object in /websites/123reg/LinuxPackage23/hu/ng/ry/hungrylondoner.co.uk/public_html/wp-content/plugins/StHoffmann-romeluv-rework-f8800e22b231/romeluv-google-maps-for-wordpressromeluv-maps.php on line 316

    Please can you help?
    Jonny

  19. wpshoff
    Member
    Posted 1 year ago #

    Hi jonny,

    can you send me the address you added to that post?

    I'll try to reproduce the error so i can fix it.

    Greetings,
    wpshoff

  20. jonnyguitar
    Member
    Posted 1 year ago #

    Hi wpshoff

    Sorry to be thick - What exactly do you need?

  21. wpshoff
    Member
    Posted 1 year ago #

    Hi jonny,

    this error - do you get it on every post you update or just one?

    Greetings,
    wpshoff

  22. jonnyguitar
    Member
    Posted 1 year ago #

    Sorry it appears to be working now! I re-pasted and re-saved. Thanks again!

  23. wpshoff
    Member
    Posted 1 year ago #

    No problem :)

  24. jonnyguitar
    Member
    Posted 1 year ago #

    Hi there, me again! Sorry to bother you, but the error is happening again. I've not made any changes whatsoever to the website apart from adding a few more posts.

    It's happening again on all posts where I edit and add the address to the rumeluv address field at the bottom. I click update and get this:

    Fatal error: Call to a member function asXML() on a non-object in /websites/123reg/LinuxPackage23/hu/ng/ry/hungrylondoner.co.uk/public_html/wp-content/plugins/StHoffmann-romeluv-rework-f8800e22b231/romeluv-google-maps-for-wordpressromeluv-maps.php on line 316

    Any help would be really appreciated. Thanks

    Jonny

  25. wpshoff
    Member
    Posted 1 year ago #

    Hi Jonny,

    no problem, looks like i will have to integrate some automated testing to ensure functionality.

    That means that the good old google api has changed again. i'll try to look at it today after work. (Or this weekend in case i am too flattened.)

    Greetings,
    wpshoff

  26. jonnyguitar
    Member
    Posted 1 year ago #

    No rush! That's brilliant, thanks so much.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.