100plugins
Forum Replies Created
-
Hi @juanmaromaris,
Can you please share the “Link to the page you need help with”? So that I can have a look at the map.
Basically you should know I also have another plugin. It’s called Open User Map and is based on “Locations & Areas” but has much more features. Maybe you wanna give this a try?
Best Regards,
DanielForum: Plugins
In reply to: [Open User Map] Bullet list on custom field optionsHi @marko2002,
No, maybe I explained it wrong.
Just replace this line:
$YOUR_CUSTOM_FIELD_LABEL = 'Multiple Choice';with
$YOUR_CUSTOM_FIELD_LABEL = 'Issues';That’s all.
Best Regards,
DanielOh… I forgot to mention that this is available now (since version 1.3.1).
Best regards,
DanielForum: Plugins
In reply to: [Open User Map] Bullet list on custom field optionsHi @marko2002,
Just wanted to let you know that version 1.3.2 is out. This makes WordPress Hooks available. You will find details on how to use them under Settings > Open User Map > Help & Getting Started > Hooks.
Here is a code example for your use case:
add_filter('oum_location_bubble_content', function ( $content, $location ) { $YOUR_CUSTOM_FIELD_LABEL = 'Multiple Choice'; // REPLACE // output completely custom content $content = '<div class="oum_location_text">'; foreach ($location['custom_fields'] as $key => $custom_field) { if($custom_field['label'] == $YOUR_CUSTOM_FIELD_LABEL) { // render multiple choice values as list $content .= '<ul>'; foreach ($custom_field['val'] as $value) { $content .= '<li>' . $value . '</li>'; } $content .= '</ul>'; } } $content .= '</div>'; return $content; }, 10, 2);You can put this into the functions.php of your theme. Don’t forget to replace $YOUR_CUSTOM_FIELD_LABEL with your own.
The code will completely replace the location bubble content with a list. So you’d probably want to adapt this to you needs. But it should be a good starting point.
Best Regards,
DanielForum: Plugins
In reply to: [Open User Map] Is it possible to give the marker a label?I’ve answered you in your other post (duplicate content).
Forum: Plugins
In reply to: [Open User Map] Is it possible to give the marker a label?Hi @samuelmapingure,
Basically yes. There is a WordPress Hook available wich lets you completely modify the output of the location bubble. It is called oum_location_bubble_content and you can find details on how to use it (with example code) in the plugin settings (Settings > Open User Map > Help & Getting Started > Hooks).
Best Regards,
DanielForum: Plugins
In reply to: [Open User Map] how to change text in add location form?Hi @eco4drive,
This needs to be done with translation. Search for the ID “notify me on publish” in your translation plugin. Then set the german translation as you like.
Best regards,
DanielOkay, I’ll do that.
Forum: Plugins
In reply to: [Open User Map] Bullet list on custom field optionsHi @marko2002,
Thanks for reaching out. Glad you like the trial!
One of the next features I will release is to implement a couple of WordPress Hooks. Basically hooks are a way to manipulate the output of a WordPress plugin or theme. They can be used programmatically with PHP.
Don’t worry if this sounds too complicated. It’s just a single line of code and I will make sure to publish code examples on how to use them. Turning the comma separated list into bullet points will be one example.
However, this will take a bit of time as I’m currently working on other features before. But I will keep you updated!
Best Regards,
DanielForum: Plugins
In reply to: [Open User Map] Show mapHi @jippiejoo,
I’ve released the new version last night (Free & PRO). So you can give it a try.In any case you need to activate the “Keep map focus in fixed position” feature to avoid panning away endlessly.
Best Regards,
DanielForum: Plugins
In reply to: [Open User Map] News featuresHi @storm6969,
Thanks a lot for your input! Just some quick feedback on this:
- The import feature is still in an early stage. Some of your suggestions are very good and I will dive deeper into this to improve this feature further.
- Comments, Likes and Ratings for locations will be possible. To be precise: I will implement hooks so that other plugins or developers can easily attach such functionality.
- Admins should manage locations inside the WordPress Admin area (as they are used to with other content). So I’ll probably will not change that.
- A “Flag” option for locations is already planned to.
Best Regards,
DanielForum: Plugins
In reply to: [Open User Map] Show mapHi @jippiejoo,
Thanks for reaching out. With the very next update contains some tweaks to tackle this behaviour. The next version of OUM is almost ready and will be available very soon. Basically I would suggest to adjust the map focus to an area that includes all continents. And the activate “Keep map focus in fixed position”.
Best Regards,
DanielForum: Plugins
In reply to: [Open User Map] Shortcode for location descriptionHi @s2klesch,
Yes absolutely. Please have a look at Settings > Open User Map > Help & Getting Started. You will find infos on the shortcodes you can use to display the description text or other parameters.
Basically, just place
[open-user-map-location value="text"]on your detail page. This feature is available in the PRO version.Best Regards,
Daniel- This reply was modified 3 years, 5 months ago by 100plugins.
Forum: Plugins
In reply to: [Open User Map] Search by VenueHi @maggiedzie,
Thanks! This is already possible but works best in urban areas. Currently the plugin uses OpenStreetMap as geosearch provider. It’s free and needs no API Keys. On the downside it lacks in quality in rural areas.
I’m already planing to extend the functionality, so that alternative geosearch providers will be possible (eg. Google).
Best Regards,
DanielForum: Plugins
In reply to: [Open User Map] Map not finding rural addressesHi @keonalearnbase,
Thanks for reaching out. My plugin uses OpenStreetMap as geosearch provider. It is free (no API key) and therefor works quiet well. I know it has some shortfalls in some rural areas though. In urban areas it works great and even businesses can be found.
However I’m planing to extend the functionality so that you can select other geosearch providers (eg. Google). Can you provide me an example of a search term for a rural area? I will then try to find a provider that works and release this feature with a upcoming update.
Best Regards,
Daniel