Forum Replies Created
-
AuthorPosts
-
Long Nguyen
ModeratorHi Roman Vader,
Thank you for reaching out.
You can use the form filters to validate any user field before creating a new user. For example, the user name
abc123will not be created/updated.add_filter( 'rwmb_profile_validate', function( $is_valid, $config ) { if( $_POST['user_login'] == 'abc123' ) { $is_valid = false; } return $is_valid; }, 99, 2 );Get more details on this documentation https://docs.metabox.io/extensions/mb-user-profile/#form-fitlers.
Long Nguyen
ModeratorHi,
Please share your site credentials via this contact form https://metabox.io/contact/. I will help you to check the issue.
Long Nguyen
ModeratorHi,
Thank you for reaching out.
Yes, it is possible with Meta Box and few lines of code. Here are the guidelines to do that.
- Create a settings page
- Create some fields for displaying on a specific post type (image, text ...)
- On the front end, check the post type before outputting the field value.
Get more details on the documentation
https://docs.metabox.io/extensions/mb-settings-page/
https://developer.wordpress.org/reference/functions/get_post_type/April 7, 2021 at 10:29 AM in reply to: ✅How can I show a custom field as a column in a taxonomy? #27018Long Nguyen
ModeratorHi,
Within the Builder, you can check the option "Show as an admin column" > choose the column position > type the name (ID) of a prebuilt column, to show a field in the admin column.
For example, I show a text field My Info column in the post tag. See my screenshots
https://share.getcloudapp.com/bLuAmZAy
https://share.getcloudapp.com/nOuoNL5mLong Nguyen
ModeratorHi,
I've received your site information and was able to reproduce the issue on my end. I will escalate this case to the development team to fix it.
Thanks for your patience.
Long Nguyen
ModeratorHi,
Thank you for your feedback.
I've informed the development team to add it to the to-do list for the future development of the plugin.
Long Nguyen
ModeratorHi,
Data type
TEXTis a good fit for most cases. But if you want to optimize the database or for specific cases (field value), you should use other data types and it can be done by using the code.
https://docs.metabox.io/extensions/mb-custom-table/Get more information about data types here
https://www.w3schools.com/sql/sql_datatypes.asp
https://www.tutorialspoint.com/mysql/mysql-data-types.htmLong Nguyen
ModeratorHi,
Did you deactivate all plugins except Meta Box, MB extensions and switch to the default theme of WordPress (Twenty TwentyOne)?
Long Nguyen
ModeratorHi,
Please use the helper function rwmb_get_field_settings() to get the field’s settings: field’s name, field’s options (value, label) …
Here is the sample code
{% set my_text = mb.rwmb_get_field_settings( 'notes_admin' ) %} {{ my_text['name'] }}Refer to this topic https://support.metabox.io/topic/show-label-of-select-chekbox-list/
Long Nguyen
ModeratorHi,
I'm really sorry about your situation.
Can you please re-send your site credentials via the contact form https://metabox.io/contact/ or my email [email protected]. I will inform the development team to re-check it.
Long Nguyen
ModeratorHi Henri,
Thank you for getting in touch.
Yes, you need to install/activate the plugin MB Custom Table or MB AIO to use this feature. After creating the custom table by coding, you can add the table name to the Builder to save the field value to the custom table.
Get more details on this documentation https://docs.metabox.io/extensions/mb-custom-table/.
Long Nguyen
ModeratorHi,
I've tried to import the JSON file to my local site but not see any issue, the field groups work as well. Screen record https://share.getcloudapp.com/5zuBJ4LE.
Please follow the step Debugging Information here https://support.metabox.io/topic/how-to-create-a-new-topic/, and let me know how it goes.
April 6, 2021 at 8:52 PM in reply to: ✅Settings Page Image Output Stuck in 150x150 Configuration #26999Long Nguyen
ModeratorHi Jack,
Thank you for reaching out.
By default, the size of the image is
thumbnail, you can see the list WordPress thumbnail sizes here https://developer.wordpress.org/reference/functions/the_post_thumbnail/#user-contributed-notes.You can change the image URL by using another size
$logo = rwmb_meta( 'company_logo', ['object_type' => 'setting', 'size' => 'medium'], 'company_options' );Or use the key
full_urlto get the full size of the image.return $logo ? $logo['full_url'] : 'http://placehold.it/1600x900';Get more details on this documentation https://docs.metabox.io/fields/single-image/#template-usage.
Long Nguyen
ModeratorHi Sarah,
If the menu Meta Box still does not show on the dashboard menus after activating https://docs.metabox.io/installation/.
Please share your site credentials via this contact form https://metabox.io/contact/, I will help you to check it.April 6, 2021 at 10:48 AM in reply to: ✅Can I create a cloneable group in the UI (without code) #26985Long Nguyen
ModeratorHi Oli,
Thank you for reaching out.
Within the Builder, you can click the option Cloneable to make a field cloneable. Screenshot https://prnt.sc/115d2xn.
Get more details here https://docs.metabox.io/extensions/meta-box-builder/.
-
AuthorPosts