WordPress.org

Forums

Post From Site
Shortcode - must be logged in to use on page when people are already logged (4 posts)

  1. nrwilliams
    Member
    Posted 3 years ago #

    Everytime i use the shortcode on a page there is a message displayed saying that users must be logged in to use when they already are.

    http://wordpress.org/extend/plugins/post-from-site/

  2. dmchase
    Member
    Posted 3 years ago #

    I am having the same issue. It works if I am logged in as an Administrator, but not as any other Role.

    Otherwise, this plugin does exactly what I need so I would really like to get this issue resolved so I can use it.

  3. halifaxious
    Member
    Posted 3 years ago #

    make sure that your users have the 'publish_post' capability.

  4. rt49andellis
    Member
    Posted 3 years ago #

    I wanted to allow posting by non authors, but wanted submitters to be logged in. To accomplish this, I changed
    line 369 of post-from-site-class.php from....

    if (current_user_can('publish_posts') || $options['allow_anon']){

    to.....

    if (is_user_logged_in() || $options['allow_anon']){

    The setting for 'allow_anon' could also be deleted in my situation, but I left it in case I ever decide to allow anonymous submissions.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Post From Site
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic