Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 50,876 through 50,900 (of 64,459 total)
  • Author
    Search Results
  • #75159
    allenweiss
    Member

    Thank you! That works.

    #75158
    Arturo
    Participant

    use this:

    require_once( $_SERVER . ‘/wp-blog-header.php’ );

    #75157
    allenweiss
    Member

    nevermind…forgot to put in the

    require_once(‘../wp-blog-header.php’);

    this seems to work fine, but I’ve noticed another problem…when you go to the admin page to administer the forum, I get a failure again, like this:

    Warning: require_once(../wp-blog-header.php) [function.require-once]: failed to open stream: No such file or directory in /home/alumnide/public_html/forum/bb-config.php on line 5

    Fatal error: require_once() [function.require]: Failed opening required ‘../wp-blog-header.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/alumnide/public_html/forum/bb-config.php on line 5

    has anybody else gotten past this error?

    #75156
    allenweiss
    Member

    thanks..just did that and get

    Fatal error: Call to undefined function wp_head() in /home/alumnide/public_html/forum/bb-templates/kakumei/header.php on line 33

    am I still missing some code?

    #75155
    Arturo
    Participant

    yes add in header.php wp_head() and in the footer.php wp_footer() the first before </ head> and the second before </ body>

    #75154
    allenweiss
    Member

    Ok..thanks…well, this is what I did, but it doesn’t work. I followed the advice given in the link above:

    1. Created a function called functions.php inside my template folder (bb-templates/kakumei/functions.php) and put in it the code:

    function recreate_bb_admin_bar() {

    echo ‘<div id=”wp-admin-bar”><ul class=”main-nav”>’;

    bp_adminbar_logo();

    bp_adminbar_login_menu();

    bp_adminbar_account_menu();

    bp_adminbar_blogs_menu();

    bp_adminbar_notifications_menu();

    bp_adminbar_authors_menu();

    bp_adminbar_random_menu();

    echo ‘</div>’;

    }

    add_action( ‘wp_footer’, ‘recreate_bb_admin_bar’, 8 );

    add_action( ‘admin_footer’, ‘recreate_bb_admin_bar’ );

    add_action( ‘wp_head’, ‘bp_core_admin_bar_css’, 1 );

    2. Added to my bb-config.php file, this line

    require_once(‘../wp-blog-header.php’);

    Am I still missing something? Thanks

    #15122
    Burt Adsit
    Member

    Sam, I followed your instructions for bbpress integration I ran across in this thread:

    Error messages with bbPress and WP’s WP_CACHE

    and it doesn’t work. The result is that if I login to bbpress, it logs me out of wpmu. If I login to wpmu it logs me out of bbpress.

    bbpress rc3 – trunk r2162

    bbpress Integration plugin 1.0-rc3

    wpmu 2.7.1 from the download zip

    All downloaded and installed fresh on my Windows dev box. I’ll come back to this after I’ve finished my post graduate work in particle physics.

    #75034
    Burt Adsit
    Member

    Sam, I followed your instructions above for bbpress integration and it doesn’t work. The result is that if I login to bbpress, it logs me out of wpmu. If I login to wpmu it logs me out of bbpress.

    bbpress rc3 – trunk r2162

    bbpress Integration plugin 1.0-rc3

    wpmu 2.7.1 from the download zip

    All downloaded and installed fresh on my Windows dev box. I’ll come back to this after I’ve finished my post graduate work in particle physics.

    md-bappy
    Member

    I’v to integrate wordpress, bbpress and buddypress. I installed bbpress in locally, as instruction found in site “http://theeasybutton.com/blog/2009/04/25/integrate-bp-bbpress-wpmu/&#8221;. After installing and setting cookie as instruction given, i’m unable to concurrent log-in or log-out. Please someone help me how can i escape from such kind of synchronization problem.

    #75147

    Why not load the bbPress environment and then call function to check is user is logged in? I have done the same in WP, so I think it might be possible in bbPress very easily too.

    For WP

    // load the WP environment so that I can call on the WP functions to make sure that user is logged in before accessing members area
    require( dirname(__FILE__) . '/wp-load.php' );

    if (!is_user_logged_in()) // You can't access the members area without login. Now can you?
    {
    auth_redirect();
    }

    For bbPress, it should be like

    require('./bb-load.php');
    // find the name of the function you will need

    #75153

    If it doesn’t exist, go ahead and make one. WordPress and bbPress are designed to look for that file regardless.

    #74571

    The last post from johnjamesjacoby got the cookies between WordPress MU and bbPress working, but now it seems I can’t logout from either WPMU or bb. I don’t see any error messages upon logging in.

    Anything I should look for?

    #75152
    allenweiss
    Member

    Hmm..it looks like they say to use the functions.php file (for the theme) to add the code, but I don’t see such a functions file…am I missing something obvious?

    #75151
    allenweiss
    Member

    Thanks all, I’ll give this a try.

    Best wishes,

    Allen

    #75150
    Arturo
    Participant

    allen force the loading of adminbar… see this 3d: https://buddypress.org/forums/topic.php?id=1152#post-16955

    #75149
    chrishajer
    Participant

    I posted this a few weeks back. Someone was going to post a “how to” of exactly that:

    bbPress, WPMU and BuddyPress Integration help is coming

    Doesn’t look like the linked-to pages have been updated yet.

    #75143
    chrishajer
    Participant

    The allowable HTML tags are in an array called bb_allowed_tags. I think you could create a plugin that just empties that array.

    https://bbpress.org/forums/topic/hooks-038-filters-docu#post-6740

    I’ve only seen people requesting the opposite, allowing additional HTML markup, so I’m not sure exactly how to do this.

    #75146
    michael3185
    Member

    I use this to stop people accessing the profile page unless logged-in;

    <?php if ( !bb_is_user_logged_in() ) {
    show_error_page('log-in to access profiles');
    exit;
    } ?>

    Something along those line should work with a link to somewhere else, assuming they’re in a bbPress page to begin with.

    #75148
    johnhiler
    Member

    This is probably possible through a custom plugin. But you probably want to ask over at the Buddypress forums…

    #15118
    allenweiss
    Member

    Is there a way to have the top navigation bar from BuddyPress (that shows My Account, Notifcations, etc.) also show when using the bbPress forum? It seems this makes sense if there were really integration between bbPress and BuddyPress.

    Thanks

    #15117
    yutt
    Member

    I’m trying to figure out how to verify a user is logged into BBpress before granting access on a non-bbpress page.

    I’m currently trying to use: bb_auth() with limited success. It seems there are a lot of includes necessary. Is there a single file I can include that will load all of the mandatory functions for bb_auth?

    #15116
    Burakhan
    Member

    Hi everyone,

    I want to disable HTML codes in posts. I am using “BBcode Lite for bbPress” and I dont need html codes to edit my post. When my member want to add a HTML code that is useful to forums the code works and havent seen properly. How can I disable?

    #73609
    Detective
    Member

    Now I get an odd behavior:

    – if the user logs in inside WP, he appears logged in in both WP and BB, but he can’t post in BB. If he has admin rights, he can’t see bb-admin.

    – if the user logs in inside BB, everything works ok in both WP and BB.

    So I redirected all logins to BB.

    In mu-plugins I added the following:

    function rk_login_redirect() {
    if (strpos($_SERVER['REQUEST_URI'], 'wp-login.php') !== false && $_GET['action'] != 'logout' ) {
    $url = 'http://foros.ryuuko.cl/bb-login.php';
    $redirect = urlencode(wp_get_referer());
    $url = add_query_arg('redirect_to', $redirect, $url);
    wp_redirect($url);
    }
    }
    add_action('init', 'rk_login_redirect');

    In a plugin in my-plugins I added:

    add_filter('wp_redirect', 'rk_redirect_location');
    function rk_redirect_location($location, $status = 302) {
    $arr = array();
    $ref = wp_get_referer();
    $url_array = parse_url($ref);
    parse_str($url_array['query'], $arr);

    if (isset($arr['redirect_to']) && !empty($arr['redirect_to'])) {
    $url = urldecode($arr['redirect_to']);
    $url_array = parse_url($url);
    if (strpos($url_array['host'], 'ryuuko.cl') !== false)
    $location = $url;
    }
    return $location;
    }

    #75139
    michael3185
    Member

    Quick answer as I’m here at the moment Andy. Yes, you can have both running at the same time, and integrated to use the same user log-in details as far as I can tell (I just use bbPress stand-alone, having no use for WordPress at the moment).

    Have a read through the forum sections; there are tons of questions and answers under ‘integration’.

    #15115

    I’m looking for a solution to my problem, and not sure if this could be it.

    At the moment I have my website on WordPress and I’ve been needing a forum board for users. But I’ve had to have it so you have a account with proboards and a seperate account with WordPress for the main website.

    I want it so you have one account for both of them. While being able to comment on the boards and contribute on the main website.

    will bbPress allow me to do this? If not, what will?

    Thanks in advance

    -Andy

Viewing 25 results - 50,876 through 50,900 (of 64,459 total)
Skip to toolbar