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.
- 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.
- 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.
- Flagging or reporting locations – This is already possible! You can find details on how to enable this feature here.
- 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);