Skip to:
Content
Pages
Categories
Search
Top
Bottom

Limiting Access to Registered Users?

  • @wordpressfan

    Participant

    Does anyone know how to limit access to budddypress areas (such as forums, profiles, etc) to registered users? I found a bit of custom code that was accidentally wiped out when I upgraded themes. Thanks.

Viewing 9 replies - 1 through 9 (of 9 total)
  • @apeatling

    Keymaster

    Someone should put that bit of code in a plugin and add it to the plugin directory, it would be handy for people.

    @takuya

    Participant

    For temp. solution, have you read this sticky post?

    https://buddypress.org/forums/topic/faq-how-to-code-snippets-and-solutions

    btw, haven’t seen Burt for a while…

    @wordpressfan

    Participant

    That was the code I’d been using. I forgot where to put the following in register.php:

    <?php

    if($_REQUEST["s"]){?>

    <script type="text/javascript">

    jQuery(document).ready(function () {

    setTimeout(function(){ jQuery("#error").fadeOut("slow"); }, 6000);

    });

    </script>

    <div id="error" class="error">

    <h3>The page you were trying to access is for members only. Please login or register to continue.</h3>

    </div>

    <?php } ?>

    @chouf1

    Participant

    Did tried this plugin ?

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

    Seems to do what you looking for.

    @chouf1

    Participant

    Many links here to “restrict access”

    http://wpsauce.org/?mastertag=wordpress&tag=access

    @jehy

    Participant

    Possibly some people subscribed to this topic would like to know that i modified my access restriction plugin and now it works with buddypress 1.2.

    Please try

    https://wordpress.org/extend/plugins/registered-users-only-2/

    @pjnu

    Participant

    Thank you Jehy. RUO2 works great. Everything but the registration page is disallowed for guests.

    @nexia

    Participant

    thanks Jehy, but would be great to be able to decide what part of the site we can limit… personally, a whole site is too much, i would like profiles and activity to be blocked to guests, nothing more…

    could you create a admin backend where we select what part of the site we want to be blocked to guests?

    *(it’s quite easy though)

    @jehy

    Participant

    You see, my plugins are designed to work with wordpress, wordpress MU and buddypress…

    I am having an awful headache just trying to keep them working up to date, and don’t have any time to make more detailed configurations… Even through I’d like to.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Limiting Access to Registered Users?’ is closed to new replies.
Skip to toolbar