Forum Replies Created
-
AuthorPosts
-
Long Nguyen
ModeratorHi David,
Please try to use the proxy
mb.to get a field value in the Twig template{% set my_image = mb.rwmb_meta( 'fieldID_single_image', '', post_id ) %} {{ my_image['sizes']['medium']['url'] }}You can print out the array my_image to see all settings
<pre> {{ mb.print_r(my_image) }} </pre>Long Nguyen
ModeratorHi Travis,
I've received the plugin GF User Registration, tested it on my local site, and found a way to solve this issue. After creating a custom field for users (or posts), the meta key (field ID) does not exist in the database while the User Meta in the User Registration plugin looks for an existing meta key in the database.
So, you can go to Admin Dashboard > Users > Edit a user > Update a value for the custom field, then back to User Registration Form > User Meta to select the user meta.
Long Nguyen
ModeratorHi,
Because meta boxes and fields in the form are created by the default functions of WordPress and validated by custom code, not by our filter and validation, so it is tough to check the issue.
Please try to check the debug log and Console tab of the browser and let me know if there is any error message.
October 23, 2020 at 10:10 AM in reply to: ✅Best way to collect user/browser with frontend from #22545Long Nguyen
ModeratorHi Brandon,
We can use the global variable $_SERVER to get the user information: browser info and user IP when accessing the page ...
For more information, please follow these links:
https://www.php.net/manual/en/reserved.variables.server.php
https://www.codexworld.com/how-to/get-user-ip-address-phpLong Nguyen
ModeratorHi David,
We can access other image sizes and settings with the format:
{{ fieldID_single_image.image_size.setting }}The default image sizes of WordPress are
thumbnail,medium,largeand more if your theme/plugin defines it.And find the setting here https://docs.metabox.io/fields/single-image/#template-usage.
ID,url,width,height...Use the image size and settings with the
<img>tag to show the image:<img src="{{ single_image.large.url }}" width="{{ single_image.large.width }}" height="{{ single_image.large.height }}" alt="{{ single_image.large.alt }}">If you use the extension MB Views, it supports to choose the image size very easy, see https://share.getcloudapp.com/E0uryrlB.
Long Nguyen
ModeratorHi,
Please follow this guide to know how to create the staging site https://www.wpbeginner.com/wp-tutorials/how-to-create-staging-environment-for-a-wordpress-site/.
Then share the credentials (Admin site and FTP account) via this form https://metabox.io/contact/. I will take a closer look and give a quick response.
Long Nguyen
ModeratorHi Travis,
It’s a premium addon, so I have not checked the compatibility between MB User Meta and the addon before. Could you please share a copy of it? I will create a feature request for the developer team to cover this case in a future update.
Long Nguyen
ModeratorHi,
The extension MB Admin Columns only supports showing the admin column by default. If you want to set an admin column hidden, please use the filter
default_hidden_columns. I'm going to create a feature request to support a setting to hide the admin column by default.October 22, 2020 at 2:55 PM in reply to: Database Error on Relationships after update to latest MetaBox AIO and WP 5.5.1 #22528Long Nguyen
ModeratorHi,
I've got the site information and log in to the admin dashboard. I will inform you if have any clue.
Long Nguyen
ModeratorHi,
Please confirm that it's the plugin uListing https://wordpress.org/plugins/ulisting/. And it has loaded the Google Map JS in the file
wp-content/plugins/ulisting/includes/admin/enqueue.phpon line 41.wp_enqueue_script('stm-listing-vue-google-maps', ULISTING_URL . '/assets/js/vue/vue-google-maps.js', array('vue'), $v);You might need to choose another Map Type in Listing Types > Settings > Map Settings. See https://share.getcloudapp.com/7Ku8Q0Ex.
To unload the Google Map JS of the uListing plugin completely, please contact the plugin support https://wordpress.org/support/plugin/ulisting/.
Long Nguyen
ModeratorYes, it's a separate plugin (extension) and available for the Lifetime Bundle only.
October 21, 2020 at 9:45 PM in reply to: ✅Error: Deprecated: Unparenthesized `a ? b : c ? d : e` #22521Long Nguyen
ModeratorSolve in the new version of MB Views 1.7.0, require PHP version 7.2.5 or higher.
Long Nguyen
ModeratorHi,
MB User Avatar is a separate plugin, and it is working properly with MB AIO. After activating MB User Avatar, you can see a field Custom Profile Picture below the default Profile Picture. See my screenshot https://share.getcloudapp.com/nOun9YXG.
If you have the Lifetime license, please login here to download it https://metabox.io/my-account/.
Long Nguyen
ModeratorHi,
Yes, it's possible to save the data from Frontend Submission to a custom table in the same database. But please note that the field ID must match with the column key of the custom table.
For more information, please follow the documentation:
https://docs.metabox.io/extensions/mb-custom-table/#notes
https://docs.metabox.io/extensions/mb-custom-table/#using-existing-tablesLong Nguyen
ModeratorHi,
Please clear the browser cache and recheck it.
-
AuthorPosts