-
Notifications
You must be signed in to change notification settings - Fork 21
-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plugin Mod / Fork, Update and what happened #40
Comments
So finally the updated version v3.5.2 of the plugin with the above described fixes is here. I know that this is far from the best way to provide an update but currently I do not know a better or faster way to offer a distribution of the updated version of the plugin. I strongly recommend everyone who still uses this plugin to download this version and install it. However please consider the problematic situation around this plugin, I'm not responsible for anything...it's just a fix to circumvent the possibility to inject code over this potential "backdoor" as long as the owner does not communicate what these lines actually do and for what they are used. I personally doubt that these lines make any sense other than pushing some stuff on the webserver of a person using this plugin. Why load a credit from the server and not hard code it? It's stupid because if a person understands PHP code it doesn't makes it more difficult to remove the credit. That's the only comprehensible thing I can think about and this doesn't makes any sense either. Everything is just an assumption by me, but as long as there is no official communciation or statement by the owner (other than the updates without any changelogs) on the "official" site, it's better to take care. Feel free to verify my archive and the code I uploaded. But there are no differences except the fixes described above. Moreover I hope that someone joins the discussion. I'm looking forward for some community input. The base for v3.5.2 was the version v3.5 taken from http://www.mapsplugin.com/update/. For the moment this version should work. In the near future I will create a fork of this repo because the current situation is far from acceptable. I don't have deep knowledge of the Maps API so I hope on participation :D. |
Thanks a lot. |
I have been using 3.5.2 for a while and find no problems. Thank you for all your hard work. |
@ypr52 glad to hear, np :) |
I have a question. The 3.5.2 plugin works fine on a live site but when using it on a test site (using XAMPP v3.2.2) it does not always load (I sometimes get a location in Holland). Do you know the reason for this? |
@ypr52 TBH I can't really say what's the actual issue, never noticed it on one of my test sites. Open please a new issue maybe someone else has a solution. It would be better recognizable by other people within an separate issue. If there is a solution I will integrate it and create a new release. |
@thexmanxyz -- Five years late. Thank you. I've been using this for 3.5.2 without problems. It is, still, five years later, the only viable maps plugin for joomla. Does pretty much everything: kml, directions, sidebar, etc.. The important feature is it works in categories, articles, modules. It will display multiple instances of the map on one page! Rain, snow or sleet. It would be great if someone could fork this 😉 and keep it going. I am here commenting as I was trying to mod another map plugin and I just don't have the coding skills with joomla. I dropped by to snoop around the code for some insight and felt the need to comment. 🍺 👍 |
Hi |
hi. had to look up some of the myriad of options. Since Mike's site is gone, here is the way back machine copy: |
Hey there @thexmanxyz :) I've read everything in this thread. Is 3.5.2 the latest version of the plugin? But I noticed the map is not loading correctly in the Contacts page, even though I added an API Key in the plugin settings. I don't think it's related to the fact that I updated the site. The map was probably dead for a while but because this is a low traffic site, no one noticed/complained. I didn't even know which plugin was being used, it took me a while to understand what's happening. Since I have my hands on it, I'm curious if I can fix this and get a working map.
How would I proceed to update the plugin? Delete everything inside the folder media/plugin_googlemap2 and upload contents from your zip file in there? I appreciate your help on this. Thank you! |
@lostincoding Hey, the 3.5.2 is a custom version of the last official version of the plugin. What has been fixed in 3.5.2 can be found in the comments of the issue. There were no changes except the ones I described above. The version I created is working since years flawlessly on J3 and I did not experience any issues for my use case. I did of course not test all possible configurations of the plugin. The plugin still works fine with the latest J3 version namely 3.10.12. You can install the above attached zip file via the Joomla plugin installation by uploading the zip to your web server and pointing to the install file. I would do it like that and without removing anything manually from the web server. Of course be sure that this is the same plugin. I'm not on PC and can't check whether it really is. But you should be able to determine with the existing J3 install, the zip file and the folders on the web servers. Before breaking something permanently I would recommend to test it in some staging environment or make a full backup of web server / db in case you don't have a staging. Simply that you can roll back if something goes terribly wrong. However the risk is rather small I would say. Proceed with my suggestions and in case it did not work provide details about the current version of the plugin and a debug output from Joomla in case it's not working with 3.5.2. Any feedback positive or negative of course welcome 🙂. |
@lostincoding ah I overlooked that you wrote it's 2.18 of the plugin. I'm not sure if the 2.18 can be directly replaced by 3.5.2. Otherwise you might need to uninstall the old version and reconfigure 3.5.2. |
Hi :) I'm not great with Joomla. I struggle a bit with some of its concepts (plugins, modules, articles). For example, I have looked everywhere but I still don't understand how the map is inserted in the Contacts page.
I know the map is being inserted somehow because it's showing with an error in the front, as well as in the javascript console. Screenshot: https://i.imgur.com/RwWg6KS.png . So I have a couple of questions:
EDIT: reformulated the last part of my comment, for clarity. |
Hey there, I know many of you noticed that something strange happened to this plugin. There was over a long period no update and at the beginning of the year a new version was released and shared only over the website by a potential new owner. The old version which is available over this repo is still v3.3 and the version provided over the new "official" website (at least the domain changed) http://www.mapsplugin.com is v3.5. I did a rough diff over the files and there were a lot of changes between these two versions. But most of them look ok. However the changes were never updated here in the git repo (even after 8 months). That's mysterious. There is a popular fix for PHP 7 which also was not integrated even since it is known for at least a year #28
Moreover @jaccsnl noticed strange lines in the code, possibly found during a Sucuri.net scan - see also #39. So I tried to find the problematic lines described by @jaccsnl by myself because he did not provide further infos. As already discussed in #39 the related code that I found seems to be a bit strange and very questionable. Moreover I noticed a bug in 'plugin_googlemap3.css.php' and a deprecated Google Maps JS Api query parameter "signed_in=0|1", which is still sent during requests. So I decided to fix these issues, remove the mysterious lines of code described in #39 and create a new version. For further information please review #39 I will not describe everything I discovered again.
So the new version is
3.5.13.5.2 and contains:Please give me some time to prepare the new version. I will come back here to further discuss these issues and provide you further information.For more infos see the next post.The text was updated successfully, but these errors were encountered: