Skip to:
Content
Pages
Categories
Search
Top
Bottom

New Private Community Plugin For BP

  • Avatar of bp-help
    bp-help
    Participant

    @bphelp

    Actually it is just some hacks I threw together and packaged it as a plugin. Being as I am new to this and not that great with plugins I am asking for someone with more skills to take what I threw together and add some dashboard options as you can read in the notes section in the readme.txt file. As is it blocks access to all BP pages to non logged in users and redirects them to register. I have asked @sbrajesh ‘s help as well. I don’t want any credit on this because I am still a noob and haven’t earned the right to get credit yet. I just would like someone with more experience to take it and add dashboard settings or whatever to make a viable private community for bp plugin to help the BP community. The link to it is below. Thank you and I hope someone can do something cool with it.
    https://github.com/bphelp/private_community_for_bp

Viewing 8 replies - 1 through 8 (of 8 total)
  • Avatar of bp-help
    bp-help
    Participant

    @bphelp

    @mercime @hnla @modemlooper Sorry I meant to post this in Creating and Extending. Could one of you move it there please? Thank you!

    Avatar of bp-help
    bp-help
    Participant

    @bphelp

    Sorry I forgot to mention I have tested it to work from WP 3.2.1 BP 1.5.1 through WP 3.5.1 BP 1.7 beta1 As long as your within this range it should work for you! Thanks!

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    @bphelp moved to Creating and Extending Forum per request

    Avatar of Halfdan87
    Halfdan87
    Participant

    @halfdan87

    Hi @bphelp,

    first I want to thank you for your plugin :) .

    I have one problem with it and I think it belongs to my theme and my not existing php-skills :) . Perhaps you can help me? I was searching for a solution the last two days, but without success. So I will try my luck here.

    I tried to activate the plugin over wordpress and in a second step I copied the needed code to my child themes functions.php, but I always get the following error:

    Warning: Cannot modify header information – headers already sent by (output started at …/wp-content/themes/theme/design.php:2) in …/wp-includes/pluggable.php on line 876

    I found some solutions for such errors, but nothing works for me.

    Many thanks in advance

    Greetings

    Avatar of bp-help
    bp-help
    Participant

    @bphelp

    @halfdan87 Sounds like you may have introduced some white-space when you copied the code. Make sure there is no white-space lines before or after the opening and closing PHP tags.

    Avatar of Halfdan87
    Halfdan87
    Participant

    @halfdan87

    Good morning @bphelp,

    thanks four your reply :) . I checked if there is some white-space (you mean in the design.php am I right?). Here is the code of the design.php – I think the problem is, that the design.php starts with the following code:

    <!doctype html>
    <?php global $theLayout, $theHeader, $themePath, $theFooter, $body_color, $header_color, $footer_color;?>
    <!–[if lt IE 7 ]> <html lang=”en” class=”no-js ie6″> <![endif]–>
    <!–[if IE 7 ]>    <html lang=”en” class=”no-js ie7″> <![endif]–>
    <!–[if IE 8 ]>    <html lang=”en” class=”no-js ie8″> <![endif]–>
    <!–[if IE 9 ]>    <html lang=”en” class=”no-js ie9″> <![endif]–>
    <!–[if (gt IE 9)|!(IE)]><!–> <html class=”no-js” <?php language_attributes(); ?>> <!–<![endif]–>
    <head>
    <?php get_header(‘default’);?>
    </head>

    Do you think that’s the problem? If yes, do I have an chance to get a workaround with this?

    Thank you

    Avatar of bp-help
    bp-help
    Participant

    @bphelp

    @halfdan87 I think your issue would be better suited by starting a new thread. I am fairly new at this myself and being that your issue seems to be more of a custom theme issue than to do with the plugin then it isn’t appropriate for this thread. In general I just think you would get more help by opening your own thread to see if more experienced folk can help sort your issue.

    Avatar of bp-help
    bp-help
    Participant

    @bphelp

    I updated this so if your using an older version download, upload, and activate it. It fixes a bug but I don’t feel my skills or the plugin is polished enough yet to submit it to the WP Repo. Still works decent though.
    https://github.com/bphelp/private_community_for_bp

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

You must be logged in to reply to this topic.