Skip to:
Content
Pages
Categories
Search
Top
Bottom

Limit # of visible posts for not logged users


  • Kar-l
    Member

    @kar-l

    I run a forum (bbPress 1.01, thanks!) were I’d like to motivate visitors to register.

    Could someone please let me know how could I limit the number of posts visible to guests (not logged users) to, say, 5 and end it with “There is more posts here, if you want to see them, please login/register”

Viewing 6 replies - 1 through 6 (of 6 total)

  • johnhiler
    Member

    @johnhiler

    This is the closest plugin, I think:

    http://bbpress.org/plugins/topic/force-login/

    Maybe it could be adapted to do what you described?


    Kar-l
    Member

    @kar-l

    Thank you for the reply. _ck_ says this plugin is old… so I’m hesitant… (security, compatibility, name it)

    Besides I believe it’s a good idea to show most content to visitors, just not all the content. The same applies to search engines – I don’t want to mess with serving different content to spiders, what would be sleazy.

    If there is nothing like what I ask about, maybe it’s a good idea for a new plugin? ;)


    frooyo
    Member

    @frooyo

    To motivate user interaction (sign up), the best approach is to do something like this:

    http://www.streeteasy.com/nyc/talk

    Where for non-logged in users, you display the comment field to post a reply. But once you click submit, it asks you to login/register.

    I talked about this in a previous post –>

    http://bbpress.org/forums/topic/allow-anyone-to-post-to-bbpress-including-non-logged-in-visitors


    Kar-l
    Member

    @kar-l

    Yup, that’s one of possible solutions. But I believe it would be programatically easier and more functional to write a patch/plugin just to limit posts visibility and encourage people to register to access the content. The niche I’m in is very thin and small, so the content is precious, I believe.


    _ck_
    Participant

    @_ck_

    You could easily modify the “topics per page” plugin to work differently depending if a user is logged in or not.

    In fact the plugin could be modified to allow each user to choose how many topics per page and how many posts per topic, now that I think about it.

    Not sure if it’s working on 1.0 though, probably not.


    Kar-l
    Member

    @kar-l

    I’d like to bump. I can’t write php…

Viewing 6 replies - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.