Home Forums Plugin Support WP User Frontend (Free Version) Editing existing posts

This topic is: resolved

This topic contains 9 replies, has 3 voices, and was last updated by  Tareq Hasan 5 years, 8 months ago.

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #9227

    Jay
    Participant
    Post count: 5

    I am able to create posts by using a page with a WPUF shortcode. I am having trouble editing an existing post. I think it worked in your demo but cannot get it to work on our site.

    TIA

    #9269

    Jay
    Participant
    Post count: 5

    Bump…

    #9272

    Tareq Hasan
    Keymaster
    Post count: 2831

    Sorry for answering late.

    You can assign a form to an existing post from edit post area in wp-admin. Or you can set a default (fallback) form to all posts from the plugin settings.

    #9276

    Jay
    Participant
    Post count: 5

    SO, it seems we cannot get editing a post to work.
    We are able to create the post but when we go to edit it, we cannot.
    perhaps it is in how we have set it up. please advise.

    Thank you.

    #9287

    Mahi
    Member
    Post count: 1555

    A user can edit his/her posts from frontend. To setup the options, follow the instructions:

    1) Create a page, for example: Edit.
    2) Insert the shortcode [wpuf_edit] in the page.
    3) Go to plugin Settings > General Options > Edit Page. Select the page your just created which contains the shortcode [wpuf_edit]

    Full Documentation: http://docs.wedevs.com/wp-user-frontend-pro/#post-editing

    #9318

    Jay
    Participant
    Post count: 5

    When a user that does not have back end access tries to log into
    WordPress, after successfully logging in they are presented with this
    message:
    Access Denied. Your site administrator has blocked your access to the
    WordPress back-office.
    That's great, I want it to function like this but I also would like them
    to be redirected to the home page (pretty logical feature, right?).
    How can I get them to be redirected to the homepage after logging in,
    instead of having this error message?

    Thanks.

    weDevs Team wrote:

    #9335

    Mahi
    Member
    Post count: 1555

    Use Theme My Login plugin to allow users login from frontend and setup accordingly.

    link: http://wordpress.org/plugins/theme-my-login/

    #9336

    Jay
    Participant
    Post count: 5

    We have gotten posting and editing working well. Thank you!
    One more small issue.

    We have an “create/edit post” page. When user is logged in, based on role, they can add or edit posts. However, when logged in, the WP navigation top nav is showing “Edit page” and allows the user to edit the template. See image: http://screencast.com/t/6LXzgsqF1rkd

    #9345

    Tareq Hasan
    Keymaster
    Post count: 2831

    Although you are creating posts from that page, its still a page. As it's a page, it'll have a edit page link in admin bar. That is normal for WordPress.

    #9397

    Tareq Hasan
    Keymaster
    Post count: 2831

    To redirect blocked users to homepage again, follow this instruction:
    In wpuf.php line 229, replace the wp_die() line with this one:

    [php]wp_redirect( home_url() ); exit;[/php]

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

The topic ‘Editing existing posts’ is closed to new replies.