PDA

View Full Version : [MODULE] Frappr map


blikos
12-19-2005, 12:50 AM
This is my first time ever sharing anything so mods please edit if necessary.

Create either a page or module that is template based. My example is below:

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
<tr>
<td align="center">

<script>
var frappr_mapheight = 500;
var frappr_mapwidth = 500;
var frappr_maplat = 35.9898425;
var frappr_maplon = -98.14;
var frappr_mapzoom = 13;
var frappr_host = "http://www.frappr.com/";var gid = your frappr id here;</script>
<script src="http://www.frappr.com/ajax/mapwidget.js"></script>

</td>
</tr>
<tr>
<td align="center">

<script>
var frappr_photo_length = 500;
var frappr_photo_orientation = "wide";
var frappr_host = "http://www.frappr.com/";var gid = your frappr id here;</script>
<script src="http://www.frappr.com/ajax/widgets.js"></script>

</td>
</tr>
</table>

You can view it implemented here: http://afullcup.com/upload/cmps_index.php?page=map

If you do not already have a frappr map, you will need to register free for one here:
http://www.frappr.com/

The idea for adding the frappr map came from all the discussions in this thread: http://www.vbulletin.org/forum/showthread.php?p=852005
Credit goes to eljeffe for providing a starting point for this module.

phoenixdown
12-19-2005, 11:26 AM
Does frappr actually allow you to hotlink the map like that?

Our Sponsors
 

blikos
12-19-2005, 11:32 AM
Yes, after you log into your frappr account, click on the widgets link for the tos and code.

KW802
12-19-2005, 12:22 PM
I had no idea what a Frappr was. :p

Any advantage of integrating Frappr into a site over Google Maps since most sites would already have a gallery for pictures, etcetera?

Our Sponsors
 

blikos
12-19-2005, 04:21 PM
I had no idea what a Frappr was. :p

Any advantage of integrating Frappr into a site over Google Maps since most sites would already have a gallery for pictures, etcetera? Not really. I had the frappr up before the google map hack came out so I went with this. From looking at the google map hack, frappr looks a lot easier to implement but not necessarily the best choice. I have yet to get a gallery up...I have been planning to put Brians gallery up but now checking on the photopost. I have over 3,000 members and only 81 have added themselves to the map so I don't think that I am going to put too much more effort than this into it :)

Tom M
12-19-2005, 04:28 PM
I've looked at both options and while the frappr solution seems quick and easy the disadvantage is that it breaks the user out of the site and goes to frappr. For me that's not an option. I'll just have to wait until the vbgooglemap solution makes it easier for the user to identify where they live.

djjeffa
01-02-2006, 03:13 PM
i did the mod but now the right coulm shows under the center?
any ideal why?


EDIT:
i fixed I had to click no for Use Module Shell Template

djjeffa
01-02-2006, 03:58 PM
ok another problem i have no border on it now
look www.djjeffa.com

rza733
01-05-2006, 09:48 PM
Installed!! thank you very much

Zachariah
01-16-2006, 09:45 AM
Good idea
- I have had something like this going for a while (http://www.gzhq.net/index.php?page=gzhq).

This over Googlemap is site promo vs. Priv. map.