Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Imran – WPMU DEV Support

    (@wpmudev-support9)

    Hello @bergblume

    Hope all is well!

    Please clarify, is the shortcode is added directly into the BuddyPress activity feed? From my end, when only the BuddyPress along with the Leaflet maps plugin activated, added plain shortcode is not loading a map. Are you using any other extension that makes the BuddyPress work with the Leaflet maps plugin?

    If the BuddyPress Activity Plus is deactivated, does the BuddyPress shown the map along with added image?

    Please advise,

    Cheers,
    Nastia

    Thread Starter bergblume

    (@bergblume)

    Hi Nastia,
    yes I put the shortcode

    [leaflet-map lat=50.10997629497765 lng=9.726542830467226 zoom=17]
    [leaflet-marker]

    directly into the buddypress activity post.
    To make this work I used this snippet https://buddypress.org/support/topic/enable-shortcodes-in-activity-screen-of-buddypress/

    And yes – if buddypress Activity plus is deactivted the leaflet map will be shown but – without showing up the image but only the code

    [bpfb_images]
    3_0-92274400-1538069107_dsc05532-medium.jpg
    [/bpfb_images]

    (instead of the image)

    I compared the codes of both activity posts. in the “not working” version I see that in Javascript code of leaflet ist used && ( & # 038 ; & ) instead of “&&”
    I suppose that activity plus plugin is responsible for this “change” – what do you think?

    thank you very much for your support

    • This reply was modified 6 years, 5 months ago by bergblume.
    • This reply was modified 6 years, 5 months ago by bergblume.
    • This reply was modified 6 years, 5 months ago by bergblume.
    • This reply was modified 6 years, 5 months ago by bergblume.
    • This reply was modified 6 years, 5 months ago by bergblume.
    • This reply was modified 6 years, 5 months ago by bergblume.
    Plugin Support Imran – WPMU DEV Support

    (@wpmudev-support9)

    Hello @bergblume

    I apologize for a late reply! Hope you’re doing well!

    I’ve tested the snippet on my end and it didn’t work with the BuddyPress and Leaflet maps plugin activated. By default, the BuddyPress plugin is not showing embed map with a shortcode. And I am afraid the BuddyPress Activity Plus requires special integration with the Leaflet Maps plugin to show the shortcode. Looks like you’ve done some custom work to make these plugins work together so far.

    Because this requires a lot of custom coding, unfortunately, it is out of scope support that we can provide in here. Please check WP Jobs section for additional help from developers:
    https://jobs.wordpress.net/

    I wish you a great day!

    Kind regards,
    Nastia

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Conflict with leaflet map’ is closed to new replies.