Dashboard not working
Support › MB Frontend Submission › Dashboard not workingResolved
- This topic has 15 replies, 8 voices, and was last updated 3 years, 6 months ago by
Way Leong.
-
AuthorPosts
-
May 4, 2021 at 3:50 PM #27891
Thibaut
ParticipantLet me write here as you closed previous thread as solved.
Since the last recent update, I have the following error message:
"Something is not right with the shortcode on page ID: "
my shortcode is: [mb_frontend_dashboard edit_page="43" post_type="book"] where 43 is the code for the page of my frontend form which also has the post_type="book" in the shortcode.
Where does the issue is? (using oxygen...)
May 4, 2021 at 7:14 PM #27899Long Nguyen
ModeratorHi,
As my reply on the ticket system. The frontend shortcode does not work in the Oxygen Builder. You can deactivate this plugin and use the shortcode in the WordPress editor to re-check the issue.
May 5, 2021 at 9:37 AM #27921Thibaut
ParticipantObviously it doesn't work, otherwise we will not be discussing. What you mentioned is that you would pass it to the development team... then we got this update and I got a different error message hence my message.
Anyway
Is there another way to create a frontend dashboard? I am just here to find solutions...
May 5, 2021 at 12:45 PM #27924Long Nguyen
ModeratorHi,
You can try to use some plugin support frontend posts like WP User Frontend or Frontend Publishing Pro.
May 5, 2021 at 2:03 PM #27928Thibaut
Participantthanks, basically, with these plugins I almost have to recreate everything therefore Metabox is not useful anymore. This is not what I want. Do you have a Metabox solution?
Hope that Oxygen integration is coming VERY soon.
June 23, 2021 at 5:17 PM #29082[email protected]
ParticipantI'm having the same issue but am using Divi theme instead of Oxygen. If the theme is the issue, then can we have a list of themes with this problem?
June 23, 2021 at 9:26 PM #29085alanjacobs
ParticipantI have the same issue as well, but using Bricks.
Also tried using Gutenberg to add the shortcode, but get the same error.
June 24, 2021 at 12:16 PM #29094Long Nguyen
ModeratorHi guys,
Just to clarify that the attribute
post_type
needs to add to the shortcode frontend submission, not the shortcode frontend dashboard.[mb_frontend_form id="meta-box-id" post_fields="title,content" post_type="cpt-slug"]
June 26, 2021 at 2:52 PM #29132Tron Buck
ParticipantHi there!
I am very confused with your last explanation.
In your doc page:
https://docs.metabox.io/extensions/mb-frontend-submission/
You say...User Posts Dashboard
To let users view and edit their submitted posts, just create a normal WordPress page, and insert the following shortcode into the page content:[mb_frontend_dashboard edit_page="124"]
Shortcode attributes
Attributes Description
edit_page The ID of the page, where users can submit posts.
post_type The post type to be shown (default: post)I am not using any builder, just the twentyone theme and I have the same problem as Thibaut.
When using the shortcode without post_type argument, only post are listed.
Using post_type="cpt-slug" nothing are listed.Please, check it and clarify.
Thank you.June 27, 2021 at 10:33 AM #29143Long Nguyen
ModeratorHi Tron,
Let me explain two shortcodes. For example, I have a post type with the slug
manpower
- On the frontend submit page ID = 1867, the shortcode should be
[mb_frontend_form post_fields="title,content" post_type="manpower"]
- On the frontend dashboard page, the shortcode should be. The
post_type
attribute does not need to add to this shortcode.
[mb_frontend_dashboard edit_page="1867"]
Screen record https://share.getcloudapp.com/yAurKdQp
June 27, 2021 at 11:30 PM #29156Tron Buck
ParticipantHi Long.
Now it works!
But let me say the documentation is not very clear in this point.
For the[mb_frontend_form id="meta-box-id" post_fields="title,content"]
shortcode attibutes you say:post_type
The submitted post type. Optional. Default is the first post type defined in the meta box. If meta box is made for multiple post types, you should set this attribute to the correct one.I was supposing
post_type
attribute was not needed as it was defined in the meta box.Anyway, it is working now and I really appreciate your support.
Thank you!September 21, 2021 at 8:14 PM #30874[email protected]
ParticipantI have the same issue - I'm using oxygen builder though
I have a page id of 51
a post type called gardenon this page I gave this shortcode:
[mb_frontend_form id='social-garden-form' post_fields='title,content’ post_type=‘garden']
on another page I have the shortcode:
[mb_frontend_dashboard edit_page="51"]but I get the error:
Something is not right with the shortcode on page ID:do I have to not use oxygen - or have I done something wrong
regards
Paul
September 22, 2021 at 4:21 AM #30885AnLip
ParticipantCould using the "old" technique temporarily solve our problem ?
October 15, 2021 at 2:24 AM #31326Way Leong
ParticipantI'm using Oxygen Builder too to display my dashboard.
The Dashboard will be displayed if the shortcode is inserted in the Guternberg editor to fix the issue not displaying.
However, with the dashboard being able to display on the frontend. Another issue arise, where the dashboard did not show any posts that is created by the admin nor users. The Oxygen Builder displays an uncaught error. Kindly refer to the screenshot below
Do we have to wait for Oxygen Builder Development Team to fix the issue or is there any other workaround that can be done? Thanks
October 15, 2021 at 5:12 AM #31328Thibaut
ParticipantHello,
Placing the shortcode in Gutenberg for me is NOT working.
Not sure how you managed....
-
AuthorPosts
- You must be logged in to reply to this topic.