WordPress.org

Ready to get started?Download WordPress

Forums

User Submitted Posts
[resolved] Security for post (7 posts)

  1. ajay.shetti786@gmail.com
    Member
    Posted 1 year ago #

    I am newbie to word-press and I have installed your plugin.

    I have a log in feature with my blog.

    The post form display the message "Successfully submitted" even though you have not logged in and allows does not get posted.

    I am satisfied as form post get submitted on log in

    I want to put a check for user log in before submitting the post

    http://wordpress.org/extend/plugins/user-submitted-posts/

  2. Jeff Starr
    Member
    Plugin Author

    Posted 1 year ago #

    I really want to help here, but honestly am struggling to understand your meaning.. however, I've just released a new version with lots of bug fixes and improvements, so hopefully your issue is resolved along the way..?

  3. ajay.shetti786@gmail.com
    Member
    Posted 1 year ago #

    I have found out the solution it was simple

    just check for log-in before submitting

    if u want I can send where and what exactly you have to do.

  4. Jeff Starr
    Member
    Plugin Author

    Posted 1 year ago #

    Yes, I would be interested in taking a look, please send via my contact form: http://perishablepress.com/contact/ Thanks for your help!

  5. ajay.shetti786@gmail.com
    Member
    Posted 1 year ago #

    surely let u it can be resolved.

    currently finding some technical difficulties with the site

  6. ajay.shetti786@gmail.com
    Member
    Posted 1 year ago #

    In views/user submission-form.php

    please put a check user login

    before session start()
    to end of form

    put the entire code under
    if ( is_user_logged_in() )
    {
    }
    else
    {
    echo "Please Log-in to Post";
    }

    it works

    please let me know, whether it solved ur problem or not.

    Regards
    Ajay

  7. Jeff Starr
    Member
    Plugin Author

    Posted 1 year ago #

    Easy enough! I'll test it out and try to implement it (or similar functionality) for the next plugin update. Thanks for your help Ajay.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.