wpshoff
Forum Replies Created
-
Forum: Plugins
In reply to: [RomeLuv Google Maps for WordPress] Shortcode not workingHi,
i saw that my post is not correctly transmitted.
The&‘s are the wrong ones. They need to be replaced by a simple&.Thanks and sorry,
StefanForum: Plugins
In reply to: [RomeLuv Google Maps for WordPress] Shortcode not workingHello Paul,
seems that you do not use my update for the plugin from my fork that i posted earlier.
I looked into the source and found:
<script src="http://maps.google.com/maps?file=api&v=3&sensor=false&key=AIzaSyD406JaKv38mLGxTigEXpiPtloCx77an2w" type="text/javascript"></script>The &’s are wrong, they need to be &. Plus you do not need an Google api key anymore.
Anyways, the easiest fix for this maybe that you replace the &’s with &’s in the plugin editor.
Could you try that and then post if it worked?
Greetings,
StefanForum: Plugins
In reply to: [RomeLuv Google Maps for WordPress] Shortcode not workingHello jonny,
you could start by showing me a website where the problem is shown. So i can have a look at the html and find out if its Yoasts problem or Romeluvs problem, that it does not work.
Greetings,
StefanHello Pedro,
i have uploaded another change to the plugins repository. I have inserted some code that should automatically replace line feeds with spaces. Although i believe the line breaks to be inserted after the romeluv plugin has written all its output.
In case you need it to put it somewhere into the theme:
$val = str_replace(array("\r\n", "\r", "\n"), ' ', $val);Is the travel theme still supported? Maybe you can throw this at the authors.
Greetings,
and you’re welcome,
wpshoffhello pedro,
i use “show sourcecode”. I have set the automatic line break to false. Then i look at line 110 to line 114 and i can clearly see that it is better now, since there are less linebreaks.
To compare, look at the source code of http://realmbender.de/2012/10/20/wordpress-romeluv-google-maps-for-wordpress-wordpress-plugins/ .
Row 110
<p><a id="dd_start"></a> <!-- single post ...All javascript code and html is placed in one row of source code. No line breaks in there. While the same plugin version seems to be wrapped into 4 rows in your source code. Do you see it?
The funny thing is: I saved your page to harddisk and deleted the few extra line feeds. And then it worked. See for yourself here:
http://realmbender.de/Experimente/ferias-no-algarve.htm
I wonder why you have those line feeds there.
Do you do something special with the blog post header?
I could try to change the source of the plugin again to remove all line feeds in the inserted content. But from what I see in the source, there should not be any line feeds.Since we kinda have only one message per day:
1) Did I help you to see the problem?
2) You can install the webdeveloper toolbar into your firefox, you will see then that it reports a javascript error because of the remaining line breaks.
3) Now that we maybe are clear about the problem, can i delete your htm-Page on my server again :).
And last but not least:
If you say so, i’ll add code to remove line breaks, also i’m very sure the plugin puts no linebreaks at those places..
Other ideas are welcome.Greetings,
wpshoffHello pedroteixeira07,
as the options that you mention do not belong to the romeluv plugin, i do not know how they interact and why they are there.
The Google Maps API key is not only not relevant, it will cause a problem because you cannot get a key any more. But Google will want it if you use the parameter for it.
But back to the plugin for now. As i can clearly see there are still p s and /p s in the emitted javascript. To work around that I have committed a change to the romeluv plugin to put all code necessary into one row only. So the p and /p will not be in the javascript.
https://bitbucket.org/StHoffmann/romeluv-rework/overview
Please update your plugin on the page and try again. Maybe its working.
Greetings,
wpshoffForum: Plugins
In reply to: [RomeLuv Google Maps for WordPress] Shortcode not workingHello together,
my global map here works: http://postbeschwerde.de/?page_id=15
Try my fork, if you like.
https://bitbucket.org/StHoffmann/romeluv-rework/src
Answer this post if you still have problems then. I’ll try to correct the fork if necessary.
Greetings,
wpshoffHello pedroteixeira07,
I have looked into your example and watched it closely.
It seems that there are a lot of p and /p in the javascript code which do not belong there.Did you copy the javascript source code into the post?
If so, try to delete all line feeds. WordPress tends to automatically insert p and /p tags to generate line feeds.Then try to select option “Place before content”.
Just to see if it generally works.
Post the result here.This will give us more information about where the bug comes from.
I will happily hunt this bug with you.Greetings,
wpshoffHello 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,
wpshoffHello 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:
Greetings,
wpshoffThere 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 :)?
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-reworkThere is an issue tracker too.
Maybe i can help you. In case you did not figure it out yourself yet…
Greetings
Hello,
i had the same issues. Since it is open source, i created a fork and fixed the problems. You can find it here:
https://bitbucket.org/StHoffmann/romeluv-rework
Greetings