Skip to:
Content
Pages
Categories
Search
Top
Bottom

You are not allowed to access this part of the site – Basic User

  • Avatar of imtrevormrose
    imtrevormrose
    Participant

    @imtrevormrose

    Hey guys, I’m working on a client’s site, just set up a fresh install of wordpress ( ) and buddypress ( 1.6.4 )

    Everything went smoothly, integrated bbpress fairly well. But, I’ve got two test accounts going – a basic user, just registered him – he’s set as a “participant” for the forums and a “subscriber” for wordpress – I’ve tried making the account a contributor, and it still gave me no dice. Then I have the admin account that was created while installing wordpress.

    The admin account can follow other users, post status updates, and send out private messages. But the test users that’s currently a subscriber, can reply to private messages, or send them out, nor can he post status updates, favorite status updates, or comment on status updates or public messages.

    Is this an issue that’s well known, or am I the only one experiencing it?

    http://northcarolina100.com/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    >> Is this an issue that’s well known, or am I the only one experiencing it?

    First time I saw all those issues reported about one installation. Go to Appearance > BP Compatibility and make sure that you did not disable JS nor CSS

    Avatar of imtrevormrose
    imtrevormrose
    Participant

    @imtrevormrose

    No, neither are disabled.
    I think it has to do with permissions? I’m not sure. This is the error message it’s giving me. “You are not allowed to access this part of the site “

    Avatar of imtrevormrose
    imtrevormrose
    Participant

    @imtrevormrose

    The private messaging decided to work. But a basic user still can’t send a public message ( mentions ) or comment or favorite mentions. They also can’t accept or add friends.

    I’m going through the coding now and I’m not turning anything up that has to do with “permissions” or level of user. I’ve attempted turn error logging on, but if it is on, nothing is being populated into the error_log.php file.

    Avatar of imtrevormrose
    imtrevormrose
    Participant

    @imtrevormrose

    Fixed. It was completely my fault. I had copied and pasted a short bit of code into my functions.php file to block access to the wordpress dashboard from anyone not an admin.

    /*blocks access to the dashboard*/

    function wpse_11244_restrict_admin() {

    if (!current_user_can(‘update_core’)) {

    wp_die(__(‘You are not allowed to access this part of the site’));

    }

    }

    add_action(‘admin_init’, ‘wpse_11244_restrict_admin’, 1);

    function include_jQuery() {
    if (!is_admin()) {
    wp_enqueue_script(‘jquery’);
    }
    }
    add_action(‘init’, ‘include_jQuery’);

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

You must be logged in to reply to this topic.