Forum Replies Created
-
AuthorPosts
-
Anh Tran
KeymasterHi,
In the latest version, we decided to removed the
user_idattribute from the shortcode, to fix a security bug. With that, only the current user can edit his or her profile. Are you trying to let admins edit user profile?Anh Tran
KeymasterHi katev,
From the screenshot, I guess you haven't activated the MB Group extension, have you? This is what I have on my localhost with your code:
Anh Tran
KeymasterHi,
If you use the MB Custom Post Type extension, make sure you select the "Featured Image" from the "Support" meta box on the right.
If you don't use the extension, you need to use the add_post_type_support to add "thumbnail" support to the post type.
Anh Tran
KeymasterHi, you can remove the title field and other default fields with the remove_post_type_support function.
Anh Tran
KeymasterHi Reinhard,
The top tabs are supported in the MB Settings Page extension. However, the sub-navigation is not.
Anh Tran
KeymasterHi,
Yes, you can do that with MB Settings Page. There's a settings
help_tabsfor settings pages. See this documentation for details.Anh Tran
KeymasterHello,
At the moment, once you take the PHP code and remove the settings from the MB Builder, there's no way to edit the field group.
In order to do so, I suggest after taking the PHP code, export the field group settings from MB Builder. Then whenever you want to edit the field group, just import it back and edit.
Anh Tran
KeymasterHi Clayton,
Thanks a lot for your valuable feedback! I didn't think about the 2 identical meta boxes appear on both sides (since it still works).
I like the idea of adding
reciprocal => trueto the relationship. It's simple and easy to understand. My additional thought might be we should let users define only one meta box instead of 2. Would you mind helping me on Github?May 4, 2019 at 9:43 AM in reply to: ✅Combine Group Title using a FIELD => ID + numeric indicator {#} #14415Anh Tran
KeymasterHi G.,
In the latest version of Group, we have improved the settings for group title, so you can simply enter something like this:
'group_title' => '{#} {field_1} {field_2} Something else'I have just updated the docs for that.
Anh Tran
KeymasterHi Reinhard,
Unfortunately, the plugins don't support creating dashboard widgets. Please follow this docs to do so:
https://codex.wordpress.org/Dashboard_Widgets_API
https://www.cssigniter.com/make-wordpress-dashboard-widget/
https://premium.wpmudev.org/blog/adding-custom-widgets-to-the-wordpress-admin-dashboard/If you're using Elementor, here is a good tutorial on doing that:
https://powerpackelements.com/custom-wordpress-dashboard-elementor/
May 3, 2019 at 1:48 PM in reply to: ✅Problem with autocomplete field in OSM when I use with googlemap in the sameform #14407Anh Tran
KeymasterHi Sergio,
Please use either of them. The address field, which is used for autocompletion works only with one map. Putting 2 maps will break the code.
Anh Tran
KeymasterHi Neil,
But I was having issues when testing the form… the screen goes blank and eventually times out. Once I remove the map module, the problem goes away immediately.
Can you give more details about this? Are you testing the form in the back end or front end? Do you see any error in the console? Is the Google Maps API key correct?
Anh Tran
KeymasterHi Milen,
That can be done with the Custom HTML field type. I used it a lot in the Demo site. Please take a look.
May 2, 2019 at 11:24 AM in reply to: ✅Filterin select advanced with custom field in custom table #14380Anh Tran
KeymasterHi Sergio,
I think that can be done with an extra query to the data base:
- Make a custom query to the custom table to get the ID of the users you want to select:
global $wpdb; $user_ids = $wpdb->get_col( "SELECT ID FROM yourtable WHERE field_1 = 'value_1'" );- Then in your options of the
userfield, set theincludeparam:
[ 'type' => 'user', 'query_args' => [ 'include' => $user_ids, // get from above ], ]Anh Tran
KeymasterHi Sergio,
At the moment, we haven't supported OSM for Geolocation extension yet. It was on our plan but we haven't finished it yet. We'll try to do it as soon as we can.
-
AuthorPosts