Skip to:
Content
Pages
Categories
Search
Top
Bottom

Logged out users not accessing pages they should have access to

  • My setup is as follows but logged-out users still have no access to ABOUT, SERVICES, CONTACT They click those links and instead this is seen http://my site.com/?bp_pc_redir_to=%2Fabout-3 in the browser for instance for the about page but they still remain on the home page of my site. Same thing happens for the other pages, ?bp_pc_redir_to=%2Fservices , ?bp_pc_redir_to=%2Fcontact

    I have in this folder
    buddypress-private-community-config
    This file
    mm-buddypress-private-community-config.php

    Content below…

    MM_BUDDYPRESS_PRIVATE_COMMUNITY::$ALLOWED_URIS = Array(‘/about-3′, ‘/services’, ‘/contact’);
    MM_BUDDYPRESS_PRIVATE_COMMUNITY::$REDIRECT_TO_URL = site_url() . ‘/signup’;
    MM_BUDDYPRESS_PRIVATE_COMMUNITY::$REDIRECT_HOOK = ‘my_redir_to’;
    MM_BUDDYPRESS_PRIVATE_COMMUNITY::$BLOCK_WIDGETS = FALSE;
    MM_BUDDYPRESS_PRIVATE_COMMUNITY::$BLOCK_RSS_FEEDS = FALSE;
    MM_BUDDYPRESS_PRIVATE_COMMUNITY::$BLOCK_RSS_FEEDS_WHEN_LOGGED_IN = FALSE;
    MM_BUDDYPRESS_PRIVATE_COMMUNITY::$USE_CUSTOM_FEED_MESSAGES = TRUE;
    MM_BUDDYPRESS_PRIVATE_COMMUNITY::$FEED_CHANNEL_TITLE = ‘My Blog’;
    MM_BUDDYPRESS_PRIVATE_COMMUNITY::$FEED_CHANNEL_DESC = ‘This is a private blog. All feeds are disabled.’;
    MM_BUDDYPRESS_PRIVATE_COMMUNITY::$FEED_ITEM_TITLE = ‘My Blog (All feeds are disabled)’;
    MM_BUDDYPRESS_PRIVATE_COMMUNITY::$FEED_ITEM_DESC = ‘This is a private blog. All feeds are disabled.’;

Viewing 1 replies (of 1 total)
  • Avatar of nipponmonkey
    NipponMonkey
    Member

    @nipponmonkey

    Your config file isn’t being loaded as your ::$REDIRECT_HOOK is ‘my_redir_to’ in the config but you’re seeing ‘bp_pc_redir_to’ after you have been redirected.

    I think you have the buddypress-private-community-config folder in the buddypress-private-community folder instead of in the plugins folder.

    See FAQs

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.