Code

Discussion on Progress Map Wordpress Plugin

Discussion on Progress Map Wordpress Plugin

Cart 6,341 sales
Recently Updated

codespacing supports this item

Supported

This author's response time can be up to 5 business days.

4571 comments found.

Hi

I have an issue: I would like to add the (nice) map onto our website, but, it’s not a wordpress website. So: a) Will I be able to create the map on one of mine wordpress pages and insert it onto our website via iframe later? b) I am not sure if the 19$ licence is the right one. Our website: www.hitrental.com

Thank’s for your advice.

Hi,

Will I be able to create the map on one of mine wordpress pages and insert it onto our website via iframe later?

- I haven’t tested this myself but i’ve already contacted a user using the same method and everything worked great for him. As far as i know, there will be no problem using an iFrame to display the map in your website.

I am not sure if the 19$ licence is the right one.

- Yes it’s the right one.

Thank you :)

Hi – I have a hughe issue – it doesn’t show in the most used browsers. Depending on my setting under Layout Settings > Layout Type it shows either in explore, firefox or in chrome – but never all three. And now we tested it from four different computers around in the world… Right now it is set to responsive layout and I can’t see it in explore and firefox… And it doesn’t have

 around - I put in through texteditor.
http://fritidspilot.dk/lej-et-fly/ 

Hi,

Sorry for the delay. I’ve checked your website but couldn’t find any error. I even doubt that the map was used in this page. Please make sure that the shortcode exists in the content of your page. If so, can you please send me the login to your site at plugin.progressmap@gmail.com to check this.

Thank you

Unfortunately we had to remove it from the site – we got to many complaints from people who ad trouble to see it :-(

Hi,

Sorry to hear that the plugin is not useful for you. If you’re still interested to reuse it, please let me know if you need any help.

Thank you

Hi, great plugin! I’m using it on wordpress 4.1 and I have two issues.

First my pins appear inside a blank square

Second, the infoboxes have a double rounded bubble.

http://www.progettofotograficosardegna.it/wordpress/mappa-2/

Thank you!

Hi,

Please use this code instead:

div[id^=codespacing_progress_map_div] img,
div[id^=codespacing_progress_map_light] img,
div[id^=codespacing_progress_map_static] img{ padding: 0px !important; max-width: none !important; border: none !important; background-color: transparent !important; }

Thank you

Thank you very much. It works perfect now!

One more thing about custom fields. I am trying to show only posts that the value of “race_continent” is “Asia – Pacific”.

The problem is that Asia – Pacific has spaces, so I can not make it to work…

I have tried:

[key:race_continent | value:.Asia – Pacific. | type:char | compare:LIKE]

[key:race_continent | value:Asia – Pacific | type:char | compare:LIKE]

[key:race_continent | value:’Asia – Pacific’ | type:char | compare:LIKE]

[key:race_continent | value:”Asia – Pacific” | type:char | compare:LIKE]

but nothing works…

I know that the problem is the spaces, cause if I try it with Europe for example it works fine..

could you help? thanks

Hi,

Sorry for the delay. Yes i think the problem is with the spaces. Please try to replace the spaces by   and try again. For example, use this instead:

[key:race_continent|value:Asia – Pacific| type:char|compare:LIKE]

Thank you

hi there, unfortunately it didn’t work. as soon as I click SAVE, the & nbsp ; is converted to blank space :( Any other ideas..?

OK I just found a turnaround: because my category is “Asia – Pacific”, if I only use LIKE “Asia” it still works… so it’s good for now but maybe something you want to fix in next updates ;)

Hi guys,

I would like to add something complex on Infobox1. Something that involves if statements with my custom fields.

For example:

<?php $race_cat=get_field('race_categories'); if (in_array("Full Marathon", $race_cat)) { echo '<img src="/graphicsdepot/fm.png" alt="Full Marathon" class="legendicon" />'; } elseif (in_array("Half Marathon", $race_cat)) { echo '<img src="/graphicsdepot/hm.png" alt="Half Marathon" class="legendicon" />'; } //------------- $date = get_field('race_date'); // extract Y,M,D $y = substr($date, 0, 4); $m = substr($date, 4, 2); $d = substr($date, 6, 2); // create UNIX $time = strtotime("{$d}-{$m}-{$y}"); echo date('M jS', $time); ?>

I cannot understand how to do it either from Carousel Settings or through functions.php

I have also replied to the other issue on how to display only forthcoming events.. please help, thanks a lot in advance :)

Hi,

Sorry for the delay. Where do you want to display this results, in the infobox image area of the infobox description area?

Thank you

In the description… I want to add some icons and information that are specific to each post. thanks

Hi,

Sorry for the delay. Please try this code.

<?php

/**
 * Change the description in the infobox type 1*/

function cspm_custom_infobox_description($default_description, $post_id){

    $custom_content = '';

    $race_cat = get_post_meta($post_id, 'race_categories', true);

    if (in_array("Full Marathon", $race_cat)) {
        $custom_content .= '<img src="/graphicsdepot/fm.png" alt="Full Marathon" class="legendicon" />'; }

    elseif (in_array("Half Marathon", $race_cat)) {
        $custom_content .= '<img src="/graphicsdepot/hm.png" alt="Half Marathon" class="legendicon" />'; }

    $date = get_post_meta($post_id, 'race_date', true);

    // extract Y,M,D
    $y = substr($date, 0, 4);
    $m = substr($date, 4, 2);
    $d = substr($date, 6, 2);

    // create UNIX
    $time = strtotime("{$d}-{$m}-{$y}");

    $custom_content .= date('M jS', $time);

    return (!empty($custom_content)) ? $custom_content : $default_description;

}
add_filter("cspm_custom_infobox_description", "cspm_custom_infobox_description", 10, 2);

Thank you

Wauw – it is a GREAT plugin. Specially that it’s so easy to customize. But how do I remove the periods – see this screen print: http://awesomescreenshot.com/0144cr8h99 Page can be seen live at: http://fritidspilot.dk/lej-et-fly/

Hi,

To remove the periods, please add the following code in your theme’s “functions.php” file:

<?php // You may not need to copy this line

/**
 * Progress Map: Remove the (...) in the infoboxes */

function cspm_remove_hellip_from_infobox($hellip){

    /**
     * You can type anything you want in return */

    return '';

}
add_filter('cspm_description_more', 'cspm_remove_hellip_from_infobox', 10, 1);

Thanks for your Rating :)

Oh – wrong… sorry

Hi, recently bought this great plugin, but having some problems with it. Infobox seems to have some strange empty gap under text. Also, is it possible to make an image to fit window? I mean can we make so that image would align automatically to it’s window space? (Width 100%) Please see image. How to fix those problems?

Hi,

For the empty space, this could be a CSS conflict with your theme or another plugin. Please send me the Link to your map to check this. I’ll also check why the image doesn’t fit in the infobox.

Thank you

Hi, please see it on my website, if you need any admin details please contact me through email http://easterneugroup.co.uk/

Hi,

For the empty space, it’s actually the title’s space but because of a CSS conflict with your theme, the title was removed. To fix this, please go to Troubleshooting & configs and add the following CSS code in the field Custom CSS:

div.cspm_infobox_content_container.cspm_type1 div.cspm_infobox_content div.title, 
div.cspm_infobox_content_container.cspm_type1 div.cspm_infobox_content div.title a {
    width: auto !important;
    position: relative !important;
    left: 0 !important;
    opacity: 1 !important;
    top: 0 !important;
}

About the images, i’m afraid there’s not to much to do because of the size of your images. You’re using large width images and even after been resized by the plugin, they will not fit to the infobox. The only solution i see it’s to override the plugin’s image size. Please add the following code in your theme’s functions.php file and try if it works by adding a new post with a new featured image. For the old posts, you need to regenerate the featured images using this plugin http://www.viper007bond.com/wordpress-plugins/regenerate-thumbnails/.

function cspm_theme_setup() {
    add_image_size( 'cspacing-infobox1-thumbnail', 100, 80, false);
}
add_action( 'after_setup_theme', 'cspm_theme_setup', 11 );

Thank you

Hi, It seems that the center_at post ID is not working for me… this is what I am trying to do:

<?php $currentpost=get_the_ID(); ?> <?php echo do_shortcode("[codespacing_progress_map center_at=$currentpost zoom='15']"); ?>

I also tried center_at='$currentpost' and

center_at=.$currentpost. but didn’t work.

could you please assist with what I am doing wrong?

If I just echo $currentpost, I get the correct output. Even if I hardcode this number at center_at, it doesn’t really work

Hi,

Sorry about that but i’ve just checked my code and it turns out that there’s a bug with this option. I’ve fixed it and will send the updates ASAP.

Thank you for your patience

hello, any updates on this? thanks

Hi,

Sorry for the delay, i was extremely busy. Yes, please upgrade the plugin to the latest version.

Thank you

Hello,

I’ve recently installed and activated version 2.7.1 and followed the Get Started steps to set up the plugin. I can get the map to display using the basic shortcode. But when I try to add a location in any of the content types, it doesn’t show anything.

For example, when I add the Lat/Long of a post and hit “Get Pinpoint” nothing happens. I can hit “Publish” or “Save Draft” on that same post and it will save the lat/long info, but nothing shows on the map. Help!

Hi,

Please send me the login to your site at plugin.progressmap@gmail.com and i’ll check this closely.

Thank you

Hello, I am trying to display only one category and have tried the following shortcodes with no success. Please advise. Thanks!

[codespacing_progress_map map_id=”tour” post_type=”portfolio_page” tax_query=”category{138|IN}”]

[codespacing_progress_map post_type=”portfolio_page” tax_query_field=”slug” tax_query=”category{attraction|IN}”]

Hi,

There’s nothing wrong with the shortcodes but please double check that you’ve provided the correct “post type name”, “taxonomy slug” and “term slug or ID”. If you think you’ve assured this part and that nothing changes, please send me the Link to your map to check this.

Thank you

Hi, great plugin BTW. How do set a fixed height. The shortcode I am using so far is. [codespacing_progress_map post_type=”listings” tax_query=”businesstype{5.16.17.22.23|IN}” faceted_search_tax_terms=”5,16,17,22,23”]

Many thanks in advance.

Hi,

Sorry for the delay, i was extremely busy. What type of layout (Main Layout) are you using? If it’s “Fit in the box (Map only)” or “Fit in the box with carousel on top”, i think the problem may be due to the container of your map, you’ll need to increase the height of the map’s container from your theme. Other than this, the height can be adjust from Layout settings => Layout height and i haven’t registered any issue with this option.

Thanks for your patience

Hi, I am using Fit in the box (Map only) and Full width & Fixed height. Whatever height size I put in it is always the same.

Hi,

Sorry for the delay. If you’re using the layout “fit in the box”, you should note that the map will take the height of its container. For example, if you print the map inside a having 300px of height, the map will be 300px height even if you change the height in the settings. Please send me link to your map and i’ll show you want to do.

Thank you for your patience. I’m extremely busy this days

Hi,

I am working on a clients website that uses your plugin.

It appears that the latest update is causing the “Add Media” button not to function when creating a post. I have deactivated your plugin and then the “Add Media” button works. Could you please provide a solution? Thanks

Hi,

I’ve tested this in my test site but couldn’t reproduce this error. What version of Wordpress & Progress Map do your client use?

Thank you

Hi,

Thank you for your reply. We are using the following versions:

Wordpress 4.1 Progress Map 2.4.2

Thanks

Hi,

The version 2.4.2 isn’t anymore supported. Please upgrade the plugin to the latest version available (2.7.2) and try again.

Thank you

Hey, Can I view the map in the post? For examples, you can see only the reference to the entry. Thanks

Hi,

Unfortunately no, but you can do this using the main map by setting its center point to that marker’s position.

[codespacing_progress_map center_at="LAT,LNG"]

Thank you

Just that, and so then I have to manually enter the lat and lng … Is there a command to set the default for lat and lng post?

Hi,

Yes you can use the post ID instead of the Lat,Lng coordinates. For example:

[codespacing_progress_map center_at="10"]

You can find more about the shortcode attributes at www.codespacing.com/progress-map-shortcodes

Thank you

Hey codespacing, great plugin, glad I bought it.

Anyhow, I checked the header and there are several scripts loading although I selected “Collecting scripts & styles into one file: Combine files” in Troubleshooting.

The loading size is quite high due to the scripts coming with the plugin. Any suggestions how to improve this?

Thanks, devkiefer

Hi,

Please make sure to add the code you’ll find under the field Troubleshooting & configs => Method of loading scripts & styles in your theme’s “functions.php” file. If you don’t know how to do this, please send me the login to your site at plugin.progressmap@gmail.com and i’ll do this for you (don’t forget to remind me with your request when contacting me by email).

Thank you :)

Hi and thank you for the amazing plugin ^^

I’m trying to add custom actions to the map (for example, redirect to a specific area when clicking on a polygon).

Could you tell me where I should add the code?

Ex: google.maps.event.addListener(polygone, ‘click’, function(event) { infoBullePoly.setContent(message); infoBullePoly.setPosition(event.latLng); infoBullePoly.open(maCarte); });

Thank you in advance :)

Hi,

Sorry for the delay but unfortunately, i don’t see how i can do this.

Thank you

Ok thank you. Im trying also to disable the map centering when clicking on a marker. I just want no behavior.

Thanks for this great plugin

Hi,

Sorry but this option is not available.

Thank you

HI, your project need to add place every time or do map search engine auto ?

Hi,

Yes you need to add at least one post to display your locations on the map.

Thank you

if your project can search location as google map is good, and easy customer search, add location spend more long time .

Hi,

I installed the “Progress Map Wordpress Plugin” but the applications doesn’t really work with the theme from nevia.

http://test2.loxar.de/?page_id=1494

Kind Regards

Hi,

I’ve checked your website and the problem is that your theme uses the same carousel script i used in the plugin. As a result, your theme’s script overrides the plugin’s script. To fix this, you’ll have to remove the theme’s carousel script in all your map pages.

To fix this, please add the following code in your theme’s “functions.php” file:

<?php
function cspm_remove_jcarousel_script(){    

    global $post;

    $IDs = array(1494);

    if(in_array($post->ID, $IDs))
      wp_dequeue_script('JCAROUSEL_FILE_KEY');

}
add_action("wp_print_scripts", "cspm_remove_jcarousel_script", 100);
?>

Note: Before your copy the code, please open the “header.php” file or the “functions.php” file of your theme and look for the following functions:

wp_register_script, wp_enqueue_script

Note: You may find only one of them.

One of those functions will contain the name of the Carousel file. Look for the file jquery.jcarousel.js

Here’s an example of what you may find:

wp_register_script(’jcarousel-js’, ‘PATH/TO/jquery.jcarousel.js);

What you need is the first element between ( ) which is in that example jcarousel-js

In the above code, replace JCAROUSEL_FILE_KEY by (for example) jcarousel-js.

Thank you

Hi there, Is there anyway to add a mouse off delay to the info boxes so they fade away after a certain time? There is a problem when you have two markers very close together if the infobox covers the other marker then the user has no way to get to it because the infobox does not disappear until the map is moved. Would be great to have a mouse on mouse off event so the infoboxes appear and disappear.

Hi,

Please note that you can do that by selecting the option On marker hover at Infobox settings => Display event. With this option, you need to click anywhere on the map to remove the infobox.

Thank you

Thank you. What I meant though is a mouse off event which makes the infobox fade away rather then click on the map to remove the infobox as this is not so obvious to the user. Is it possible?

Hi,

I’ll try to add this in a future update. No ETA, just stay tuned :)

Thank you

Hi,

Hope all is well. I followed the instructions to post the map on a page and created a custom post type that links entries to the map. For some reason the map won’t show; would you be able to help out? Thanks in advance!

http://myelitis.org/news-resources/physician-network-ii

Hi,

Just checked your website & I think you’ve managed to display your map. Is there anything else i can help you with?

Thank you

Hi,

Thank you for your quick reply. I’m still not able to see it (I’m using safari and I’m seeing a big white screen). I also tried viewing it on Google Chrome and there I actually see the map but only a very tiny segment (I think it’s something like 700×100 px) not sure why it does that. If it’s easier I can send you screenshots. My email is rpesce@myelitis.org.

Thanks,

Roberta

Hi Roberta,

I’ve tested your website on Chrome, Mozilla & Safari and the map is visible. In my opinion, the reason that the map has not the correct height is that maybe you printed the shortcode inside an HTML tag. For example:
<p></p>
Please edit your map page, check your TEXT Editor (not the Visual Editor) and make sure that the shortcode is not inside an HTML tag then try again.

Thank you

Hi,

Since version 2.7.2 I get this message on every page of the site:

Warning: implode(): Invalid arguments passed in /usr/home/mysite.com/web/wp-content/plugins/codespacing-progress-map/progress-map.php on line 285

Thanks

Hi,

Soory about this. I’ll fix it ASAP.

Thank you

Great

by
by
by
by
by
by

Tell us what you think!

We'd like to ask you a few questions to help improve CodeCanyon.

Sure, take me to the survey