Broken extension?

Support MB Frontend Submission Broken extension?

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #39213
    CharlotteCharlotte
    Participant

    Hello,

    I bought the MB Frontend Submission extension this morning, and I installed and activated it on my WordPress backoffice. But... since then, I can't find anything that allows me to configure and use this extension.

    I also have: MB Custom Post Types & Custom Taxonomies, MB Frontend Submission and Meta Box.

    I don't understand how to use this extension. I feel like I'm missing something because when I looked at the documentation, I realized that some tabs like "Custom Fields" are missing.

    As you can see here : https://zupimages.net/viewer.php?id=22/46/jpkf.png

    For your information, my custom post type was created by my function.php file. AND I currently work locally (with MAMP) because the site is being created.

    My goal: to allow users to contribute to this custom post type through a form in front end.

    Can someone help me and point out what is wrong?

    #39219
    CharlotteCharlotte
    Participant

    I continued my investigations and finally understood how it worked. However, despite the documentation, a few questions remain:

    - I don't want to leave the ability to delete a post
    - I want to be able to validate each new post (and post modification) before it is published
    - The "confirmation" attribute does not take into consideration my custom post
    - The attribute "delete_confirmation" does not take into consideration my custom message

    Thank you so much for your help

    #39234
    PeterPeter
    Moderator

    Hello Charlotte,

    1. There is no option to remove the delete button in the frontend dashboard, you can use this filter hook to remove it rwmb_frontend_dashboard_delete_action or use this custom CSS code to hide it

    .mbfs-posts .mbfs-actions form {
        display: none;
    }

    2. You can set the post status to draft in the frontend shortcode, then approve the posts in the backend on your own.

    3, 4. Can you please share the shortcode that you are using and some screenshots of the issue?

    #39240
    CharlotteCharlotte
    Participant

    Hello Peter,

    Thank you very much for your answer!

    1- This point is fixed, thanks 🙂 I did it in CSS because I don't know how to use a hook...
    2- I tried to add status="draft" but it doesn't seem to be taken into consideration (I put it on the submission page shortcode, not on the user dashboard one. Is that right?) and unless I'm mistaken, I didn't find this parameter in the documentation.
    3- (only for confirmation, because the user will not be able to delete) The shortcode used is :

    [mb_frontend_form id="caractnendo" post_type="nendoroid" post_fields="title, thumbnail" confirmation="Votre contribution a bien été envoyée. Elle sera prochainement vérifiée puis validée. Accédez à vos contributions en <a href="/dashboard">cliquant ici</a>." label_title="Titre" label_thumbnail="Photo principale"]

    And the result is: https://zupimages.net/viewer.php?id=22/46/ieel.png

    I also tried without the a href tag, and the result is the same.

    Thanks for your help!

    #39248
    PeterPeter
    Moderator

    Hello,

    2. You can read more about frontend submission shortcode attributes in the documentation https://docs.metabox.io/extensions/mb-frontend-submission/#shortcode-attributes

    all attributes should be added to the frontend submission shortcode, there is 1 attribute for the frontend dashboard shortcode is edit_page.

    You can read about the post status in WordPress documentation https://wordpress.org/support/article/post-status/

    3. The confirmation attribute only allow passing text, HTML tags are not allowed.

    => The shortcode should be

    [mb_frontend_form id="caractnendo" post_type="nendoroid" post_fields="title, thumbnail" post_status="draft" confirmation="Votre contribution a bien été envoyée. Elle sera prochainement vérifiée puis validée. Accédez à vos contributions en." label_title="Titre" label_thumbnail="Photo principale"]

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.