Forum Replies Created
-
AuthorPosts
-
November 16, 2022 at 9:41 PM in reply to: Profile pages using MB User Profile and MB Beaver Builder Integration #39170
Peter
ModeratorHello Jan,
There is no option to auto login after registering succesfully, you can use the attribute
redirectto redirect a user to the login/profile page to let them login manually.
The welcome email is also not supported but you can use the attributeemail_confirmationto send a welcome and confirmation email.Read more on the documentation https://docs.metabox.io/extensions/mb-user-profile/#registration-form
Peter
ModeratorWhen a user creates entries, he will be the author of the entries and no need to set up a relationship. But if you want to allow them to select entries manually, you can use the feature MB Relationship and then use a WP Query to display selected entries only. You can do the same with two post types: item and entry.
Hope that makes sense.Peter
ModeratorHello there,
Supporting a conflict with a third-party plugin is beyond our scope of support. However, I will create a feature request for the development team to consider supporting this issue in future updates.
Thanks for your understanding and patience.
November 15, 2022 at 10:42 PM in reply to: ✅Insert Custom Post Type content into Category term-description #39150Peter
ModeratorHello Denise,
1. Let me explain your case again and let me know if it is incorrect.
- You have a CPT
alt-category
- You want to show thealt-categorypost content to the WooCommerce product category description2. But there is no connection or relationship between product category and
alt-categorypost to get the CPTalt-categorypost ID.3. What is the object that you assign the custom field
alt_page_idto? CPTalt-categoryor product category? Product category is a taxonomy so if you want to get the term metaalt_page_id, you need to pass the second argument to the helper function$value = rwmb_meta( 'alt_page_id', ['object_type' => 'term'], $current_cat_id ); echo $value;Read more on the documentation https://docs.metabox.io/extensions/mb-term-meta/#getting-field-value
4. Regarding the insert post shortcode, I dont know what type of value it need to display the post content. Please contact their support for further assistance.
Peter
ModeratorI've also searched around on Google but have not found a way to import linebreaks to the database. Please use the HTML tags
<br>meanwhile.Peter
ModeratorThere is no way to prevent saving the field on this action hook. I think you can delete the field value after that by using the function delete_post_meta().
Or use the field setting
save_fieldand set it tofalseto prevent saving the field value. Read more on the documentation https://docs.metabox.io/field-settings/Peter
ModeratorHello there,
Thank you for your feedback.
I've informed the development team to fix this issue as soon as possible.
November 15, 2022 at 9:14 PM in reply to: ✅Metabox Admin menu does not appear after plugin activation #39142Peter
ModeratorAll the downloadable extensions should be available on the My Account page. I've informed our development team to check the issue on your account. I will let you know if I have any information.
Peter
ModeratorHello,
If you run the query with the PHP code, does it show posts properly?
$popularpost = new WP_Query(array( 'posts_per_page' => 5, 'meta_key' => 'wpb_post_views_count', 'orderby' => 'meta_value_num', 'order' => 'DESC' ));If yes, it should work in Twig code.
Peter
ModeratorHello Yasmine,
From the line to get the group value
$group_id = rwmb_meta( 'archived_team_users_group','', $post->ID );you can replace the variable
$post->IDwith a real post ID like 123 and see if it works. If yes, there is a problem when getting the post ID above that line. If not, there is a problem when outputting the subfield value. Does that make sense?And the function
print_r()orvar_dump()helps you to output the field value for debugging, it's not a solution.November 14, 2022 at 9:38 PM in reply to: Issues displaying blog post author name and comment counts #39128Peter
ModeratorHello,
The key point here is the post ID or post object, from this line
{% for item in post.post_related %}you have the post object so you can get any post info with the WordPress function. Here are some examples with PHP code, then you can convert it to Twig code on your own.
https://stackoverflow.com/questions/3188901/wordpress-get-author-info-from-post-id
https://wordpress.stackexchange.com/questions/38753/how-to-get-comments-by-post-idPeter
ModeratorHello there,
It is not possible to save the SVG image with string code in the database. This field saves the image ID to the database as you can read on the documentation https://docs.metabox.io/fields/single-image/
If you want to save the image code, please use the field
textareaortextfor this case.November 14, 2022 at 8:29 PM in reply to: ✅Metabox Admin menu does not appear after plugin activation #39125Peter
ModeratorHello Jose,
The flow should be:
- Install and activate Meta Box
- Install and activate other extensions (MB Builder, MB Relationships or just Meta Box AIO ...)
- Activate the license keyThe first step is written down in the Introduction documentation https://docs.metabox.io/introduction/
Meta Box core plugin, which is free and available on wordpress.org. It's the foundation of all features and is always required (activated).You can download other extensions on the My Account page https://metabox.io/my-account/
If you have the Lifetime Bundle license, you can use one plugin Meta Box AIO to get all pro features. Please read more here https://docs.metabox.io/extensions/meta-box-aio/
Peter
ModeratorHello there,
This issue happens when a user submits a form twice or more with Ajax enabled and it has been fixed in the new update. Please update MB extensions to the latest versions, clear all caches and check this issue again.
November 13, 2022 at 10:04 PM in reply to: ✅Metabox Admin menu does not appear after plugin activation #39113Peter
ModeratorHello Jose,
Is the plugin Meta Box activated? All MB extensions need to activate the plugin Meta Box to work.
-
AuthorPosts