Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 55,376 through 55,400 (of 64,449 total)
  • Author
    Search Results
  • #55734
    cayoba
    Member

    really the only functions I need is in my header the <?php wp_list_pages(‘title_li=’); ?> for my nav bar, and in my sidebar <?php wp_list_categories(‘title_li=’); ?> is there a way to do these functions in bbpress without loading the entire wp functions this way it may not be breaking. because its the require once wp functions that is breaking my login stuff

    #55733
    nekita
    Member

    I think it was pointed out by Sam that deep integration is still partially broken in Alpha2.

    Personally I think that this will always be a source for potential problems and decided to just emulate my wp scheme in bbpress.

    #68203
    Bharat Karavadra
    Participant

    With 1.0 alpha 2 I have found that the logins work independently for WordPress and bbPress when they have been integrated.

    So I can login into WordPress but also have to login to bbPress – the login isn’t remembered, and the same the other way aorund. When I login into bbPress, I have to then login into WordPress.

    But hey, at least the logins are being shared and this seems good enough for me to make the bbPress forums live.

    However there seems to be some partial login working between WordPress and bbPress as you will see as follows with respect to some analysis I did.

    I hope this is of some use to the team.

    LOGIN AS ADMIN:

    LOGIN ON WORDPRESS:

    Login OK and admin features OK on WordPress

    Not logged into bbPress (e.g. register link and login boxes appear)

    When trying to access /bbpress/bb-admin – redirected back to /bbpress

    Log out of WordPress and..

    LOGIN ON BBPRESS:

    Login OK and admin features OK on bbPress

    Not Logged into WordPress properly (e.g. comments section says login/register and no comments text area, register/login links appear in meta section)

    However, when trying to access /wordpress/wp-admin – appears as logged in as admin OK with all admin features in admin area only.

    LOGIN AS USER:

    LOGIN ON WORDPRESS:

    SAME AS FOR ADMIN:Login OK and admin features OK on WordPress

    SAME AS FOR ADMIN:Not logged into bbPress (e.g. register link and login boxes appear)

    When trying to access /bbpress/bb-admin – redirected back to /bbpress

    Log out of WordPress and..

    LOGIN ON BBPRESS:

    Login OK and profile features OK on bbPress

    Not logged into WordPress

    However, trying to access /wordpress/wp-admin – appears as logged in (obviously with no admin features).

    #55732
    cayoba
    Member

    ok I changed the require once to this code

    $bb->WP_BB = true;

    if (file_exists(‘../wp-blog-header.php’))

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

    else

    if (file_exists(‘../../wp-blog-header.php’))

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

    it got rid of the errors, however, now when i click on the admin link, after logging in, it just refreshes the page and does not bring me to the admin so now im exactly where victor is with his problem

    #55731
    cayoba
    Member

    ok I have removed alpha 1 and tried alpha 2, now it will log in however, when I click admin this is what I get Warning: require_once(../wp-blog-header.php) [function.require-once]: failed to open stream: No such file or directory in /home/rosebud1/public_html/forums/bb-config.php on line 2

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

    im confused because it does the wp functions in the header before I login so im lost.

    #68268
    chrishajer
    Participant

    You’re absolutely right. The only bbPress table with data in it is bb_meta, with 15 rows. None of the other bbPress tables have any data in them.

    I did change the bb_ table prefix to bbpress_ and used a different one for WordPress too (wordpress_ instead of wp_) but that was all done pre-installation. The tables are there, just no data in them. It did read the WordPress user table at some point and told me the username to log in with, and “use current password” or something similar. So, somehere along the way, it died. I’m less concerned with getting my install fixed and more concerned with getting the installer fixed.

    Radium
    Member

    Yeah it wasn’t an issue with alpha 1 for me either. It must be something about bbpress that was changed.

    #68202
    nekita
    Member

    Thank you for your hard work and congrats on the progress. I’ll be Upgrading tomorrow.

    nekita
    Member

    Also this wasn’t a problem with Alpha 1, right? At least it wasn’t for me…

    #63055
    zigx
    Member

    anyone know if this plugin works with the latest bbpress? (0.9.0.2 )

    I cant seem to get it to work.

    Plugin is activated, but links do not have _blank added into the <a tag.

    any ideas? thank you!!

    #4130
    chrishajer
    Participant

    WordPress 2.6.2 svn checkout r8849

    bbPress trunk svn checkout r1794

    I installed WordPress first and that went fine. I logged in and changed my password. Then I went to install bbPress. bbPress installation appeared to go fine. I used simple keys with WordPress so that bbPress wouldn’t choke on them.

    I got to the final step and got a message “There were some errors encountered during installation!” and then I checked off “Show messages” to reveal the following:

    “Forum could not be created!” (that may have been visible before revealing the messages as well – I can’t recall.)

    After that, I tried to access the forum anyway, but I get an error in Firefox3:

    Redirect Loop

    Firefox has detected that the server is redirecting the request for this address in a way that will never complete.

    The browser has stopped trying to retrieve the requested item. The site is redirecting the request in a way that will never complete.
    * Have you disabled or blocked cookies required by this site?
    * NOTE: If accepting the site's cookies does not resolve the problem, it is likely a server configuration issue and not your computer.

     

    There is no .htaccess in the WordPress directory or in the bbPress directory. bbPress was installed in a subdirectory of WordPress.

    /var/www/htdocs/ch/wordpress

    /var/www/htdocs/ch/wordpress/forums

    Any ideas?

    #55730
    cayoba
    Member

    I am having the same problem and I do have the <?php if ( is_bb_profile() ) profile_menu(); ?> in the header, it just resets, if i remove the require_once(‘../wp-blog-header.php’); it will log me in, other wise it just refreshes as if im not logged in.

    #68106
    chrishajer
    Participant

    Right, it is more complex than that. Since the function returns an array it’s up to you do figure out how to display it. Also, looking at the widget code is a pretty good start of how to go about getting the data out of that array. And the readme file is also good.

    #68105
    patung
    Member

    Fair enough I don’t know php from my elbow, it’s just with other plugins, including some you can use as a widget, if you don’t use the widget they tell you what code to stick in the sidebar and it’s usually just like <?php call_to_some_function(); ?> but if this is more complex than that then ok.

    Btw ignore what I said about cpu usage, I can’t re-create it so must have been something else.

    #68201
    Bharat Karavadra
    Participant

    Thank you!

    chrishajer
    Participant

    Looks like the key I posted in the beginning there is not properly escaped within code blocks either. You can see the original key here, and how I posted it. If you check the source of that post, you can see how bbPress parsed it.

    More info here, in the original format:

    http://www.chrishajer.com/bbpress/wp-key.txt

    chrishajer
    Participant

    d\EtHv;aK&V9;)L@rZ7-{P~u}~C~”N4O]=Cnw1pl=c2 !6-~b6!VHt9n;>&Tj-

    That was my AUTH_KEY for WordPress 2.6.2 which was working fine. When I tried to integrate bbPress, it apparently read that key, but on step three of the installer, I saw this error:

    http://www.chrishajer.com/bbpress/installer-step-3.png

    As you can see, part of that key is displayed there (&Tj-) and I suspect it shouldn’t be, and was not being used properly in this case.

    I wonder if this is why so many people are having log in/log out issues with WordPress integration. I am going to try a plain vanilla key (alphanumeric only) and see how that works.

    #68104
    chrishajer
    Participant

    It’s not a secret, it’s just not bbPress specific, it’s PHP. You need to loop through the array that is returned by that function. If you’re not comfortable learning enough PHP to accomplish that with the function, maybe you’d be better off the the widget. That’s why WordPress created widgets in the first place. It’s for people who don’t want to mess with PHP code. It’s drag and drop. Maybe enabling widgets in your theme would be easier than learning the proper way to loop through this array.

    #68103
    patung
    Member

    Ok, so it’s a secret… ;)

    This is what I tried <?php bbpress_live_get_topics(); ?>

    and also <?php bbpress_live_get_topics("1"); ?>

    Don’t know if they are right, but anyway I just noticed it says it needs 2.6.2 and I just use 2.6.

    Also, would this plugin make any special claims on cpu and load average, because I suspect it might, just by activating, not even using it on a page?

    #68199
    Bharat Karavadra
    Participant

    Hi,

    Installed a zip package of alpha 2 and it went OK and as I couldn’t quite get the logins to work for WP and bbP and tried installing it again.

    I saw a few messages about install packages not being complete so I downloaded this second one.

    Now when I try to install it, on the final screen it give the following PHP error – but the install seems OK.

    Warning: chmod() [function.chmod]: Operation not permitted in /home/1295/htdocs/www.example.com/public_html/forums/bb-admin/class-install.php on line 1021

    Warning: Cannot modify header information – headers already sent by (output started at /home/1295/htdocs/www.example.com/public_html/forums/bb-admin/class-install.php:1021) in /home/1295/htdocs/www.example.com/public_html/forums/bb-includes/functions.php on line 2902

    I tried a few times but got the same thing, then I comared my first and second packagas and saw that bbpress/bb-admin/class-install.php is very slightl different from line 264

    The file in the first package has 2 if statements and the second has 1 if statement as follows:

    class-install.php from package 1:

    if (!defined(‘BB_INC’)) {

    // Define BB_INC

    // Tell us to load includes because bb-settings.

    php was not loaded

    // bb-settings.php is generally not loaded on

    steps -1, 0 and 1 but

    // there are exceptions, so this is safer than

    just reading the step

    $this->load_includes = true;

    define(‘BB_INC’, ‘bb-includes/’);

    }

    if (!defined(‘BACKPRESS_PATH’)) {

    define(‘BACKPRESS_PATH’, BB_PATH . BB_INC . ‘

    backpress/’);

    }

    class-install.php from package 2:

    if (!defined(‘BACKPRESS_PATH’)) {

    // Define BACKPRESS_PATH

    // Tell us to load includes because bb-settings.

    php was not loaded

    // bb-settings.php is generally not loaded on

    steps -1, 0 and 1 but

    // there are exceptions, so this is safer than

    just reading the step

    $this->load_includes = true;

    define(‘BACKPRESS_PATH’, BB_PATH . BB_INC . ‘

    backpress/’);

    }

    But the weird thing is that when I put back the first class-install.php I still get the error. I’m not too fussed as the install goes OK but it could be quite off putting if users get this PHP error.

    #68262

    In reply to: Cannot Log In

    chrishajer
    Participant

    What version of bbPress are you using, and are you integrated with WordPress?

    #68139
    chrishajer
    Participant

    According to the text in this plugin’s comments, the “remember me” is supposed to change the cookie expiration to 2 weeks out. Does that happen to the cookie when you check the box?

    https://bbpress.org/plugins/topic/year-long-cookies/

    #68261

    In reply to: wordpress Header

    chrishajer
    Participant

    Follow the instructions in the last section of this page:

    https://bbpress.org/documentation/integration-with-wordpress/#func

    You want access to the WordPress functions get_footer() and get_header() so you need to include WordPress in your bbPress.

    Radium
    Member

    There is a problem with cookie sharing mainly in that WordPress fails to (because it doesn’t know it has to) set a cookie required for access to the bbPress admin area.

    But wordpress seems to set a cookie that both bbpress and wordpress recognize (other than not being able to log out via bbpress), and bbpress sets a cookie that only bbpress recogizes. Does bbpress delete/overwrite the wordpress cookie, thus causing wordpress to be logged out after logging in with bbpress?

Viewing 25 results - 55,376 through 55,400 (of 64,449 total)
Skip to toolbar