Custom Fields
Re-Envisioned
Support MB User Profile Shortcodes are not taken. They appear as plain text.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Author
    Replies
  • #31832
    Roma
    Participant
    #31844
    Long Nguyen
    Moderator

    Hi Roma,

    You can switch to the tab Text and add the shortcode, remember to remove two spaces between open and close square brackets. Screenshot https://imgur.com/wu5DRpf

    #31861
    Roma
    Participant

    Thank you. I was able to continue with the tutorial.

    Now:
    https://metabox.io/p1-add-guest-author-in-wordpress/#before-get-started

    1. In this part:
      In addition, if you allow users to change their passwords from the My Account page, add this below shortcode to the content of that page:

    They mention a short code so that the password can be edited but the shortcode is not visible.

    1. Other question:
      That photo shows Title and Content custom fields. https://imgur.com/CI6mb6k
      But this Shortcode shows double the fields that will be for content and title:

    [mb_frontend_form id = "publish-post" post_fields = 'title, content' status = "pending"]

    View post on imgur.com

    I guess it could look like this:
    [mb_frontend_form id = "publish-post"]

    My final Shorcode looked like this:
    [mb_frontend_form post_fields = 'title, content, thumbnail']
    It has helped me to continue with the tutorial.

    If you can comment if I am correct, I would appreciate it.

    1. As seen in the shorcode (https://ibb.co/7VG2WsQ) the status of the post is pending. If it appears on the dashboard, but even if I edit it, there is no way to change its status to published.
      Can it be enabled from the dashboard for either the administrator or guest author? What would be the recommended way?
    #31867
    Long Nguyen
    Moderator

    Hi Roma,

    1. They mention a shortcode so that the password can be edited but the shortcode is not visible.
    2. Please find the shortcode to update the password on the extension's documentation https://docs.metabox.io/extensions/mb-user-profile/#edit-user-password

      [mb_user_profile_info id="rwmb-user-info"]
      
    3. But this Shortcode shows double the fields that will be for content and title
    4. As you can see on this documentation https://docs.metabox.io/extensions/mb-frontend-submission/#shortcode-attributes
      the default post fields are supported title, content, excerpt, date, thumbnail. So you do not need to create the same custom fields like that.

    5. The frontend submission and dashboard do not allow the users to update post status on the frontend. If you want to allow the users to update post status by using a custom field and custom code, please follow this topic
      https://metabox.io/support/topic/controlling-post-status-in-front-end-dashboard/
    #31891
    Roma
    Participant

    Hi, Long. Thanks for his responses. I have practically finished the tutorial. I would only be missing point three. I'm not sure where to put that code because I use this shorcode to show the Dashboard:

    [mb_frontend_dashboard edit_page = "124"]

    Reading the documentation I understand that a similar example appears in the item: Reorder Post Fields.

    Where should I make those changes?

    #31896
    Long Nguyen
    Moderator

    Hi,

    Do you mean the code to allow users to change the post status on the frontend? You can put it in the file functions.php under the theme/child theme folder, like registering the meta box by code https://docs.metabox.io/creating-meta-boxes/#using-code

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