Forum Replies Created
-
AuthorPosts
-
Joe Anderson
ParticipantThanks Peter. I was about to run through the steps listed, but realized one of the computers I work on must have updated the fields successfully, so I did have 1 out of 3 installs that had good data. I then just exported that and re-imported to my other installs. All resolved now for this particular site, but I'll keep this in mind if I run into it again.
Thanks!
Joe Anderson
ParticipantThe previously added fields all still show in the custom post type and I can utilize them for the post type. I'm just unable to modify any of the fields with the builder.
Joe Anderson
ParticipantI found a solution to this. I pulled the password fields from within the user profile plugin's code and added it to my own metabox. Use the following shortcode and metabox setup. You should be able to add additional user profile fields as listed in the documentation as well:
[mb_user_profile_info id="your-metabox-id"]$meta_boxes[] = [ 'title' => '', 'id' => 'your-metabox-id', 'type' => 'user', 'fields' => [ [ 'id' => 'first_name', 'name' => esc_html__( 'First Name', 'yourdomain' ), 'type' => 'text', ], [ 'id' => 'last_name', 'name' => esc_html__( 'Last Name', 'yourdomain' ), 'type' => 'text', ], [ 'id' => 'user_email', 'name' => esc_html__( 'Email', 'yourdomain' ), 'type' => 'text', ], [ 'name' => __( 'New Password', 'yourdomain' ), 'id' => 'user_pass', 'type' => 'password', 'required' => true, 'desc' => '<span id="password-strength" class="rwmb-password-strength"></span>', ], [ 'name' => __( 'Confirm Password', 'yourdomain' ), 'id' => 'user_pass2', 'type' => 'password', 'required' => true, ], ], ];Joe Anderson
ParticipantHas there been any update to this? I'm still getting "Error: No meta boxes are available!"
Joe Anderson
ParticipantAwesome work, thanks!
Joe Anderson
ParticipantThanks for the tip, Long!
Joe Anderson
ParticipantSame here. Block options are no longer being generated and the preview is just a white box.
Joe Anderson
ParticipantIt seems my composer package was loading version 1.3.4 of the settings page, as opposed to version 2.1.0 of the single plugin... I'm not sure why.
I had run composer update, but for some reason the packages weren't updating. I trashed all the packages and re-ran composer update to install them all fresh again and now have the latest versions.
All seems to be working fine now. Thanks again for the support!
Joe Anderson
ParticipantThanks for looking into this. I'm not seeing any difference between my setup and what you are showing, but it still doesn't seem to work. Can you take a look at my video and let me know if you see anything wrong with my process? (I have a license code, but cleared it out for the video)
https://www.loom.com/share/d6ee367f782f4d259137643177156b49
Thanks!
Joe Anderson
ParticipantAre you loading metabox and the settings extension through composer? I am able to get it working when loading metabox through the standalone plugins or the AIO plugin. But, when I switch to just using composer (with latest available files) it still doesn't work. See screenshots.


Joe Anderson
ParticipantFor sure. The code is below. I have removed other tabs for simplicity. Thanks for the help!
/** * Register settings pages * * @since 3.0 * @access public * @var array $settings_pages */ function ditty_settings_pages() { $settings_pages[] = array( 'id' => 'ditty_settings', 'option_name' => 'ditty_settings', 'menu_title' => __( 'Settings', 'ditty-news-ticker' ), 'capability' => 'manage_ditty_settings', 'parent' => 'edit.php?post_type=ditty_ticker', 'style' => 'no-boxes', 'columns' => 2, 'tabs' => array( 'backup' => __( 'Backup & Restore', 'ditty-news-ticker' ), ), ); return $settings_pages; } add_filter( 'mb_settings_pages', 'ditty_settings_pages' ); /** * Register settings metaboxes * * @since 3.0 * @access public * @var array $meta_boxes */ function ditty_settings_metaboxes( $meta_boxes ) { $meta_boxes[] = array( 'id' => 'backup', 'title' => __( 'Backup & Restore', 'ditty-news-ticker' ), 'settings_pages' => 'ditty_settings', 'tab' => 'backup', 'fields' => array( array( 'name' => __( 'Backup & Restore', 'ditty-news-ticker' ), 'type' => 'backup', ), ), ); return $meta_boxes; } add_filter( 'rwmb_meta_boxes', 'ditty_settings_metaboxes' );January 18, 2020 at 9:45 PM in reply to: ✅Input ID issues when using fieldset_text within group #17904Joe Anderson
ParticipantGreat, thanks again for your help!
Joe Anderson
ParticipantAwesome, thanks! Working great now.
Joe Anderson
ParticipantThanks. I believe I may need to get some more background on how the current functionality is setup as I don't believe I'm fully understanding how the root
stdfield is meant to work.I am mainly trying to get the
stdfield within the child fields to work for every instance of the group object (initial and clones).I will continue conversation on this within the merge request, unless you'd rather it be continued here.
Thanks!
Joe Anderson
ParticipantI still was unable to render std values in my groups. I have created another pull request with a modification I made. Please check it out when you get a chance.
Thanks!
-
AuthorPosts