Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 56,651 through 56,675 (of 64,431 total)
  • Author
    Search Results
  • #65991
    724719
    Inactive

    ok i found out how to put bbPress in WP . all i did was put this in wp-config.php:-

    define('ABSPATH', dirname(__FILE__).'/');
    require_once(ABSPATH.'wp-settings.php');
    require_once('path/to/bbpress/config.php');
    ?>

    …..But how do I show a list of the latest 5 topics ?

    #3640
    724719
    Inactive

    I know this is on the forum but for the life of me i just cannot find it. But I need to show the latest threads on my wordpress site.

    I remember there was something like adding one line to the wp config file or something like that. does anyone know how to go about doing this and show the latest threads?

    thanks

    #65836
    737705
    Inactive

    You sir, are an absolute GENIUS!

    It works!

    I cannot thank you enough, thanks very much.

    Just to confirm that this is only need for IIS7 as IIS6 works just fine with Bbpress.

    Seriously, thank you _ck_ I owe you a drink or something!

    M

    #3639
    756769
    Inactive

    I recently installed bbpress as I was already using a wordpress blog and wanted to add a simple forum to my site. As a strictly technophobic, *simple* was the key point!

    After installing bbpres successfully, I thought it would be nice to integrate the 2. I followed the instructions, but now find when I log-in to the forum as admin I only get an ordinary users rights, ie I can no longer access the admin screens, even if I try to access the url/bb-admin.

    Is there any way I can restore admin rights? or cancel the integration and put thing back as they were? Would a complete re-installation solve the problem? And if so would I lose the forum posts I already put up?

    #65835
    _ck_
    Participant

    I have a crazy idea to try to “fake out” bbPress and make it think request_uri actually exists on the IIS server so it doesn’t try to (incorrectly) calculate it itself.

    Try saving and installing this as a plugin with a leading underscore, ie. _IIS-fix.php

    <?php
    /*
    Plugin Name: IIS request_uri fix
    */
    if (isset($_SERVER['HTTP_REQUEST_URI'])){
    $_SERVER['REQUEST_URI'] = $_SERVER['HTTP_REQUEST_URI'];
    }
    else{
    if(isset($_SERVER['SCRIPT_NAME']))
    $_SERVER['HTTP_REQUEST_URI'] = $_SERVER['SCRIPT_NAME'];
    else
    $_SERVER['HTTP_REQUEST_URI'] = $_SERVER['PHP_SELF'];
    if($_SERVER['QUERY_STRING']){
    $_SERVER['HTTP_REQUEST_URI'] .= '?' . $_SERVER['QUERY_STRING'];
    }
    $_SERVER['REQUEST_URI'] = $_SERVER['HTTP_REQUEST_URI'];
    }
    ?>

    no activation required, should auto-activate – just delete if it causes problems

    #64993

    In reply to: Nicknames

    _ck_
    Participant

    WordPress doesn’t fall back to the regular user name when there’s no nickname? Weird. I’ve been out of touch with the WordPress side for too long perhaps.

    This might be something Sam overlooked in the integration process. We’ll have to ask him when he gets back next week.

    update: see this post for a fix:

    https://bbpress.org/forums/topic/why-is-integration-so-troublesom#post-17389

    #65971
    _ck_
    Participant

    If you are changing a function in pluggable.php, the good news is you do not have to change the core. Just copy the function to a new plugin and edit it there. The plugin will load before “pluggable.php” and superceed the core function. No core edits required.

    Glad you got it working but I really dislike “display names” and I think it’s the worst concept in WordPress. Very bad idea to allow users to spoof other names. Even the “impostercide” plugin doesn’t solve all the issues. No other blog/forum system has such a quirky concept.

    BTW make sure you do NOT use the “Display Name” plugin for bbPress. It has a great deal of issues with other plugins and causes some weird behavior.

    #65970
    755833
    Inactive

    Sorry, didn’t see you post there _ck_. I appreciate the work and effort you guys are putting into things. I’ve used bbPress successfully in the past… see http://www.foronemoreday.co.uk/ which runs a bbPress backend.

    Also I’ll take another look at my integration settings but i’ve been through it a lot already trying to get it to work today.

    Cheers again!

    KJ

    #65801
    _ck_
    Participant

    Oh and “separate wp database”. Does this mean you decided NOT to install bbPress’s tables into the same db as WordPress but a whole new mysql db? I’m not even sure the automated integration can handle that.

    #65969
    755833
    Inactive

    Well I fixed it, if anyone (incl. developers) are interested. Unfortunately it requires modifying a line of core application code…

    pluggable.php in bb-includes

    Line 502

    $bbdb->insert( $bbdb->users,

    compact( ‘user_login’, ‘user_pass’, ‘user_nicename’, ‘user_email’, ‘user_url’, ‘user_registered’ )

    );

    Replace with

    // bbPress / WordPress bug fix added display name to wordpress

    $display_name = $user_login;

    $bbdb->insert( $bbdb->users,

    compact( ‘user_login’, ‘user_pass’, ‘user_nicename’, ‘user_email’, ‘user_url’, ‘user_registered’, ‘display_name’ )

    );

    #65800
    _ck_
    Participant

    It’s really confusing me why suddenly there are so many people having trouble integrating bbPress 0.9 with WordPress 2.5

    You aren’t trying to do what I call “reverse integration” are you – where you install bbPress first and THEN install WordPress? That can only lead to lots of problems (and tears).

    Anyway, the automated integration process should pretty solid, except the part where you have to copy the secret key manually (which I strongly disagree with but that’s the way Sam wants to do it).

    I think I need to install a fresh copy of 2.5 and try integrating 0.9 to see what all these issues are.

    #65968
    _ck_
    Participant

    If you are getting anonymous users, I suspect you haven’t setup integration properly and they are not sharing the same user table.

    As far as your other observations (and I felt he same way in the beginning too) you have to realize that (easy) integration was only a priority starting with 0.9

    (you can see how complicated the process used to be under 0.8 here – note most of that is not needed now)

    Until 0.9, bbPress was just something that ran wordpress.org for Matt and there was no attitude to make integration work. There were tons of problems with usernames etc. and all integration had to be done manually with lots of plugins to fix things.

    Then attitudes changed when Matt got funding and decided to use the bbPress code to power TalkPress (essentially forums for users on WordPress.com) Sam and MDA have done a great deal of work to make integration work better but it definitely has a way to go (and should become painless and super-easy IMHO).

    So 0.9 has made integration easier but keep in mind bbPress is not even 1.0 yet, so officially it’s not even a released product. The radical cookie changes in 2.6 will take awhile for bbPress to catchup, it’s always been that way.

    ps. if it’s not obvious, I am in no way officially associated with Automattic/WordPress/bbPress. Just a plugin developer. And I am not paid. My opinions are definitely just my own and not any kind of official statement.

    #65918

    In reply to: bbpress update soon?

    _ck_
    Participant

    Malfhok, you’ll notice that you cannot stay logged into both sides of WordPress and bbPress if you use the admin area. The cookies have completely changed on the WordPress side.

    #65967
    755833
    Inactive

    From what I can tell the anonymous issue is because users that register through bbPress get added to the wp_users table but the display_name field is left empty. Where do I change the query to put the user_nicename into the display_name on registration, like WordPress does? I’m not sure why bbPress doesn’t do this automatically.

    #3638
    755833
    Inactive

    I’m not meaning to be rude or anything but I’m struggling to understand why two bits of software made by the same company are so hard to integrate? I’ve never managed to get integration working fully and I always get to the point where users who registered through the forum post on the WordPress blog show up as Anonymous… which basically renders the whole process pointless. I’ve managed to get WordPress and vBulletin to integrate seamlessly, but not bbPress.

    bbPress and WordPress are both great pieces of software in their own right, but when it comes to integration with each other they are pretty weak. For example, the new bbPress isn’t compatible with WordPress 2.6 because of an issue with cookie management in WordPress… for the integration to work we now have to wait for bbPress to release an update which according to a moderator on here will be a while away.

    There are also so many unsolved integration threads here that it’s very difficult to find any one collection of possible solutions. I appreciate the amount of work that goes into this kind of software and time required to provide support. I’m just feeling a bit frustrated :(

    #64992

    In reply to: Nicknames

    755833
    Inactive

    I too would like a solution to this. There is a plugin available to do this but it doesn’t work on wordpress 2.5.1. I think I may just have to hack the bbPress registraton queries.

    #65917

    In reply to: bbpress update soon?

    malfhok
    Member

    I have a WP 2.6 install that works perfectly with the 0.9 bbPress branch. Unless there are some specific problems that I haven’t experienced yet.

    #3637
    755628
    Inactive

    Hi.

    This is an extension of this question: http://bbpress.org/forums/topic/hiding-subforums-on-the-homepage#post-11761

    My forum has forums, subforums, and then subforums of those subforums. Basically, there are three levels of forums.

    I was able to hide the subforums from the main forums page. But how do i hide the subforums’ subforums from the subforums pages, so that the visitor must click on the subforum to view the subforums’ subforums.

    I would really appreciate any help on this matter. I am not good at coding so it would be wonderful to get assistance! :)

    #65916

    In reply to: bbpress update soon?

    kernow
    Member

    Think I will stay with 2.5.1 for the time being. Thanks

    #65887
    _ck_
    Participant

    Of course you can do it, bbPress can do almost anything – as long as you code it ;-)

    Showing the gravatar is the easy part, the code to fetch the latest poster and their email address is the tricky part. How’s your mysql?

    Showing a gravatar for any email address is as simple as:

    <img src="<?php echo "http://www.gravatar.com/avatar.php?gravatar_id=".md5($user->user_email); ?>" >

    The mysql code for the email of the last poster is going to need a left join of the users table against the post table and more than I am willing to do right now. I suppose I could be lazy and use get_latest_posts(1, 1) to fetch the entire info the last post and grab the email address from there.

    #65232

    In reply to: Top 100 listings

    724719
    Inactive

    whats the link i want to add mine in : http://www.picbi.com/forum

    ?

    EDIT: CK do you know how to resolve this issue :-

    https://bbpress.org/forums/topic/show-gravatar-on-frontpage

    _ck_
    Participant

    Oh darn I completely missed this one.

    Well the projects that made it as finalists are much bigger, so maybe next year.

    http://sourceforge.net/community/index.php/landing-pages/cca08/

    ps. did you know Sourceforge uses bbPress for it’s forums?

    #65940
    _ck_
    Participant

    bbPress functions with the word “get” in them do not self-echo, they simply return the string. So you have to add echo. You almost have it, for example, this should work:

    <a href="<?php echo bb_get_profile_link(); ?>">My Profile</a>

    And just to confuse you, there are a couple of legacy functions with the word “get” in them that do echo. But they shouldn’t and are rare so don’t worry too much, lol.

    #65936
    _ck_
    Participant

    Well login integration is not as important as the register part. As far as your instructions, I wouldn’t recommend deleting the contents of a core file but the redirect part is okay.

    It occurs to me, it’s actually possible to redirect the register page in bbpress to the wordpress side via plugin with no edits required anywhere.

    Remember that bbPress registration process should catch up to the WordPress side eventually. In fact I like it’s layout better but WordPress’s is more mature code-wise.

Viewing 25 results - 56,651 through 56,675 (of 64,431 total)
Skip to toolbar