Support Forum » User Profile

Forum Replies Created

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • jofori_anum@yahoo.com[email protected]
    Participant

    Hi,

    I don't understand how you came to that conclusion...
    As I mentioned before, the tables are created...So no need to contact my Host at this point.

    Here is your table in PHPMyAdmin (aa_my_custom_table123) and another I created today (aa_my_custom_table888)
    https://imgur.com/a/n67HGTZ

    So can you please check again?

    Kind regards
    Jay

    in reply to: Metabox Builder Not saving anything Custom table #37166
    jofori_anum@yahoo.com[email protected]
    Participant
    <?php
    add_filter( 'rwmb_meta_boxes', 'your_prefix_function_name' );
    
    function your_prefix_function_name( $meta_boxes ) {
        $prefix = '';
    
        $meta_boxes[] = [
            'title'        => __( 'Extended', 'your-text-domain' ),
            'id'           => 'user-settings-meta-mb',
            'tab_style'    => 'box',
            'type'         => 'user',
            'storage_type' => 'custom_table',
            'table'        => 'aa_user_settings_meta_mb',
            'tabs'         => [
                'tab_additional_user_fields' => [
                    'label' => 'Additional Information',
                    'icon'  => 'dashicons-universal-access-alt',
                ],
            ],
            'fields'       => [
                [
                    'name'          => __( 'Profile Picture MB', 'your-text-domain' ),
                    'id'            => $prefix . 'profile_picture_mb',
                    'type'          => 'single_image',
                    'force_delete'  => true,
                    'admin_columns' => [
                        'position' => 'after title',
                        'title'    => 'Avatar',
                        'before'   => '<strong>',
                        'after'    => '</strong>',
                    ],
                    'columns'       => 6,
                    'tab'           => 'tab_additional_user_fields',
                ],
                [
                    'name'        => __( 'About Me MB', 'your-text-domain' ),
                    'id'          => $prefix . 'about_me_mb',
                    'type'        => 'textarea',
                    'placeholder' => __( 'Enter MB Description', 'your-text-domain' ),
                    'columns'     => 6,
                    'tab'         => 'tab_additional_user_fields',
                ],
                [
                    'name'        => __( 'House Number MB', 'your-text-domain' ),
                    'id'          => $prefix . 'house_number_mb',
                    'type'        => 'text',
                    'placeholder' => __( 'member house number', 'your-text-domain' ),
                    'columns'     => 6,
                    'tab'         => 'tab_additional_user_fields',
                ],
                [
                    'name'    => __( 'Street MB', 'your-text-domain' ),
                    'id'      => $prefix . 'street_mb',
                    'type'    => 'text',
                    'columns' => 6,
                    'tab'     => 'tab_additional_user_fields',
                ],
                [
                    'name'    => __( 'Town MB', 'your-text-domain' ),
                    'id'      => $prefix . 'town_mb',
                    'type'    => 'text',
                    'columns' => 6,
                    'tab'     => 'tab_additional_user_fields',
                ],
                [
                    'name'    => __( 'City MB', 'your-text-domain' ),
                    'id'      => $prefix . 'city_mb',
                    'type'    => 'text',
                    'columns' => 6,
                    'tab'     => 'tab_additional_user_fields',
                ],
                [
                    'name'    => __( 'Post Code MB', 'your-text-domain' ),
                    'id'      => $prefix . 'post_code_mb',
                    'type'    => 'text',
                    'columns' => 6,
                    'tab'     => 'tab_additional_user_fields',
                ],
                [
                    'name'    => __( 'Country MB', 'your-text-domain' ),
                    'id'      => $prefix . 'country_mb',
                    'type'    => 'select',
                    'options' => [
                        'england'          => __( 'England', 'your-text-domain' ),
                        'scotland'         => __( 'Scotland', 'your-text-domain' ),
                        'wales'            => __( 'Wales', 'your-text-domain' ),
                        'northern_ireland' => __( 'Northern Ireland', 'your-text-domain' ),
                    ],
                    'columns' => 6,
                    'tab'     => 'tab_additional_user_fields',
                ],
                [
                    'name'              => __( 'Phone MB', 'your-text-domain' ),
                    'id'                => $prefix . 'phone_mb',
                    'type'              => 'group',
                    'desc'              => __( 'Group Cloned - Repeater Multiple Phone Numbers', 'your-text-domain' ),
                    'clone'             => true,
                    'sort_clone'        => true,
                    'clone_as_multiple' => true,
                    'fields'            => [
                        [
                            'name'    => __( 'Phone Type MB', 'your-text-domain' ),
                            'id'      => $prefix . 'phone_type_mb',
                            'type'    => 'select',
                            'options' => [
                                'mobile'   => __( 'Mobile', 'your-text-domain' ),
                                'landline' => __( 'Landline', 'your-text-domain' ),
                            ],
                            'columns' => 6,
                        ],
                        [
                            'name'    => __( 'Phone Number MB', 'your-text-domain' ),
                            'id'      => $prefix . 'phone_number_mb',
                            'type'    => 'text',
                            'columns' => 6,
                        ],
                    ],
                    'tab'               => 'tab_additional_user_fields',
                ],
                [
                    'name'    => __( 'Payroll Code MB', 'your-text-domain' ),
                    'id'      => $prefix . 'payroll_code_mb',
                    'type'    => 'number',
                    'desc'    => __( 'Payroll Code ID or use current date and time 210720221200', 'your-text-domain' ),
                    'columns' => 6,
                    'tab'     => 'tab_additional_user_fields',
                ],
                [
                    'name'    => __( 'Department MB', 'your-text-domain' ),
                    'id'      => $prefix . 'department_mb',
                    'type'    => 'select',
                    'desc'    => __( 'Department Office Backend Organisation', 'your-text-domain' ),
                    'options' => [
                        'cleaner_ops'     => __( 'Cleaner Operations', 'your-text-domain' ),
                        'backoffice'      => __( 'Backoffice (general)', 'your-text-domain' ),
                        'finance'         => __( 'Finance (accounts)', 'your-text-domain' ),
                        'hr'              => __( 'Human Resources', 'your-text-domain' ),
                        'it'              => __( 'Information Technology', 'your-text-domain' ),
                        'client_services' => __( 'Client Services', 'your-text-domain' ),
                        'facilities'      => __( 'Facilities Management', 'your-text-domain' ),
                        'legal'           => __( 'Legal', 'your-text-domain' ),
                        'construction'    => __( 'Construction', 'your-text-domain' ),
                        'procurement'     => __( 'Procurement', 'your-text-domain' ),
                        'environmental'   => __( 'Environmental Control', 'your-text-domain' ),
                    ],
                    'columns' => 6,
                    'tab'     => 'tab_additional_user_fields',
                ],
                [
                    'name'    => __( 'Team MB', 'your-text-domain' ),
                    'id'      => $prefix . 'team_mb',
                    'type'    => 'select',
                    'options' => [
                        'alpha'   => __( 'Alpha (cleaners)', 'your-text-domain' ),
                        'bravo'   => __( 'Bravo (cleaners)', 'your-text-domain' ),
                        'charlie' => __( 'Charlie(cleaners)', 'your-text-domain' ),
                        'delta'   => __( 'Delta (cleaners)', 'your-text-domain' ),
                        'Foxtrot' => __( 'Foxtrot (backoffice)', 'your-text-domain' ),
                        'Golf'    => __( 'Golf (contractors)', 'your-text-domain' ),
                    ],
                    'columns' => 6,
                    'tab'     => 'tab_additional_user_fields',
                ],
                [
                    'name'    => __( 'Job Title MB', 'your-text-domain' ),
                    'id'      => $prefix . 'job_title_mb',
                    'type'    => 'select',
                    'options' => [
                        'cleaner'          => __( 'Cleaner (general)', 'your-text-domain' ),
                        'house_keeper'     => __( 'House Keeper (maid)', 'your-text-domain' ),
                        'window_cleaner'   => __( 'Window Cleaner', 'your-text-domain' ),
                        'jet_washer'       => __( 'Jet Washer', 'your-text-domain' ),
                        'driver'           => __( 'Driver', 'your-text-domain' ),
                        'supervisor'       => __( 'Supervisor', 'your-text-domain' ),
                        'team_leader'      => __( 'Team Leader', 'your-text-domain' ),
                        'contractor'       => __( 'Contractor', 'your-text-domain' ),
                        'waster_collector' => __( 'Waste Collector', 'your-text-domain' ),
                        'janitor'          => __( 'Janitor', 'your-text-domain' ),
                        'exterminator'     => __( 'Exterminator', 'your-text-domain' ),
                        'director'         => __( 'Director', 'your-text-domain' ),
                        'vp'               => __( 'Vice President', 'your-text-domain' ),
                        'manager'          => __( 'Manager', 'your-text-domain' ),
                        'stock_controller' => __( 'Stock Controller', 'your-text-domain' ),
                        'accountant'       => __( 'Accountant', 'your-text-domain' ),
                        'admin'            => __( 'Administrator (backoffice)', 'your-text-domain' ),
                    ],
                    'columns' => 6,
                    'tab'     => 'tab_additional_user_fields',
                ],
            ],
        ];
    
        return $meta_boxes;
    }
    jofori_anum@yahoo.com[email protected]
    Participant

    To save time:

    (credentials removed)

    https://imgur.com/a/3L2vdeS

    jofori_anum@yahoo.com[email protected]
    Participant

    https://imgur.com/a/cjdgeJz

    (4)
    Backend Profile and Front End Forms:
    Metabox Builder Not saving anything for User Profile ('Extended' custom fields) in the Custom table?
    Setings: selected these...
    Save Data in custom table
    Custom table - aa_user_settings_meta_mb
    include table Prefix
    Create Table Automatically
    The Custom Table is created but nothing happens - disabled all plugins, still no luck.
    Any ideas?

    jofori_anum@yahoo.com[email protected]
    Participant

    2)
    I tried removing the Title "Extended" from the Edit Field Group-> Add Title field
    but on the front end it replaces it with the words "Meta Box title"

    Or do you mean something else?

    https://imgur.com/a/Kg3pxcC

    jofori_anum@yahoo.com[email protected]
    Participant

    Please NOTE - your emails to me state **THIS IS AN AUTOMATIC EMAIL - PLEASE DO NOT REPLY**
    Your last email to me is from [email protected]

    jofori_anum@yahoo.com[email protected]
    Participant

    HI,
    rather confusing... Front End Profile and Forms...Using Metabox Builder

    I am trying out the first stage, which is to create User Update Form.
    Subject: The Password fields...
    I want to add Password fields to my Front End form so they look like they belong and NOT a seperate section as created by using ID - rwmb-user-info

    (1) This creates a seperate section labelled Info (which is not meaningfull)
    How do I change that to some other name?

    (2) Each Metabox ID has a label and when put on a User Profile Form page, creates multiple labels/Titles (1 for each Metabox)
    I only need a Title for the 1st Metabox (section)
    How do I hide the labels/Titles of all the other displayed Metabox IDs on the Front End Form?

    (3) When I want to show you what I am talking about, how do I submit an image for support to view my problem visually?

    Kindest regards
    Jay

    jofori_anum@yahoo.com[email protected]
    Participant

    Sorry I forgot to mention we are also wan to use alot of MetaFields especially Repeaters in front end submissions, can it handle/update the Repeaer fields saved as Meta Field data aswell in the above use case?
    Creating a "Job" Custom Post Type from a "Quote" CPT and pre-populating Form fields when we need to update a CPT?

    in reply to: Fields don't show in admin column #27443
    jofori_anum@yahoo.com[email protected]
    Participant

    Hi, I am using MetaBox Builder only(no Code) and I cannot get any fields columns to show when I configure "Show as an admin column".

    I'm using the latest update Meta box 5.3.9 Meta AIO 1.13.8 (with all AIO plugins activated) how do I show/get Admin columns to work?

    It only works if everything (column Position) is set to "before - title" any other combination (of before and after with any other field) will not work, also no filter columns etc - Using Astra Pro Theme AND I've disabled all other plugins.

    Kindest regards
    Jay

Viewing 9 posts - 1 through 9 (of 9 total)