Support Forum ยป User Profile

Forum Replies Created

Viewing 15 posts - 1,606 through 1,620 (of 3,839 total)
  • Author
    Posts
  • PeterPeter
    Moderator

    Thank you for your feedback.

    Currently, there isn't a plan to implement it. I will inform the development team to consider supporting downloading specific versions from Composer.

    PeterPeter
    Moderator

    Hello,

    I re-check those fields with the Required option enabled and the validation still works properly, screenshot https://imgur.com/NRWQf2Z

    Please export your field group to a JSON file and share it here. I will import the field group to my demo site and check the issue.

    PeterPeter
    Moderator

    Hello Juan,

    If you use Composer to get the premium version, there isn't a way to use a specific version, you always use the latest version. It is noted in the documentation https://docs.metabox.io/integration/#using-composer
    The version of premium extensions specified in composer.json must be dev-master. We don't support version constraints for premium extensions yet. You always use the latest version.

    PeterPeter
    Moderator

    Hello,

    In the case of using Bricks Builder, please reach out to them if you have any issues with installation, configuration, compatibility, or usage.
    Refer to our support policy https://metabox.io/support/topic/support-policy/

    Thank you.

    in reply to: Update to latest version broke many data connections #45416
    PeterPeter
    Moderator

    Hello,

    The extension plugin MB Settings Page and MB AIO on your site are very old versions, around 3 years ago. There are many changes in 3 years so you might experience some issues after updating to the new version.

    If you want to investigate the issue further, please share your site admin account by submitting this contact form https://metabox.io/contact/
    I will take a look.

    in reply to: Bug Report - JSON export - missing closing } #45415
    PeterPeter
    Moderator

    Hello,

    I import the JSON file to my demo site and export the field group, the JSON file is valid. You can check the export file here https://pastebin.com/f25FtgqE

    Please try to export other field groups and check if the issue persists.

    PeterPeter
    Moderator

    Hello Juan,

    I believe many plugins and themes are not compatible with every new PHP version. It will take time to update the functions in the source code to be adapted with PHP 8.2.18. For now, I suggest using the lower PHP version (8.2.17 as you said or 8.2.0) to solve the issue.

    in reply to: View Archive not showing up #45409
    PeterPeter
    Moderator

    Hello Ryan,

    I see the view template works if you select a specific term for the category, tag archive. Let me escalate the issue to the development team to check this and I will get back to you later.

    in reply to: Block editor on side when set to in content #45408
    PeterPeter
    Moderator

    Hello Mark,

    There is an issue with the context of the custom block in the new version, the custom fields are displayed in the sidebar only. I've escalated this issue to the development team to fix it in the next update.

    Thank you.

    PeterPeter
    Moderator

    Hello,

    - If you use the custom table without using the model: true setting when creating the table

    // Step 2: Create a custom table for the model.
    add_action( 'init', function() {
        MetaBox\CustomTable\API::create(
            'transactions',                    // Table name.
            [                                  // Table columns (without ID).
                'created_at' => 'DATETIME',
                'amount'     => 'BIGINT',
                'email'      => 'VARCHAR(99)',
                'gateway'    => 'TEXT',
                'status'     => 'VARCHAR(20)',
                'screenshot' => 'TEXT',
            ],
            ['email', 'status'],               // List of index keys.
            true                               // Must be true for models.
        );
    } );

    that means you are using the custom table to store the field value of a post type. The ID column of the table is the post ID of the post so it cannot be null when using the add() function.

    This is controlled via metabox so i assume there is no pragmatic way to alter this?
    There isn't a way to alter this. Can you let me know the benefit of altering this or your specific case?

    in reply to: Add user meta to users on registration #45406
    PeterPeter
    Moderator

    Hello,

    You can follow the sample code to use the config, same as user_id:

    add_action( 'rwmb_profile_after_save_user', function( $user ) {
    	$config = $user->config;
    	if ( 'my-meta-box' === $config['id'] ) {
                ...
            }
    } );

    If you want to use the filter hook, you need to have a basic knowledge of coding. If you are not familiar with coding, we offer a customization code for an extra fee. Please contact us here for more details https://metabox.io/contact/.

    PeterPeter
    Moderator

    Hello,

    1. No, it won't work. As I mentioned above, you have to create the column for the group field, not the subfields in the group.
    https://docs.metabox.io/extensions/mb-custom-table/#group-fields

    2. Yes, you can try to use a loop to register the model for each value in the loop, I've not tested it before. Also note that, the custom table (step 2) can be run at once. That means after the table is created in the database, you don't need to run the code.

    in reply to: Add user meta to users on registration #45395
    PeterPeter
    Moderator

    Hello,

    There are some ways to add a custom field to a user (user meta), here is an example of using the action hook rwmb_profile_after_save_user:

    add_action( 'rwmb_profile_after_save_user', function( $user ) {
    	$user_id = $user->user_id;
    	update_user_meta( $user_id, 'custom_field_ID', 'custom_field_value' );
    } );

    Please follow the documentation https://developer.wordpress.org/reference/functions/update_user_meta/
    https://docs.metabox.io/extensions/mb-user-profile/#rwmb_profile_after_save_user

    in reply to: InnerBlocks doesn't work anymore on 1.26 on Rest API #45394
    PeterPeter
    Moderator

    Hello Julien,

    Thank you for your feedback.

    I've shared your idea with the development team to support other JS libraries to get the rendered HTML via Rest API. I will let you know when I have a response from the dev team.

    PeterPeter
    Moderator

    Hello,

    When a map is rendered, Meta Box loads some script files (CSS, JS) to display the map. The issue is when you call the template via Ajax, the script files aren't loaded and you won't see the map.

    Refer to this topic https://wordpress.stackexchange.com/questions/298969/enqueue-script-dinamically

    You can try to add some HTML tags like <script> <link rel="stylesheet" in the template and see if it helps. You can find the script files in the file wp-content/plugins/meta-box/inc/fields/osm.php.

    If you cannot complete the task, we offer a customization service with an extra fee. Please contact us here for more details.

Viewing 15 posts - 1,606 through 1,620 (of 3,839 total)