Get XOOPS XOOPS FAQ Forums News Themes Modules
News World of XOOPS Developers Hacks Modules Themes YAXS Archive Submit News

XOOPS vs. Herko Coomans

Local Support

Make a donation

Please select an amount to donate


Do you want your username revealed with your donation?
Yes - List me as a Generous Donor
No - List my donation as from an Anonymous Donor


Search

Twitter News

Cumulus Tag Cloud

admin Arabic banner block Christmas comments cumulus DayDawn dhsoft e-Commerce E-Learning Google GUI hacks instant-zero jQuery module news Nordic Olédrion oxygen PageRank security SEO simple-XOOPS sport tag Theme wiki xoops

New Users

Registering user

# 117261

rheamad34

Welcome to XOOPS!

Archives

Advertisement

XOOPS Code hosted on SourceForge

Google Map Module Version 0.4

Posted by Phatbloke on 2006/5/19 10:02:21 (11221 reads) | Posted on Modules
At last after me being lazy and a fair few modifications I have made the module capable of using the Googlemap V2 which has the capabilities of heaps more features along with the main function of displaying a fair chunk of Europe.

Please read the readme as there is a sqlupdate to run as google have changed the way the zoom levels work so that in time they can add greater zooms with higher quality photos.

If there are any problems please let me know and I will try fix them. Either comment below or there is a forum here

Download the module from here

Installation:

1. Just unpack and upload to modules directory as usual
2. Install in module administration
3. Configure module in prefs
4. Obtain an api for your site from google. Link is given in the config page.
5. Add your categories and points from the module menu.

Upgrading:
1. Upgrade module in xoops admin
2. Run update script to adjust zoom levels http://www.yousite.com/modules/googlemaps/admin/sqlupdate.php
3. Login as admin and in preferences / google maps set a map type otherwise the sidebar will not display

Change log

Version 0.4
-Added code to handle V2 of the google API making europe maps available
-Added ability to choose a map type to display as default
-Fixed Shifted sidebar to the side of the map to help if categories get too big


Printer Friendly Page Send this Story to a Friend Create a PDF from the article


Bookmark this article at these sites

                   

The comments are owned by the poster. We aren't responsible for their content.

Thanks for the updated module.



Cheers,

Simon
www.newenglandcedarhomes.com
Posted: 2006/5/19 17:25 • Updated: 2006/5/19 17:25
Hmm ...

After updating from 0.3, running sqlupdate.php as posted above results in "Sorry, you don't have permission to access this module" even though I'm logged in as Admin.

Removing the module and reinstalling from scratch results in a "500 Internal Server" error when attempting to run the module from my site. Admin funtions are fine.

Am I missing something?

I'm running XOOPS 2.0.13.

-Tongo
http://www.2tongorilla.com
Posted: 2006/5/20 16:55 • Updated: 2006/5/20 16:55
Hmm that sounds odd. I haven't tested it my self in 2.0.13 but have been reported it works fine.
Did you check the permissions didnt get removed in groups in the admin area some how. Make sure webmaster has access to all areas of the module
Posted: 2006/5/21 7:42 • Updated: 2006/5/21 7:42
Ah! It turns out the fault, dear Brutus, lies not in the stars but in our software -- specifically, mine.

After some head scratching, I deleted the module and re-upped your code using a different FTP client. Everything worked like magic.

Wonderful stuff, thank you very much.

I CAN SEE MY HOUSE FROM HERE!

-Tongo
http://www.2tongorilla.com
Posted: 2006/5/21 11:46 • Updated: 2006/5/21 11:46
is there an option to submit from users?
Posted: 2006/5/22 13:23 • Updated: 2006/5/22 13:23
It's a really great moudle. Is that possible to add a "direction to here" and "direction from there" bottom? Thanks!
Posted: 2006/5/29 0:25 • Updated: 2006/5/29 0:25
Great Module, thx.
When can we get the v0.5(?) i need the funktion that user can set PIO's (point of interest)
Posted: 2006/6/22 6:49 • Updated: 2006/6/22 6:49
when Iam trying to ad an catogery i gt this error: Error Code: 0013


ERROR: Could not query the database.
Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' '1', '1')' at line 1


help!!!!
Posted: 2006/6/22 8:51 • Updated: 2006/6/22 8:51
Gret work again, thanks!! A quantum leap in terms of resolution for the part of the world my site is on. One question: the Google Maps Api seems to send it's controls in UTF-8, whereas my XOOPS site comes as ISO, which leads to those nasty symbols in the controls when viewed from a computer that requests them in languages with accents and diacritics. Is there a way to fix that?
Posted: 2006/7/12 11:29 • Updated: 2006/7/12 11:29
I've installed version 0.4 clean and it works well with the exception of zooming. After creating a category and adding points when you try to view the points by clicking on them instead of zooming in to the preset level the map simply pans to that point, remaining at the level of zoom already being used. I've removed the mod, downloaded it again from the developers site (or another site at least) and reinstalled to have the same problems.

Any help out there??

Thanks,

CVinje
Posted: 2006/7/16 2:18 • Updated: 2006/7/16 2:18
I get a similiar error when entering the first category:

Quote:

Error Code: 0013


ERROR: Could not query the database.
Error: Out of range value adjusted for column 'map_id' at row 1

Posted: 2006/7/26 22:39 • Updated: 2006/7/26 22:39
hy friends,

a 0.5 version is out. Check here and download it

Version 0.5 (Marco)
- Added ability for users to add/modify their point by themselves (managepoint.php file). user's should be connected to perform that action
- Added some language defines
- Added "one point only per users" control
- Added diplay of user's profile info into markers (name, occupation), and link his xoops's profile
- Fix some translation issues for defines in Admin side
- Added some settings in Module Preferences for map size (height/width)

I have made more fixes yesterday, please monitor my website to detect any new version (not yet released)
i will have a look at your problems and try to fix them quickly, please report/confirm them.
Comments and feedbacks are welcomed over there as well


marco
Posted: 2006/8/1 15:28 • Updated: 2006/8/1 15:29
a 0.6 version is out.


Version 0.6 (Marco)
- replace <? by <?php tags (still left some in maps.js, i keep that one for later)
- add some css style into markers to better display informations within markers (still need to create a module .css file,i keep that one for later)
To use it, just add to your theme .css such a style (names infobox)
.infobox {font-size:10px;}

- change category display area
- add overview map feature, add correlative settings in module preferences (overview map position)

Download area is the same
Demo
marco
Posted: 2006/8/5 13:48 • Updated: 2006/8/5 13:59
Can anyone clarify please, what is going on? One minute this module is being developed ny Phatbloke, and then Marco?

Had no probs with Phatbloke's code but Marco's screwed up my site! I now have a problem now that I have downgraded where XOOPS does not substitute the variable with the string (if this makes sense). i.e. displays _MD_CAT as opposed to the actual catergory name.

Please help
Posted: 2006/8/25 10:17 • Updated: 2006/8/25 10:18