WordPress.org

Ready to get started?Download WordPress

Forums

WP-Members
Can't block off portfolio posts via WP Members (2 posts)

  1. andrewhorn
    Member
    Posted 1 year ago #

    Problem: Our client wants her "articles," currently listed as portfolio posts, (http://www.powerprojectinstitute.com/portfolio/your-emotions-who-is-in-control/ ) to be hidden unless the user is a member of her site. Currently, because each of these articles are portfolio posts, her members can gain access to an article, and from there link these articles out to other people. Once these articles are linked out, anyone can gain access to the article without becoming a member of her site.

    Our client’s site has a portal page where the user registers (if they are not a member) which can be found at http://www.powerprojectinstitute.com/become-a-member/. Once the user registers as a member they are taken to the articles. If the user directs a friend or colleague to the site, but links them to any page that is accessible only after the portal page (ie: articles, tips etc.) the friend or colleague no longer have to become members of the site.

    We are hoping that there is a way to use the shortcode in the WP Member plugin to block off these portfolio sites (we have tried the short-code that we were given, but it does not work for portfolio posts without looking messy).

    To access the articles, simply go down the Dashboard until you get to the Portfolio section. Click on portfolio, and the site should populate all of the articles. To the right of the page you will see a widget titled "Portfolio Categories." You can check whether the portfolio page corresponds to an article here (or not). Not all of the portfolio pages are articles.

    We have tried using our WP-Member plugin to block access to the portfolio; however, because these pages are not considered posts or pages by our plugin (or WordPress?) the shortcode does not work.
    --
    The information below corresponds to our plugin WP-Members. It details how to restrict posts and pages. There are links to other parts of the manuals on these pages a well.

    Restricting Posts: http://rocketgeek.com/plugins/wp-members/users-guide/managing-content/restricting-posts/
    Restricting Pages: http://rocketgeek.com/plugins/wp-members/users-guide/managing-content/restricting-pages/

    If a user links a friend to the article page that we created (AFTER the portal page), due to how the portfolio works, we can’t block off access to the articles. This is a secondary problem.

    http://wordpress.org/extend/plugins/wp-members/

  2. Chad Butler
    Member
    Plugin Author

    Posted 1 year ago #

    I would assume that your portfolio pages are actually a custom post type. The plugin does not block custom post types by default because they are in fact custom - what one uses on their site may not equate to what another uses on theirs.

    There are ways to accommodate blocking custom post types, but it requires some level of customization.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic