Forum Replies Created
-
AuthorPosts
-
Francesco
ParticipantThanks a lot Peter, I have done it!
A few more questions:
- is there a way to let Woo Clients only edit the existing fields and not adding more clonable fields to the group?
- is there a way to add custom classes to forntend submission form buttons?
- is there a way to customize the Submit button?Thanks a lot.
Best regards.Francesco
ParticipantHi there! Could you please help me with this?
Francesco
ParticipantOk, thanks.
And what about editing custom fields linked to each order in the single order detail page located in the woocommerce account page?
It would be possibile through the metabox frontend submission extension?Francesco
ParticipantOk, now custom fields are showing correctly, thank you!
Do you think it would be possible to complete this order custom fields during the WooCommerce checkout process?March 21, 2025 at 9:34 PM in reply to: Not allowed to edit a post published through MB Frontend Submission #47886Francesco
ParticipantHi Zeylstra, in my website the MetaBox Frontend Submission Shortcode (example "[mb_frontend_dashboard edit_page="318" ...... ") the edit_page ID was wrong: it seems like with an update it was changed...
I can't explain why but this was the solution to my issue.January 27, 2025 at 4:38 PM in reply to: ✅MB Frontend Submission stopped working in the latest weeks #47548Francesco
ParticipantSOLVED, SOLUTION:
if you are using Bricks Builder go edit the page with the frontend form, choose the Submission Form element and be sure to select an Object Type for the Submission Form!January 14, 2025 at 11:25 PM in reply to: ✅MB Frontend Submission stopped working in the latest weeks #47406Francesco
ParticipantHi Peter,
thanks for your help.Yes, the Subscriber is the author of the post.
I am using MetaBox 5.10.5 and Meta Box AIO 1.31.1.
I've just tested it enabling only the two MetaBox plugins, MemberPress and WPCodeBox but it always show the “You are not allowed to edit this post.” notice.
January 13, 2025 at 4:10 PM in reply to: Not allowed to edit a post published through MB Frontend Submission #47383Francesco
ParticipantAgain thanks P. Zeylstra. for your help, I really appreciated it!
I added the “Object type” option and set it to post for the frontend dashboard shortcode but it finally turned out that the “Edit page” option (ID of the editing page) was changed. Don't know why but in this case this was the issue.
Thanks again.
Best regards.January 13, 2025 at 2:48 PM in reply to: Not allowed to edit a post published through MB Frontend Submission #47381Francesco
ParticipantThanks a lot for your quick reply P. Zeylstra.
Could you please explain to me how and where to define the object type?
Thanks in advance
January 13, 2025 at 3:35 AM in reply to: Not allowed to edit a post published through MB Frontend Submission #47378Francesco
ParticipantHi there! I have the same issue with Bricks Builder and MetaBox Frontend sumbission form that worked fine.
Did you find out what is wrong with it now? Is it one of the latests Bricks updates that breakes it?Francesco
ParticipantThanks Knut! I will try your solution.
Francesco
ParticipantI can't make the code snippet work, anyone more lucky then me?
Francesco
Participant+1 MetaBox should support removing the CPT slug from the URL!
Francesco
ParticipantThank you, now it works fine!
Best regards,
FrancescoFrancesco
ParticipantOf course, here is the MetaBox PHP code for the taxonomy Custom Fields
<?php add_filter( 'rwmb_meta_boxes', 'your_prefix_function_name' ); function your_prefix_function_name( $meta_boxes ) { $prefix = ''; $meta_boxes[] = [ 'title' => __( 'Album Fotografie Custom Fields', 'your-text-domain' ), 'id' => 'categoria-fotografie-custom-fields', 'taxonomies' => ['album-fotografie'], 'fields' => [ [ 'name' => __( 'Album Fotografie - Immagine in evidenza', 'your-text-domain' ), 'id' => $prefix . 'album_fotografie_immagine', 'type' => 'image_advanced', 'max_file_uploads' => 1, ], [ 'name' => __( 'Album Fotografie - Gallerie Scelta', 'your-text-domain' ), 'id' => $prefix . 'album_fotografie_gallerie_scelta', 'type' => 'switch', 'label_description' => __( 'Settare su On/flaggare se l\'album deve comparire nella pagina Gallerie', 'your-text-domain' ), 'style' => 'square', 'on_label' => 'Visibile', 'off_label' => 'Nascosto', ], [ 'name' => __( 'Album Fotografie - Pubblicazioni Scelta', 'your-text-domain' ), 'id' => $prefix . 'album_fotografie_pubblicazioni_scelta', 'type' => 'switch', 'label_description' => __( 'Settare su On/flaggare se l\'album deve comparire nella pagina Pubblicazioni', 'your-text-domain' ), 'style' => 'square', 'on_label' => 'Visibile', 'off_label' => 'Nascosto', ], [ 'name' => __( 'test', 'your-text-domain' ), 'id' => $prefix . 'test', 'type' => 'text', 'std' => '1234test campo personalizzato', ], ], ]; return $meta_boxes; }And here is the PHP Code for the Taxonomy
<?php add_action( 'init', 'your_prefix_register_taxonomy' ); function your_prefix_register_taxonomy() { $labels = [ 'name' => esc_html__( 'Album Fotografie', 'your-textdomain' ), 'singular_name' => esc_html__( 'Album Fotografie', 'your-textdomain' ), 'menu_name' => esc_html__( 'Album Fotografie', 'your-textdomain' ), 'search_items' => esc_html__( 'Search Album Fotografie', 'your-textdomain' ), 'popular_items' => esc_html__( 'Popular Album Fotografie', 'your-textdomain' ), 'all_items' => esc_html__( 'All Album Fotografie', 'your-textdomain' ), 'parent_item' => esc_html__( 'Parent Album Fotografie', 'your-textdomain' ), 'parent_item_colon' => esc_html__( 'Parent Album Fotografie:', 'your-textdomain' ), 'edit_item' => esc_html__( 'Edit Album Fotografie', 'your-textdomain' ), 'view_item' => esc_html__( 'View Album Fotografie', 'your-textdomain' ), 'update_item' => esc_html__( 'Update Album Fotografie', 'your-textdomain' ), 'add_new_item' => esc_html__( 'Add New Album Fotografie', 'your-textdomain' ), 'new_item_name' => esc_html__( 'New Album Fotografie Name', 'your-textdomain' ), 'separate_items_with_commas' => esc_html__( 'Separate album fotografie with commas', 'your-textdomain' ), 'add_or_remove_items' => esc_html__( 'Add or remove album fotografie', 'your-textdomain' ), 'choose_from_most_used' => esc_html__( 'Choose most used album fotografie', 'your-textdomain' ), 'not_found' => esc_html__( 'No album fotografie found.', 'your-textdomain' ), 'no_terms' => esc_html__( 'No album fotografie', 'your-textdomain' ), 'filter_by_item' => esc_html__( 'Filter by album fotografie', 'your-textdomain' ), 'items_list_navigation' => esc_html__( 'Album Fotografie list pagination', 'your-textdomain' ), 'items_list' => esc_html__( 'Album Fotografie list', 'your-textdomain' ), 'most_used' => esc_html__( 'Most Used', 'your-textdomain' ), 'back_to_items' => esc_html__( '← Go to Album Fotografie', 'your-textdomain' ), 'text_domain' => esc_html__( 'your-textdomain', 'your-textdomain' ), ]; $args = [ 'label' => esc_html__( 'Album Fotografie', 'your-textdomain' ), 'labels' => $labels, 'description' => '', 'public' => true, 'publicly_queryable' => true, 'hierarchical' => false, 'show_ui' => true, 'show_in_menu' => true, 'show_in_nav_menus' => true, 'show_in_rest' => true, 'show_tagcloud' => true, 'show_in_quick_edit' => true, 'show_admin_column' => false, 'query_var' => true, 'sort' => false, 'meta_box_cb' => 'post_tags_meta_box', 'rest_base' => '', 'rewrite' => [ 'with_front' => false, 'hierarchical' => false, ], ]; register_taxonomy( 'album-fotografie', ['fotografie'], $args ); }My goal is to show on the frontend the Advanced Image and use the two switch inside the PHP code to create something like a conditional logic, but I am having issues also using the two switch, I can't query them.
-
AuthorPosts