Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 59,601 through 59,625 (of 64,416 total)
  • Author
    Search Results
  • #2471
    drtech
    Participant

    I am using the Safari browser. The bbPress Extend page reads up recent updates far to the right.

    It may be my browser.

    #49501
    smu
    Member

    For the Danish translation see this topic:

    https://bbpress.org/forums/topic/danish-translation

    #2470
    Daniel Juhl
    Participant

    I’ve found a great danish translation here on bbPress.org, but now I’ve installed some plugins, and I new a few more texts to the language file.

    How do I add new text-lines? I’m new to poEdit.

    jschleifer
    Member

    I just upgraded to the latest wordpress 2.3 and bbpress 0.8.3 and now when I try and access any page I get the following error at the top of the page:

    Warning: Invalid argument supplied for foreach() in bb-settings.php on line 173

    I checked the bb-settings.php file and the line looks like:

    foreach ( glob(BBPLUGINDIR . ‘_*.php’) as $_plugin )

    I checked BBPLUGINDIR to see if it’s been set correctly, and it does indeed point to the location of my-plugins.

    I’m running PHP5 with a mamp server on os x.. I’ve never had a problem with bbpress before (being using it for a few months now), and only saw this error with the upgrade.

    has anyone else seen this, or know how to remove it?

    cheers,

    Jason

    #61006
    Sam Bauers
    Participant

    bbPress themes are similar, but not drag-and-drop compatible with WordPress themes. What you are suggesting won’t work.

    You will need to create a new bbPress theme to match your existing theme.

    #2467
    pccme
    Member

    Hi everyone,

    I’m running wp 2.1.3 and I’ve just installed bbpress. The installation goes fine, and it seems that bbpress is using my admin account for wp so that is ok.

    However, I dont’t want to use the “Kakumei” theme. Can I just use the same theme that I have activated for my wp site? That would mean I have to upload the theme files again, to the bbpress theme directory?

    My bbpress installation is in a subdirectory to my wp site. According to the installation docs, that should be fine.

    #61005

    In reply to: Hot Tags Font size

    chrishajer
    Participant

    http://blueplato.com/forums/bbpress is not accessible (gives a 404). I was going to look at the theme you are using because that is not the default for the bb_tag_heat_map: <?php bb_tag_heat_map(9 38 ‘pt’ 80); ?>

    This is the default from https://trac.bbpress.org/browser/trunk/bb-templates/kakumei/front-page.php#L7

    <?php bb_tag_heat_map(); ?>

    So, what do the numbers mean? Looking at that function in bb-includes/teamplate-functions.php around line 1574, here’s what the defaults are, and mean:

    $defaults = array( 'smallest' => 8, 'largest' => 22, 'unit' => 'pt', 'limit' => 45, 'format' => 'flat' );

    Looks like you define the smallest size, largest size, the unit of measure, the max size and then a format (not sure what that last one does.)

    So, my guess is you would change those. At the very least you need to put comments between the arguments in the function call in your front-page.php: your example shows none. And you might want to add that last argument – not sure what happens when it’s missing.

    #2464
    inimicus
    Member

    Hi!

    I am trying out BB for the first time, but upon running install.php I get this:

    hide_errors(); $installed = $bbdb->get_results("SELECT * FROM $bbdb->forums LIMIT 1"); if ( $installed ) : if ( !$new_keymaster = bb_get_option( 'new_keymaster' ) ) die(sprintf(__('
    Already Installed

    You appear to have already installed bbPress. Perhaps you meant to upgrade instead?

    To reinstall please clear your old database tables first.
    ') . '', bb_get_option( 'uri' ) . 'bb-admin/upgrade.php')); $meta_key = $bb_table_prefix . 'capabilities'; $keymaster = false; if ( $keymasters = $bbdb->get_results("SELECT * FROM $bbdb->usermeta WHERE meta_key = '$meta_key' AND meta_value LIKE '%keymaster%'") ) { foreach ( $keymasters as $potential ) { $pot_array = unserialize($potential->meta_value); if ( is_array($pot_array) && array_key_exists('keymaster', $pot_array) && true === $pot_array['keymaster'] ) die(__('
    Already Installed

    You appear to have already installed bbPress. Perhaps you meant to run the upgrade scripts instead? To reinstall please clear your old database tables first.
    ') . ''); } } $user = new BB_User( $new_keymaster ); if ( $user->data ) : $user->set_role( 'keymaster' ); ?>

    data->user_login); ?>

    show_errors(); switch ($step): case 0: ?>

    hide_errors(); if ( $users = $bbdb->get_var("SELECT ID FROM $bbdb->users LIMIT 1") ) { $meta_key = $bb_table_prefix . 'capabilities'; if ( $keymasters = $bbdb->get_results("SELECT * FROM $bbdb->usermeta WHERE meta_key = '$meta_key' AND meta_value LIKE '%keymaster%'") ) { foreach ( $keymasters as $potential ) { $pot_array = unserialize($potential->meta_value); if ( array_key_exists('keymaster', $pot_array) && true === $pot_array['keymaster'] ) { $keymaster = (int) $potential->user_id; break; } } if ( $keymaster ) $keymaster = $bbdb->get_row("SELECT * FROM $bbdb->users WHERE ID = '$keymaster'"); } } $bbdb->show_errors(); } ?>

    everything (database information, email address, etc.) entered correctly in config.php before running this script.'); ?>
    add('domain', __('Your $bb->domain setting must not end in a backslash "/".') ); $domain = parse_url($bbd); if ( !$domain ) $errors->add('domain', __('Your $bb->domain setting cannot be parsed.') ); // Not very helpful, but should essentially never happen. if ( !$domain['scheme'] ) $errors->add('domain', __('Your $bb->domain setting must start with http://.') ); if ( $domain['path'] && '/' != $domain['path'] ) $errors->add('domain', __('Your $bb->domain setting must only include the http:// and the domain name; it may not include any directories or path information.') ); if ( '/' != $bbp{0} ) $errors->add('path', __('Your $bb->path setting must start with a backslash "/".') ); if ( '/' != substr($bbp, -1) ) $errors->add('path', __('Your $bb->path setting must end with a backslash "/".') ); // We don't really do anything with $bb->wp_site_url. if ( $wph = bb_get_option( 'wp_home' ) ) { if ( '/' == $wph{strlen($wph) - 1} ) $errors->add('wp_home', __('Your $bb->wp_home setting must not end in a backslash "/".') ); $home = parse_url($wph); if ( !$home ) $errors->add('wp_home', __('Your $bb->wp_home setting cannot be parsed.') ); if ( !$home['scheme'] ) $errors->add('wp_home', __('Your $bb->wp_home setting must start with http://.') ); if ( preg_match('|(.*.)?([^.]+.[^.]+)|', $domain['host'], $d2 ) && preg_match('|(.*.)?([^.]+.[^.]+)|', $home['host'], $h2 )) if ( $d2[2] != $h2[2] ) $errors->add('cookie', __('Your $bb->domain and $bb->wp_home settings do not have the same domain.
    You cannot share login cookies between the two.
    Remove the $bb->wp_home setting from your config.php file.') ); if ( !strstr($bbp, $home['path'] . '/') ) $notices->add('cookie', __("Your bbPress URL ({$bbd}$bbp) is not a subdirectory of your WordPress URL ($bb->wp_home).
    Sharing login cookies is possible but is more complicated. See the documentation about integrating bbPress and WordPress.
    In the meantime, remove the $bb->wp_home setting from your config.php file, or you may not be able to log in.") ); } if ( $cd = bb_get_option( 'cookiedomain' ) ) { if ( '.' == $cd{0} ) $cd = substr($cd, 1); if ( !strstr($bbd, $cd) ) $errors->add('cookie', __('Your $bb->cookiedomain is not in the same domain as your $bb->domain. You will not be able to log in.') ); } $cp = bb_get_option( 'cookiepath' ); if ( $cp != preg_replace('|https?://[^/]+|i', '', bb_get_option( 'wp_home' ) . '/') && !strstr($bbp, $cp) ) $notices->add('cookie', __('Your bbPress URL $bb->path is outside of your $bb->cookiepath. You may not be able to log in.') ); if ( $ecodes = $errors->get_error_codes() ) { echo "

    * n"; if ( in_array('domain', $ecodes) ) foreach ( $errors->get_error_messages( 'domain' ) as $message ) echo "t$message
    * n"; if ( in_array('path', $ecodes) ) foreach ( $errors->get_error_messages( 'path' ) as $message ) echo "t$message
    * n"; if ( in_array('wp_home', $ecodes) ) foreach ( $errors->get_error_messages( 'wp_home' ) as $message ) echo "t$message
    * n"; if ( array('cookie') == $ecodes ) { // Only show cookie errors if nothing else is wrong foreach ( $errors->get_error_messages( 'cookie' ) as $message ) echo "t$message
    n"; echo "

    n"; break; } echo "n"; echo "

    It continues from there…

    The problem is, I have never installed BBPress. I went to MySQL after I got the error the first time, made a database for BB called “bbpress” but still get the error (even though the database is new, fresh and entirely empty). What’s up?

    #2463
    Daniel Juhl
    Participant

    Why does bbPress go to a standard bbPress error-page, if the users doesn’t write anything in his post?

    Wouldn’t it be smarter to show a page from the template, so that you can modify it as you want to?

    #2462

    Topic: phpBB3.0-style theme

    in forum Showcase
    andersson
    Participant

    when re-arranging one of my sites a bit the other day I took the opportunity to change my bbpress-theme to mimic the new phpBB3.0-style.

    any feedback is welcome. you find my bbpress installation here:

    http://www.purposegames.com/forums

    #60962

    In reply to: Cannot select DB

    lookfab
    Member

    Well, problem solved. The WordPress FAQ suggests resetting your MySQL password manually if you have problems connecting to the db. I did so using the MySQL client and now both WP and bbpress seem to be working fine.

    Thanks for the input.

    jolaedana
    Member

    I’ve been working with chrishajer from the forums here on this one, and thanks to his help the problem was discovered and solved.

    Somehow, the “parent” value of each forum was set to 1 instead of 0, but because there was no parent with an id of 1, they weren’t showing up. We went in via PHPmyAdmin, and changed that parent value in the tables from 1 to 0, and they showed up just fine. I never had these under a parent forum.

    Guessing this may have been caused somehow during the database changes during the update? Unsure, but many thanks to Chris for his great help. :)

    #60961

    In reply to: Cannot select DB

    lookfab
    Member

    Yes, the wordpress user exists. The passwords are the same.

    The really strange thing now is that WP has stopped working (it did before I started tinkering with bbpress). I get “Error establishing a database connection” when I try to view the blog.

    Even weirder, it seems that IIS “forgot” that index.php was a valid default page. I had to go back in and change this setting.

    #60518

    How are you calling bbPress from WordPress?

    There seems to be something wrong with your webserver. Requests to a real pdf file should not be executing any PHP at all.

    jolaedana
    Member

    I didn’t have any parent children forums- stayed away from that and kept it all top level.

    I basically just modified the basic theme that comes with the forums- the only thing I changed was the CSS, so the index.php file should be the same, aside from the few things I added in to call the “who’s online” list and the like.

    <?php

    require(‘./bb-load.php’);

    $bb_db_override = false;

    do_action( ‘bb_index.php_pre_db’, ” );

    if ( isset($_GET) && ‘1’ == $_GET ) :

    $forums = false;

    elseif ( !$bb_db_override ) :

    $forums = get_forums(); // Comment to hide forums

    $topics = get_latest_topics();

    $super_stickies = get_sticky_topics();

    endif;

    do_action( ‘bb_index.php’, ” );

    bb_load_template( ‘front-page.php’, array(‘bb_db_override’, ‘super_stickies’) );

    ?>

    On second thought, I’m not sure how much that will help. Prior to upgrading, did you have hierarchical forums (parents and children)?

    Strange indeed. Can you open up your theme’s index.php and paste the code that displays the forum table? (If you need help finding that code, just let me know).

    jolaedana
    Member

    I’m getting the vibe this is a mystery. :( I haven’t been able to find anything similar so far, and looking through the source hasn’t helped out at all either.

    #57907
    Jaithn
    Member
    And this line to use the user table from wpmu.

    define('CUSTOM_USER_TABLE', 'wp_users');

    And IIRC, that's already in the config file, just commented out.

    i don’t have these lines in my bbpress config file…do i need them?

    jaithn

    #60960

    In reply to: Cannot select DB

    chrishajer
    Participant

    Is there anything logged by MySQL? Does the wordpress user actually exist, and is the password in both wp-config.php and (bbpress) config.php the same?

    Sorta stumped …

    #59560
    _ck_
    Participant

    New (permanent) home for the showcase:

    http://bbshowcase.org/forums/

    In other news I’ll be returning to work on the showcase later this week/month and finally updating the list as well as releasing some more plugins/themes.

    #60096

    In reply to: top 100 bbPress sites

    _ck_
    Participant

    New (permanent) home for the list and the showcase:

    http://bbshowcase.org/forums/view/top100

    In other news I’ll be returning to work on the showcase later this week/month and finally updating the list as well as releasing some more plugins/themes.

    #60954
    _ck_
    Participant
    #60959

    In reply to: Cannot select DB

    lookfab
    Member

    Thanks Chris.

    > can you try connecting to that database

    Yes, I did this with the MySQL cmd line client and I can connect fine. The bbpress settings are really simple:

    // ** MySQL settings ** //

    define(‘BBDB_NAME’, ‘wordpress’);

    define(‘BBDB_USER’, ‘wordpress’);

    define(‘BBDB_PASSWORD’, ‘XXXXXXXX’);

    define(‘BBDB_HOST’, ‘localhost’);

    define(‘BBDB_CHARSET’, ‘utf8’);

    define(‘BBDB_COLLATE’, ”);

    And for WP:

    // ** MySQL settings ** //

    define(‘DB_NAME’, ‘wordpress’);

    define(‘DB_USER’, ‘wordpress’);

    define(‘DB_PASSWORD’, ‘XXXXXXXX’);

    define(‘DB_HOST’, ‘localhost’);

    Here is the info from the MySQL database after connecting as the ‘wordpress’ user:

    mysql> show databases;

    +


    +

    | Database |

    +


    +

    | information_schema |

    | wordpress |

    +


    +

    3 rows in set (0.00 sec)

    Is there any way to get more detailed diagnostic info from the install process?

    #60958

    In reply to: Cannot select DB

    chrishajer
    Participant

    If it cannot connect to the database, but the database server is working with WordPress, then I suspect something is wrong in the config.php for bbPress. Since we can’t help you with that on your local machine, can you try connecting to that database using the connection details you entered in config.php, with some other tool (phpMyAdmin or whatever comes with a MySQL install)?

Viewing 25 results - 59,601 through 59,625 (of 64,416 total)
Skip to toolbar