Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

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

  • garynagel
    Participant

    @garynagel

    thats still does not solve my problem

    I’ll try to explain my issue better I am testing buddypress for a school program and I need Super Admin (tech guy) and Admin (it trainers) Authors (teachers) to be able to create blogs, However there is not option to limit only admins to the create a blog option.

    Say Im a teacher and I ad a student in my blog as a subscriber

    that kid could now create a blog and it auto makes him an admin of the blog

    I need to be able to restrict subscribers and editors from the create a blog option but allow Super Admin, Admin, and Authors access to the create a blog.

    I don’t wish to give any Teachers super admin access that would open up trouble in itself.


    garynagel
    Participant

    @garynagel

    I got thru the first part fine but when I add

    global $current_user;

    if ( isset( $roles[‘administrator’] ) || isset( $roles[‘editor’] ) || isset( $roles[‘contributor’] ) || is_site_admin() )

    this gets ignored site admin still get the creat blog option however editors do not.

    Im just trying to block contrib and subscibers from being able to create a new blog option

Viewing 2 replies - 1 through 2 (of 2 total)
Skip to toolbar