Members: 16,996
Threads: 38,867
Posts: 159,477
Online: 38

Newest Member: Kl_broka@rediffmail.com


Odoo.tv - Outdoor Television


Sedo - Domains kaufen und verkaufen das Projekt mambers.com steht zum Verkauf Besucherstatistiken von mambers.com etracker® Web-Controlling statt Logfile-Analyse

Go Back   Mambers.com > Development > Component Development

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 08.03.2005, 14:05   #1 (permalink)
Baby Mamber
 
butterbur's Avatar
 
Join Date: Jun 2004
Posts: 11
butterbur is on a distinguished road
Default Integrate Flashmap with community builder

This should work with any version of community builder, if you know otherwise please let me know.
Required are GD on your server, SEF turned on, the flashmap files and the swfimgproxy files, which are needed to handle non .jpg files. You should also download and edit the attached file which is a replacement for the mapdata.php file that is part of the flashmap package.

You can download the Flashmap files from http://www.allthegoodness.com/projects/map/index.php

The license on this is software is a little vague but as he seems to be asking for donations I would classify it as donation ware.

You can get the swfimgproxy files from
http://www.quasimondo.com/archives/000407.php

Unpack the files into a convenient space on your local machine. You will not need to upload many of the files from the flashmap archive as it contains the flash source and alternate ways of getting the data.

Upload the mapdata folder to your mambo root so that it remains as a directory under mambo.
Upload the edited mapdata.php file that you downloaded from here along with the extracted files from swfimgproxy to your mambo root.

Create two profile text fields in comprofiler for longitude & latitude, call them long and lat, if you haven't already got a field for "city" you will need to create that as well.

Either create a static content page or edit an existing page you want to show the map and enter the code found in the flashmap index.php file starting with <object> and ending with </object>. If your page shows nothing then try changing your configuration to use a different text editor ( I used none).

As long as a user profile has a picture and a longitude/latitude they should show up on your map.

I think that's it but let me know of problems.
Regards
Martin
Attached Images
File Type: gif file_str.gif (6.1 KB, 230 views)
Attached Files
File Type: zip mapxml.zip (1.0 KB, 182 views)
__________________
I've got time for you at Knabba.com

Last edited by butterbur; 08.03.2005 at 20:06.
butterbur is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 12.03.2005, 08:50   #2 (permalink)
Mamber
 
Join Date: Oct 2004
Posts: 65
crow is on a distinguished road
Default Re: Integrate Flashmap with community builder

Thnx butterbur for this GREAT Howto, integrate map with mambo and Comunity Builder.
I have working mambo 4.5.2.1 and CB Enchanced Version 25-02'05 and map 1.3. Using your howto its integrated great, and working like a charm.

I have no other words then thex a lot and keep up such great stuff for this Mambo COmunity.


Thnx.
__________________
www.chat.ba BosniaAndHerzegovina Chat Portal
crow is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 28.03.2005, 01:50   #3 (permalink)
Senior Mamber
 
Join Date: Jul 2004
Location: here
Posts: 241
ChicoMendez is on a distinguished road
Default Re: Integrate Flashmap with community builder

wow - superb!!
ChicoMendez is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05.05.2005, 01:26   #4 (permalink)
Baby Mamber
 
Join Date: Feb 2005
Location: Switzerland
Posts: 15
beat.b is on a distinguished road
Default Re: Integrate Flashmap with community builder

Quote:
Originally Posted by butterbur
As long as a user profile has a picture and a longitude/latitude they should show up on your map.
Very nice !
Two questions:
- do you know a way or a database to automatically compute the longitude/latitude based on address (or at least town/country) ?
- I understand it needs flash installed, which cannot be taken for granted. But does it fall-back to Javascript if flash is not installed ?

-Beat
beat.b is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05.05.2005, 08:45   #5 (permalink)
Professional Mamber
 
eyezberg's Avatar
 
Join Date: Apr 2004
Location: Gap / France
Posts: 860
eyezberg is an unknown quantity at this point
Default Re: Integrate Flashmap with community builder

I would contact flashmaps author about these. http://www.allthegoodness.com/projects/map/index.php
Javascript is not used, how would you zoom with dhtml?
__________________
joe / ex Mambo ex Doc Team
Eyezberg.com
eyezberg is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09.05.2005, 19:29   #6 (permalink)
Baby Mamber
 
Join Date: Apr 2005
Posts: 1
lewis_jsy is on a distinguished road
Chat Re: Integrate Flashmap with community builder

Thanks so much for taking the time to post a very helpful tutorial, I managed to integrate the map quite quickly.

I did hit a couple of problems though, community builder seem to prefix all newly created fields with "cb_". I didn't see how to turn this off, probably missed something along the way.

Anyway any other users that get this problem one quick way is to edit mapxml.php to:

AND b.cb_lat <> ''
AND b.cb_long <> '' ";

and change:

latitude="'.$row[cb_lat].'"
longitude="'.$row[cb_long].'"

Hope this helps anyone,

www.km90.co.uk
lewis_jsy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 18.05.2005, 21:53   #7 (permalink)
Baby Mamber
 
Join Date: Apr 2004
Posts: 12
dave132 is on a distinguished road
Default Re: Integrate Flashmap with community builder

I'm having a strange problem where the map is loaded with users up until about a month ago. The weird thing is that if I remove the:

location="'.$row[city].'"

everything loads fine. Any idea on what might be happening here. I check several of the users and the have all the info entered including the city.
dave132 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 23.05.2005, 08:11   #8 (permalink)
Baby Mamber
 
Join Date: Jun 2004
Posts: 22
inkpassion is on a distinguished road
Default Re: Integrate Flashmap with community builder

Ok Ive been able to fix my own problems and have it working. I have attached 2 files one is a mod that displays the mod the second is all the files you need if your running SEF or not. Good luck to all!
Attached Files
File Type: zip mod_cb_usermap.zip (1,022 Bytes, 130 views)
File Type: zip cb_map.zip (28.6 KB, 111 views)

Last edited by inkpassion; 23.05.2005 at 17:12.
inkpassion is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 20.07.2005, 07:46   #9 (permalink)
Baby Mamber
 
Join Date: Jul 2005
Posts: 6
JayShoe is on a distinguished road
Default Re: Integrate Flashmap with community builder

I have tried to install this fix onto my temp site (www.digitaldjsllc.com/LECD) and the flash won't even load up... What do you think I am doing wrong? I've gotten the map to load within the sample site (http://www.knabba.com) and it works well. I think that I just installed something wrong...

inkpassion: does your mod allow us to ignore all other things going on within the previous posts???
JayShoe is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 29.07.2005, 20:25   #10 (permalink)
Baby Mamber
 
Join Date: Jul 2005
Posts: 2
zero-one is on a distinguished road
Default Re: Integrate Flashmap in MAMBO-Site

Hi Guys,

I'm working on this site http://193.109.188.36/ and under the DEALERS-section I want to integrate the Flashmap and use it for the dealer location in Europe for the bodytone products. Who can help me, explaine how to do it, to get this fixed.

Where do I start ?

Thanks in advance,

Zero-One

zero-one is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Yanc and Community Builder integration santier Mambo 4.5.1 General Talk 9 21.11.2007 17:25
Community Builder - help with formatting text mambomango Mambo 4.5.1 'How Do I' Questions 2 10.05.2005 15:54
AKOForms with Community Builder FerretLife Component Development 0 17.02.2005 01:29
Community Builder - Registrierungsvorgang funzt nicht canonme Komponenten 1 15.02.2005 17:34
Community Builder X-F4CT0R Development Discussions 26 16.11.2004 16:21


All times are GMT +2. The time now is 05:26.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
A vBSkinworks Design
© Copyright 2004-2008 by Arthur Konze Webdesign.