Dashboard can't get submitted custom posts stored in custom table

Support MB Frontend Submission Dashboard can't get submitted custom posts stored in custom tableResolved

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #30367
    pctsaipctsai
    Participant

    I have created a custom post type with custom fields and saved them in a custom table. However, the dashboard can't get any custom posts submitted by specific user (It seems function workable without using custom table). Custom table is shown as below:

    https://drive.google.com/file/d/1sEFQYvTXCXsYpr9Pj22eKzeYdt0KfKxV/view?usp=sharing

    #30371
    Long NguyenLong Nguyen
    Moderator

    Hi,

    Can you please share the code that creates the fields and custom table? And some screenshots of the frontend dashboard and frontend submit pages, shortcodes.

    #30374
    pctsaipctsai
    Participant

    Hi, i just reset the site for testing the plugin MetaBox Frontend Submission.
    This time, i did not use the custom table and wrote any code, but the dashboard still can not get the submitted custom posts.

    The shortcode used in frontend submission page: [mb_frontend_form id='diet_form' edit='true' allow_delete='true']
    The shortcode used in frontend dashboard page: [mb_frontend_dashboard edit_page="14"]

    The screenshots of the frontend dashboard page, frontend submit page, wp_post in db and wp_post_meta in db is shared by google drive: https://drive.google.com/drive/folders/1qGVuJ34otr1vkLspoCMsXBUspZurOs1M?usp=sharing

    In the wp_post_meta, you can see post_id with 26 and 31 is the newest custom posts submitted by user with id=2. In the dashboard page, it shows 0 post for that user.

    #30375
    Long NguyenLong Nguyen
    Moderator

    Hi,

    Please try to add the attribute post_type to the frontend submit shortcode and let me know if it works.

    [mb_frontend_form id='diet_form' edit='true' allow_delete='true' post_type="diet_daily"]

    #30376
    pctsaipctsai
    Participant

    Hi, the dashboard works and can show the submitted custom posts. However, the post counts still be zero, i.e. still show "You have 0 posts".

    #30377
    Long NguyenLong Nguyen
    Moderator

    Hi,

    Thanks for your feedback.

    I will inform the development team to re-check this issue and fix it in the next update.

    #32869
    Philip FaderlPhilip Faderl
    Participant

    Hi there,
    I'm currently having the same issue... Is there any solution to it now?
    Best regards and merry christmas!

    #32875
    Long NguyenLong Nguyen
    Moderator

    Hi Philip,

    Please create a new topic and include the details (or some screenshots) of the issue. I will help you to troubleshoot it.

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