Home Forums Plugin Support WP User Frontend Pro Unable to edit post from the front

This topic is: resolved

This topic contains 11 replies, has 2 voices, and was last updated by  Tareq Hasan 6 years, 2 months ago.

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #1582

    dvbmedia
    Participant
    Post count: 6

    I am not able to edit any post from the front using the form I created in the control panel.

    No content is returning on any of the fields I added.

    I have followed the documentation and configured the settings as instructed and all I get is an empty form.

    Please advise me as to what I might of done wrong.

    Thank you.

    #1583

    Tareq Hasan
    Keymaster
    Post count: 2831

    If you configured following the documentation, there might be a chance any plugin is conflicting? Can you check by deactivating all other installed plugin?

    #1589

    dvbmedia
    Participant
    Post count: 6

    I have disabled all plugins and I still get the same results.

    This is what I have.

    • New form created with post title, post content and category.
    • New page with the shortcode [wpuf_form id=”1463″]
    • I have that new page selected under the plugin settings for Edit Page.
    • I go to the dashboard page that I have setup and press the edit link on the post I want to edit.
    • I then get the page I suppose to land on but the form is empty and the button is saying ‘Submit' not ‘Update'
    • The web address bar shows that I am on the edit page with the id of the post. domain.com/edit-post/?pid=1451&_wpnonce=38b6b685e2

    Have I missed something or done something wrong ?

    Please help.

     

    #1591

    Tareq Hasan
    Keymaster
    Post count: 2831

    You've done a slight mistake I guess. You should insert the code [wpuf_form id="1463"] in a page, lets say “Submit Post”. You should create a page “Edit” and insert the shortcode [wpuf_edit] and then select this “Edit” page from the plugin settings for Edit Page.

    #1592

    dvbmedia
    Participant
    Post count: 6

    I have done what you just said and now when I go to edit the post. I get the following message.

    I don't know how to edit this post, I don't have the form ID

    #1593

    Tareq Hasan
    Keymaster
    Post count: 2831

    http://docs.wedevs.com/wp-user-frontend-pro/#faq

    Q. I get the message: “I don’t know how to edit this post, I don’t have the form ID”

    Ans: When you create a post with the new version of WP User Frontend, a form ID is being attached to that post. It’s needed because you might have 10 forms and it doesn’t know which form should be used to edit that post.

    For this problem with older posts, one thing you need to do. If you go the those posts edit screen in backend, you’ll see a meta box “WPUF Form”, select the form that should be used to edit the form.

    #1597

    dvbmedia
    Participant
    Post count: 6

    I only have one form. So I do not know why I have this problem. I have selected from the Meta box the form and saved. I still get the same error message.

    I have the edit post page as follows.

    • Post Title: Edit
    • Post Slug: edit
    • Shortcode: [wpuf_edit]
    • On the settings page I have selected the edit page.

    Am I still missing something. I had used the free version of the plugin before using the pro version. Could that be a possible reason. Is there some data not syncing ?

    #1603

    Tareq Hasan
    Keymaster
    Post count: 2831

    Can you give me the admin details of your site? Provide them in your reply and mark it as private reply.

    #1633

    dvbmedia
    Participant
    Post count: 6
    This reply has been marked as private.
    #1643

    Tareq Hasan
    Keymaster
    Post count: 2831

    Your edit post configuration was right. But as it states here, there needs to be a form ID associated to a post to edit that post. I logged in and there was one post “Bacon”. When I went to edit that post, it showed me that error. Because the post wasn't created from frontend, so it didn't know what form should be used to edit the post. So I went to the backend edit post area and there is a meta box “WPUF Form”, I selected the “Edit Post” form you created and updated the post. Now this post know what form should it use to edit the form.

    If you create any post from frontend, it already knows what form should it use to edit that post. Am I clear?

    #1651

    dvbmedia
    Participant
    Post count: 6

    I see it is now working and I understand how it works now but this means I will have to update every post to be able edit from the front using the form I have setup.

    #1653

    Tareq Hasan
    Keymaster
    Post count: 2831

    If you create post from frontend, the process is automatic. But if it's created from admin panel, then you've to manually assign the form to a post.

Viewing 12 posts - 1 through 12 (of 12 total)

The topic ‘Unable to edit post from the front’ is closed to new replies.