Forums

User Access Manager
RSS feed doesn't work when not logged in (6 posts)

  1. schiefen
    Member
    Posted 1 year ago #

    I have a site that I use the User Access Manager plugin so that everyone has to log in to read my posts. However I want the feed to be public so that people can still subscribe to that and see when I publish new posts. I have the Protect Feed option set to No but it still won't work unless you are logged in. Has anyone gotten it to work? I'm new to WordPress and plugins and I'm not sure exactly what I need to do to fix it.

    Thanks!

  2. geekie101
    Member
    Posted 6 months ago #

    I am having the same problem. Did you ever find a solution?

  3. Cyranoz
    Member
    Posted 4 months ago #

    Hi, same for me. If someone finds a solution to this, I'd be very interested! :-)

  4. tealwren
    Member
    Posted 3 months ago #

    Try using Registered Users Only plugin instead

  5. GM_Alex
    Member
    Posted 2 months ago #

    Hi,

    the RSS feed is cached by the browser, clear the cache and it will work like expected.

    Bye,
    Alex

  6. Cyranoz
    Member
    Posted 2 months ago #

    Hello,

    I just wanted to re-open this issue. I've tried to empty the cache of my browser, even to test with a new one, without success : the restricted posts don't appear in the RSS feed, with the option "protect RSS feed" set to false.

    So I went and looked in the code of the plugin to see how it worked. I'm not an expert, so I tried to find my way. What I got from my little investigation was this : apparently, the only place where $uamOptions['protect_feed'] is used is in the function showPost($posts = array()). There the generic function "the_posts" is redefined. Now, in the function showPost, do we really act on the query itself delivering the lists of posts? As far as I could tell, it didn't seem so, but I might be totally wrong. If correct, that would explain why, no matter the option $uamOptions['protect_feed'], restricted posts don't appear in RSS feeds.

    Can someone have a look too and confirm? We'll find the solution more quickly!

    Great plugin anyway.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic