Need maps to display in splash page

i looking for the code that would allow me to place the members Maps in my splash screen so visitors   can glance or get an idea of members general location.

thanks 

Quote · 3 Oct 2013

What is your splash screen?  Is it the splash/promo block that you find under general settings in the admin or is it a splash php file or are you referring to the standard Dolphin index.php home page?

Geeks, making the world a better place
Quote · 3 Oct 2013

 

What is your splash screen?  Is it the splash/promo block that you find under general settings in the admin or is it a splash php file or are you referring to the standard Dolphin index.php home page?

 Whats up Geek_Girl, it's a php splash page, I have a members only site, visitors only see the splash page.

Quote · 4 Oct 2013

Ah....  Is the splash.php page you have loading in some of the Dolphin bits and pieces?  They will be needed in order to incorporate Dolphin stuff into the splash page.  There was a free splash.php file posted in the forum with the needed stuff if you are not including them.  Just do a search using the magnifier lens above for splash.php.  I know that HL posted one at one time.

Geeks, making the world a better place
Quote · 4 Oct 2013

yes i think that's the free splash page i'm using

Quote · 5 Oct 2013

First, do you have the code for the map?  What is needed to be included on the splash page for the splash code to be able to get the needed locations?  You will need to create the container for the map on the splash page.  What is your skill level?

Geeks, making the world a better place
Quote · 5 Oct 2013

I need the map code, i can find it if i take my time but was just asking in hopes that someone had already done it/ had it.

thanks

Quote · 6 Oct 2013

hummm i still cant get this map to display on splash page... help help lol

Quote · 19 Oct 2013

can someone help me with this please?

I have a splash page the someone posted here for free, customized it just like i wanted it but now i would like to include a block with the members map so that visitors get a quick glance of where members are located in my case mostly the east coast of the US.

 

thanks 

Quote · 22 Oct 2013

The following code is displaying map with all data (profiles, events, groups, etc), the same code is used to display map on Dolphin homepage:

bx_import('BxDolService');
echo BxDolService::call('wmap', 'homepage_block');
Rules → http://www.boonex.com/terms
Quote · 23 Oct 2013

 Good morning Alex, thanks for the reply, unfortunately I have no idea what to do with that code, I attempted to add it to the body of my splash page but that did not work lol yes im not good at this, Im running my site as i want it thanks to people like you and reading up on this forum. 

The following code is displaying map with all data (profiles, events, groups, etc), the same code is used to display map on Dolphin homepage:

bx_import('BxDolService');
echo BxDolService::call('wmap', 'homepage_block');

 

Quote · 24 Oct 2013

I did a test on my own splash page and it doesn't work!
it returns the checkboxes with module names but not the map.

you have to do a lot to get this working on your splash page.

 Good morning Alex, thanks for the reply, unfortunately I have no idea what to do with that code, I attempted to add it to the body of my splash page but that did not work lol yes im not good at this, Im running my site as i want it thanks to people like you and reading up on this forum. 

The following code is displaying map with all data (profiles, events, groups, etc), the same code is used to display map on Dolphin homepage:

bx_import('BxDolService');
echo BxDolService::call('wmap', 'homepage_block');

 

 

Quote · 24 Oct 2013

I've just test this code and it works just fine. 

Please note that it works on the pages where standard Dolphin output is used to generate the page contents, if you are using custom way to output page contents then you need to include needed css and js files manually.

I did a test on my own splash page and it doesn't work!
it returns the checkboxes with module names but not the map.
you have to do a lot to get this working on your splash page.

 

Rules → http://www.boonex.com/terms
Quote · 30 Oct 2013

AlexT,

we appreciate your  help, to you it may be simple but to some of us its a complicated task.

i have a free simple splash page that i found, so it does not have the required back bones to make the maps code display :(

 

i think it would be great if visitors get to the splash page and visually see if there are members in there town.

are you able to post a sample code that we can copy paste and play with.

thanks 

I've just test this code and it works just fine. 

Please note that it works on the pages where standard Dolphin output is used to generate the page contents, if you are using custom way to output page contents then you need to include needed css and js files manually.

I did a test on my own splash page and it doesn't work!
it returns the checkboxes with module names but not the map.
you have to do a lot to get this working on your splash page.

 

 

Quote · 12 Nov 2013

Try to add the following html to HEAD section of your html page:

<link href="http://demo.boonex.com/modules/boonex/world_map/templates/base/css/main.css" rel="stylesheet" type="text/css" />
<script language="javascript" type="text/javascript" src="http://www.google.com/jsapi?key="></script>
<script language="javascript" type="text/javascript" src="http://demo.boonex.com/modules/boonex/world_map/js/BxWmap.js"></script>

Rules → http://www.boonex.com/terms
Quote · 22 Nov 2013

 

Try to add the following html to HEAD section of your html page:

<link href="http://demo.boonex.com/modules/boonex/world_map/templates/base/css/main.css" rel="stylesheet" type="text/css" />
<script language="javascript" type="text/javascript" src="http://www.google.com/jsapi?key="></script>
<script language="javascript" type="text/javascript" src="http://demo.boonex.com/modules/boonex/world_map/js/BxWmap.js"></script>

 hello AlexT, its not html its a .php mysite.com/splash.php

Quote · 22 Nov 2013

It still has to generate HTML in order for the browser to see it; if you like, you can attach the php file to this topic unless it would give us information you don't want us to see.

Geeks, making the world a better place
Quote · 22 Nov 2013

 

It still has to generate HTML in order for the browser to see it; if you like, you can attach the php file to this topic unless it would give us information you don't want us to see.

 here it is, I took some info/options off

other than that its a simple splash but i wanted to include a map so that visitors could see if any members are in there area based on zipcode

 

thanks for the help

splash5.php · 15.7K · 166 downloads
Quote · 22 Nov 2013

I should have read this closer, Alex was just telling you to add some javascript to the head section.

Normally that would be added to the template file but since this is a splash.php there is no template.

Try adding this below the includes:

echo '<link href="http://demo.boonex.com/modules/boonex/world_map/templates/base/css/main.css" rel="stylesheet" type="text/css" />';
echo '<script language="javascript" type="text/javascript" src="http://www.google.com/jsapi?key="></script>';
echo '<script language="javascript" type="text/javascript" src="http://demo.boonex.com/modules/boonex/world_map/js/BxWmap.js"></script>';

view the page source to see what is what and play around with it.  Make sure your php is generating a proper html document.

Geeks, making the world a better place
Quote · 22 Nov 2013

this is my splash, as you see it's missing the backbones to get maps to display.....

(I removed some info pointed to my site on the file to avoid spammers)

splash01.php · 16K · 144 downloads
Quote · 20 Dec 2013
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.