BuddyDev

Search

[Resolved] Buddy Blog and Google Maps

  • Participant
    Level: Enlightened
    Posts: 40
    Rudder on #7638

    Hi Brajesh,

    I don’t know if I asked but is it possible to add your Google maps plugin in to your buddy blog/BP Simple Front End Post plugins?,
    Basically just to give the post creator to add a map with some info on it in a post/page.
    Thanks
    Ben

  • Keymaster
    (BuddyDev Team)
    Posts: 24623
    Brajesh Singh on #7651

    Hi Ben,
    It is doable but it will need a lot change.

    1. We need a way to store the google map API key as the key is required now.
    2. We have been exploring going with custom form element type vs using ACF support. We haven’t been able to spend on this much.

    If you want to do it for a site of yours, I can show it with some code. It is not difficult.
    Providing a solution for everyone is going to take time though.

    Thank you
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 40
    Rudder on #7654

    Hi Brajesh,

    That would be great thank you.

    Ben

  • Keymaster
    (BuddyDev Team)
    Posts: 24623
    Brajesh Singh on #7664

    Hi Ben,
    please upgrade to Bp Simple Front End Post plugin version 1.3.1

    After that, Please install this plugin

    https://buddydev.com/plugins/bp-simple-front-end-post/

    Please make sure to chage the Google API Key
    https://github.com/buddydev/buddyblog-google-map-field/blob/master/bblog-google-map-field.php#L98

    It will allow searching for location and adding single location to the post. We store the location name as well as the longitude, latitude.

    Hope that helps.

    Regards
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 40
    Rudder on #7671

    Thank you Brajesh that is awesome,
    Just what I was looking for, Is there anyway I can pay you back for that?
    Let me know if there is anything I can do for you. 🙂
    Thank you again
    Ben

  • Keymaster
    (BuddyDev Team)
    Posts: 24623
    Brajesh Singh on #7722

    Hi Ben,
    You are welcome.

    I am glad I could help. There is no need to pay anything . i appreciate you being a friend and a valuable member here.

    Have a great day!

    Regards
    Brajesh

  • Participant
    Level: Master
    Posts: 497
    Daniel on #14173

    Hi Brajesh,

    I would like to implement the map function as well to the single frontend post plugin.

    Do I just need to create a bblog-google-map-field.php and add the code from the Github link you have provided and save the .php file under wp-content/plugins/simple-front-end-post/ in order to make it work?

    Thanks for your info.

    Kind regards,
    Daniel

  • Keymaster
    (BuddyDev Team)
    Posts: 24623
    Brajesh Singh on #14175

    Hi Daniel,
    Please download the plugin from here.
    https://github.com/buddydev/buddyblog-google-map-field

    and change the api Key as mentioned earlier. After that, you just need to activate this plugin and It will add the map field.

    Regards
    Brajesh

You must be logged in to reply to this topic.

This topic is: resolved