Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 59,901 through 59,925 (of 64,535 total)
  • Author
    Search Results
  • #2375
    aiitee
    Member

    Hey,

    well, i ve got this msg: Your PHP installation appears to be missing the MySQL which is required for bbPress.

    And well, i have the config.php in the host already, with all the Database info on it. its alright, i checked more than twice, the file is on the correct folder (the only thing i did was change the dorectory name), but since i have 2 databases: one is version 4.x of MYSQL and the other 5.x i already tried with both Databases and i cannot make this happen…

    What should i do?

    Thanks!

    #60579
    benbeltran
    Member

    It seems to be an .htaccess conflict … check your rules.

    #60583
    benbeltran
    Member

    Well, you’d have to edit bbpress’s theme so it suits your website.

    #2374
    dejongsplaza
    Member

    We are looking for a nice forum, so bbPress is an obvious and nice indeed solution. But, how can we integrate bbPress with or into WordPress? I mean, not datebase, cookies etc. (http://bbpress.org/documentation/integration-with-wordpress/), but visual, in our WordPress site?

    #2373
    mpm
    Member

    login between my wpmu installation and my bbpress seem to work okay but when I click on a topic link on the frontpage I get a page not found error from my wpmu installation…

    WPMU: http://www.mpm.org.au (blog signup disabled but you can sign up as a user)

    BBPress: http://www.mpm.org.au/community/

    Previously I did have it all working but only with WP single not MU.

    Any help would be much appreciated!

    This is my config file:

    <?php

    // ** MySQL settings ** //

    define(‘BBDB_NAME’, ‘xxxx’); // The name of the database

    define(‘BBDB_USER’, ‘xxxx_xxxx’); // Your MySQL username

    define(‘BBDB_PASSWORD’, ‘xxxx’); // …and password

    define(‘BBDB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value

    // Change the prefix if you want to have multiple forums in a single database.

    $bb_table_prefix = ‘bb_’; // Only letters, numbers and underscores please!

    // If your bbPress URL is http://bbpress.example.com/forums/ , the examples would be correct.

    // Adjust the domain and path to suit your actual URL.

    // Just the domain name; no directories or path. There should be no trailing slash here.

    $bb->domain = ‘http://www.mpm.org.au&#8217;; // Example: ‘http://bbpress.example.com&#8217;

    // There should be both a leading and trailing slash here. ‘/’ is fine if the site is in root.

    $bb->path = ‘/community/’; // Example: ‘/forums/’

    // What are you going to call me?

    $bb->name = ‘MakePeace Media LTD’;

    // This must be set before running the install script.

    $bb->admin_email = ‘myemail’;

    // Set to true if you want pretty permalinks.

    $bb->mod_rewrite = true;

    // The number of topics that show on each page.

    $bb->page_topics = 15;

    // A user can edit a post for this many minutes after submitting.

    $bb->edit_lock = 60;

    // Your timezone offset. Example: -7 for Pacific Daylight Time.

    $bb->gmt_offset = 0;

    // Change this to localize bbPress. A corresponding MO file for the

    // chosen language must be installed to bb-includes/languages.

    // For example, install de.mo to bb-includes/languages and set BBLANG to ‘de’

    // to enable German language support.

    define(‘BBLANG’, ”);

    // Your Akismet Key. You do not need a key to run bbPress, but if you want to take advantage

    // of Akismet’s powerful spam blocking, you’ll need one. You can get an Akismet key at

    // http://wordpress.com/api-keys/

    $bb->akismet_key = ‘xxxx’; // Example: ‘xxxx’

    // The rest is only useful if you are integrating bbPress with WordPress.

    // If you’re not, just leave the rest as it is.

    $bb->wp_table_prefix = ‘wp_’; // WordPress table prefix. Example: ‘wp_’;

    $bb->wp_home = ‘http://www.mpm.org.au&#8217;; // WordPress – Options->General: Blog address (URL) // No trailing slash. Example: ‘http://example.com&#8217;

    $bb->wp_siteurl = ‘http://www.mpm.org.au&#8217;; // WordPress – Options->General: WordPress address (URL) // No trailing slash. Example: ‘http://example.com&#8217;

    if ( isset( $bb->wp_table_prefix ) ){

    $bb->usercookie = “wordpressuser”;

    $bb->passcookie = “wordpresspass”;

    }

    /* Stop editing */

    if ( !defined(‘BBPATH’) )

    define(‘BBPATH’, dirname(__FILE__) . ‘/’ );

    require_once( BBPATH . ‘bb-settings.php’ );

    ?>

    #60535
    ganzua
    Member

    thanks a lot for the explanation fel64!

    #60577
    kannued
    Participant

    Yes, it was!!!

    #60576
    kannued
    Participant

    Wait, wait, it might be my htaccess file that is causing the problem…..

    #60575
    kannued
    Participant

    And it also says I have 5 users when I only have 2 listed. Those users must be pulled over from bbpress/b also.

    #60574
    kannued
    Participant

    All installs are using the same database. In the config, the table prefix is different for each install. I do not want one profile for all three different forums. They need to use different usernames and logins for each forum. The reason being that two out of my three forums are very restricted where I add them, whereas the other one is for very general use.

    I am also getting on my bbpress/c a post from my bbpress/b which I had never posted to bbpress/c.

    #60573
    chrishajer
    Participant

    Are all the installs using the same database, or in the config, is the table prefix different for each install? Should users be able to use one profile for all 3 different forums, or should they need different usernames and logins for each forum?

    Just curious.

    #2371
    kannued
    Participant

    Hello

    I have three bbpress installs on my website, for three very different forums, example: bbpress/a

    bbpress/b

    bbpress/c

    I am just installing the third one, all are on 8.2.1. I noticed a problem when setting up a test profile. On the third forum, bbpress/c, the profile ID was 2. It took the Profile ID from bbpress/b, the second forum, which has nothing to do with third forum. Now, I am afraid of deleting profile ID 2 from bbpress/c because it may delete profile ID 2 from bbpress/b. So now it appears that even with different names for my installs with different names within the config.php files, that the profile IDS are not differentiantiated. This is a major problem.

    #2370
    kannued
    Participant

    I don’t want my subforums to showup on frontpage as in http://bbpress.org/forums/topic/subforums-and-markup?replies=12

    I tried fel64’s recommendation:

    <?php foreach( $forums as $forum ) : ?>

    //blaaaaah HTML

    <?php endforeach; ?>

    to this sort of thing:

    <?php foreach( $forums as $forum ) :

    if( !$forum->forum_parent ) { ?>

    //blaaaaaah HTML

    <?php }

    enforeach; ?>

    I get an error on line 60,

    Parse error: syntax error, unexpected T_ELSE in front-page.php on line 60

    Line 60 writes

    <?php endif; else : // $forums ?>

    #60534
    fel64
    Member

    && and || are just two different things. && means both things have to be true for the entire result to be true, || means just one needs to be true for the entire result to be true.

    On a german keyboard I think it’s the capital letter on button just left of backspace. On a spanish layout it should be the one two left of enter, the one that also gives you ^ and [ (if I’m looking at the diagrams right). :)

    #60498

    In reply to: Unread Topics

    fel64
    Member

    There is one thing you can do – there’s a generic query filter that executes every time bbdb makes a query. You could use a regex to get the thread numbers from that. (If you don’t know regexes that well I could write it.)

    Probably no design decision behind that, just an oversight. Go to trac, log in using your details here and create a new ticket requesting this (marking it as an enhancement not bug). Mdawaffle (^^) is busy with wp or something at the moment but when he sees it he’ll probably either implement or discuss at least.

    #60537

    In reply to: User ID bug

    chrishajer
    Participant

    I don’t know the answer to the BIGINT and 32 bit signed stuff, but I do know this has happened before, sort of. Maybe this will help you sort it out. Basically, you need to reset the auto_increment user id to something sane. In the past, it happened on conversion from phpBB I think.

    https://bbpress.org/forums/topic/user-id-999999999

    #60533
    ganzua
    Member

    Thanks for the explanation, do you have to put && insted of ||

    “By the way, the backtick ` that indicates code is on the top left button on most English and European characters. :)

    -> sorry for that because I have it quite difficult, I’m using a german keyboard and OS is in Spanish :s

    #60532
    fel64
    Member

    No problem. :)

    Option #3 was a throwaway possibility, not really meant for actual use as it’s rather silly.

    whatever && !is_bbpress() means, literally, that whatever has to be true AND is_bbpress() is not true. The ! operator inverts the boolean meaning, so true becomes false and vice versa. If is_bbpress() is true, ! makes it read as false. If false, it makes it read as true.

    By the way, the backtick ` that indicates code is on the top left button on most English and European characters. :)

    #60531
    ganzua
    Member

    I uploaded to my web so anyone else interested can check.

    Thanks for your help fel64!

    #60530
    ganzua
    Member

    oops! sorry, I didn’t define what happens whe is_bbpress(), I just exclude it.

    now it is working;

    <?php if (

    is_page()

    )

    { ?>

    <!– one ad block –>

    <?php } elseif (

    is_single()

    && !is_bbpress()

    )

    { ?>

    <!– two ad blocks –>

    <?php } elseif (is_bbpress()

    )

    { ?>

    <!– half ad block –>

    <?php } else

    { ?>

    <!– no ads –>

    <?php } ?>

    #60529
    ganzua
    Member

    Well, more or less this is working but now bbpress goes to the last “else” statement and I don’t know why;

    <?php if ( is_page() )

    { ?>

    <!– one ad block –>

    <?php } elseif ( is_single() && !is_bbpress() )

    { ?>

    <!– two ad blocks –>

    <?php } else

    { ?>

    <!– no ads –>

    <?php } ?>

    I haven’t try your third option yet because I didn’t understand quite enough.

    #60528
    ganzua
    Member

    Thanks again fel64,

    I tried the second one because it seemed the easiest to me :) and I think it is working ok.

    This -> ‘ && !is_bbpress() ‘ means “exclude bbpress”, doesn’t it?

    The first one, ” elseif “, is quite interesting -> in my wp custom theme, I turned index.php into a cms which displays what’s new in the whole web, and I created a static page called “blog” to display the “blog” itself.

    Well, with this configuration, whenever you make a is_home statement , the function points to the static page I created and called “blog” and I can’t find the way to make the function to point to my custom index.php main page. Perhaps because the static page I called “blog” has the loop?

    #60527
    fel64
    Member

    Actually the function works just fine, you’re just expecting it to work differently. Try using different flow control or rewriting your logic.

    if( blah_is_true() ) {

    } elseif( foo_is_true() ) {

    } elseif( third_thing_is_true() ) {

    } else {
    // default
    }

    The elseifs mean that if a previous if statement was true, none of the successive ones will be tried. That way, if it is bb, it won’t even check if it’s single or a page.

    Alternatively,

    if( ( is_single() || is_page() ) && !is_bbpress() ) {

    }

    will work just fine.

    If you’ve integrated bb into wp that way, of course some of the WP template tags will work that way. If you wanted everything else to return false when you loaded bb, you’d have to do this:

    function adjust_flags_to_bb() {
    global $wp_query;
    $wp_query->init_query_flags();
    }
    add_action('bb_init', 'adjust_flags_to_bb', 999);
    //not sure if that's the right action, but meh

    but that’s really quite unnecessary.

    #60526
    ganzua
    Member

    “What’s the actual problem? How are you using it, what do you expect it to do, what exactly is it doing?”

    ->

    In my wp-bb integration, bbpress is integrated in wordpress and the forum uses the wordpress sidebar. I want to insert advertising blocks in the free space that I have in the bottom of the sidebar.

    I’m trying to use wp conditional tags to display different ad blocks because in some pages I have space enough for one block, and in other pages I have space for two or three blocks.

    In wp single pages I can display at least two 120×600 blocks so I’m using is_single() but I realized that these blocks are appearing in the bbpress forum too! and I just have no space enough for them so I want to change them for a 125×125 block when the forum is displayed or perhaps I could remove all ads when bbpress displayed.

    So “How are you using it” -> after copy/pasting your function in my theme functions file, I inserted this code in my sidebar;

    <?php if (is_bbpress()

    || is_archive()

    ) { ?>

    <!– 125×125 block –>

    <?php } ?>

    <?php if (is_single()

    || is_page()

    ) { ?>

    <!– 160×600 block –>

    <?php } ?>

    “what do you expect it to do” -> showing different ads blocks in the sidebar when bbpress displayed

    “what exactly is it doing” -> is showing the blocks I set for is_single ()

    kjted
    Member

    Yeah that’s right. It was long process. I worked on the backend while my colleague did all the Flash wizardry. I’ll do a full writeup as soon as I have permission :)

Viewing 25 results - 59,901 through 59,925 (of 64,535 total)
Skip to toolbar