• Resolved mictorhugo

    (@mictorhugo)


    • Ability for user to “favourite” locations, which then show with a different icon/colour in map. Favourited locations also show up on a “My Favourites” page
    • Similarly, Ability for user to mark locations as “Visited”- which then show up with a different icon/colour and are listed in a seperate page “My Visited Locations”
    • Ability for user to “Flag” or report locations- which then sends admin an email to say the location has been flagged
    • Ability for user to add “Private locations”- locations only visible to them
Viewing 7 replies - 1 through 7 (of 7 total)
  • Like these suggestions

    Plugin Support Daniel

    (@danielschoenherr)

    Hi @mictorhugo and @earl_d,

    Please respect that this forum is for support requests. You can submit feature requests on the website and even request a custom development over there.

    1. Favouriting locations – That’s a great idea, but it’s quite specific and likely beyond the core scope of the plugin for most users. This might be a good fit for a custom development service if you need it tailored to your site.
    2. Marking locations as “Visited” – Similar to the favouriting feature, this would be quite a niche addition. If you’re interested, custom development could be an option.
    3. Flagging or reporting locations – This is already possible! You can find details on how to enable this feature here.
    4. Private locations – This feature has been available since version 1.4.3. You can use the new "user" shortcode attribute to restrict locations to specific users. Let me know if you need guidance on setting it up!

    Best regards,
    Daniel

    I have made little bit more complex solution with this snippet and Ninja Forms, user can send new details and also pictures to location. Seems to work also free version.

    add_filter(‘oum_location_bubble_content’, function ( $content, $location ) {

    // extend or change content    $subjec$subject = 'Ilmoita muutos kohteessa ID:' . $location['post_id'];t = . $location['post_id'].;
    $subject = $location['name'] ;
    $nav1 = $location['lat'] ;
    $nav2 = $location['lng'] ;
    $puskaid = $location['post_id'] ;
    
    $content .= '<div class="oum_location_text"><a target="_blank" href="https://puskaparkit.com/paikan-paivitys/?title=' . urlencode($subject) . '&postid=' . urlencode($puskaid) . '"><img src="/wp-content/uploads/ikonit/virhe.svg"></a></div>';
    return $content;

    }, 10, 2);

    Plugin Support Daniel

    (@danielschoenherr)

    Hey @hulivili,

    Can you please properly embed and explain the code snippet? Currently it doesn’t work.

    Thanks,
    Daniel

    First and last line is outside of code box. ww.wp.xz.cn site is not accept to hole code inside the box. I dont know why.

    add_filter('oum_location_bubble_content', function ( $content, $location ) {

    // extend or change content $subjec$subject = 'Ilmoita muutos kohteessa ID:' . $location['post_id'];t = . $location['post_id'].;
    $subject = $location['name'] ;
    $nav1 = $location['lat'] ;
    $nav2 = $location['lng'] ;
    $puskaid = $location['post_id'] ;

    $content .= '<div class="oum_location_text"><a target="_blank" href="https://domain.com/to-your-ninja-form-page/?title=' . urlencode($subject) . '&postid=' . urlencode($puskaid) . '">Link text...</a></div>';
    return $content;
    }, 10, 2);
    Plugin Support Daniel

    (@danielschoenherr)

    Thanks @hulivili, but this line still looks wrong:

    // extend or change content $subjec$subject = 'Ilmoita muutos kohteessa ID:' . $location['post_id'];t = . $location['post_id'].;

    Sorry to bother you, but I think it is important to provide working code snippets here in the public forum.

    Thanks an best regards,
    Daniel

    Once again!

    add_filter('oum_location_bubble_content', function ( $content, $location ) {

    $subject = $location['name'] ;
    $nav1 = $location['lat'] ;
    $nav2 = $location['lng'] ;
    $puskaid = $location['post_id'] ;

    $content .= '<div class="oum_location_text"><a target="_blank" href="https://domain.com/to-your-ninja-form-page/?title=' . urlencode($subject) . '&postid=' . urlencode($puskaid) . '">Link text...</a></div>';
    return $content;
    }, 10, 2);
Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Feature Requests’ is closed to new replies.