Unable to edit post from the front

This topic contains 11 reply and 2 voices, and was last updated by Tareq Hasan 11 years, 1 month ago
Viewing 11 Posts - 1 through 11 (of 11 total)
Author Posts
March 28, 2013 at 3:41 pm 1582
Tareq Hasan 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.
March 28, 2013 at 3:52 pm 1583
Tareq Hasan Tareq Hasan

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

March 28, 2013 at 4:25 pm 1589
dvbmedia dvbmedia

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.

 

March 28, 2013 at 4:40 pm 1591
Tareq Hasan Tareq Hasan

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.

March 28, 2013 at 4:48 pm 1592
dvbmedia dvbmedia

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

March 28, 2013 at 4:55 pm 1593
Tareq Hasan Tareq Hasan

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.

March 28, 2013 at 7:32 pm 1597
dvbmedia dvbmedia

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 ?

March 29, 2013 at 1:04 am 1603
Tareq Hasan Tareq Hasan

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

March 29, 2013 at 6:51 pm 1633
dvbmedia dvbmedia This reply has been marked as private.
March 30, 2013 at 4:36 am 1643
Tareq Hasan Tareq Hasan

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?

March 30, 2013 at 4:55 pm 1651
dvbmedia dvbmedia

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.

March 30, 2013 at 5:16 pm 1653
Tareq Hasan Tareq Hasan

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 11 Posts - 1 through 11 (of 11 total)