Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 59,426 through 59,450 (of 64,450 total)
  • Author
    Search Results
  • #61290
    chrishajer
    Participant

    I think if you post the config.php and the test script with connection details, someone will be able to help. Seems like a simple connection issue, assuming you followed the instructions in the other post you found.

    Rather than replacing db-mysqli.php with db.php, did you try to apply the patch attached to this ticket?

    https://trac.bbpress.org/ticket/745

    #61289
    ericakadisco
    Member

    Also, using a test script, I entered the same database information that’s in my bbpress config.php file and I can successfully connect to my database. The user, Disco, is the default user and is database administrator so there’s no reason why I should get access denied.

    #2557
    ericakadisco
    Member

    I am installing bbPress to integrate with an existing WordPress. After the second step of install I get this error:

    Second Step

    Now we’re going to create the database tables and fill them with some
    default data.

    bbPress database error: [Access denied for user 'disco'@'localhost' to
    database 'approachanxiety_com_bbpress2']
    SHOW TABLES;

    bbPress database error: [Access denied for user 'disco'@'localhost' to
    database 'approachanxiety_com_bbpress2']
    CREATE TABLE bb_forums....

    It seems to be similar to this post,

    http://bbpress.org/forums/topic/step-two-database-error?replies=4

    And this one,

    http://bbpress.org/forums/topic/db-access-problem-in-the-first-installation-step?replies=19

    I tried to resolve it by replacing db-mysqli.php with db.php in the bb-includes folder and that didn’t work.

    The username and password are correct. They are the same as for my original wordpress blog. And the database is correct as well. When I change it to something else I can’t even get to the second step.

    Any help would be greatly appreciated!!!

    #61248
    livibetter
    Member

    Here is an example for deactivation hook

    //bb_register_deactivation_hook(__FILE__, 'GADeactivate'); // Bug in bbPress 0.8.3, do same thing using next line
    add_action('bb_deactivate_plugin_' . bb_plugin_basename(__FILE__), 'GADeactivate');

    just remove “de” from above, that should work. For example,

    bb_register_activation_hook(__FILE__, 'hook_fct');

    However, I haven’t used activation hook, therefore I don’t know is there a problem with it.

    #61283
    livibetter
    Member

    Strange. Doesn’t your profile page in this official forum show your profile information?

    https://bbpress.org/forums/profile/Lookfab

    Are you using a theme other than Kakumei on your forum?

    #2553
    akhater
    Member

    This is not a plugin just a quick hack to Aditya Naik ’s popular private forums plugin.

    If, like me, you need to add some private forums in your BBPress setup but you don’t want to make those users moderators or administrators then here is how to add a custom role

    http://www.onetouchinnovation.com/scripting/extending-bbpress-private-forums

    #2552

    Topic: bbPress post 0.05

    in forum Plugins
    mbyte
    Member

    Hi all.

    After a long delay I continue work on my bbPress post plugin. Now is a 5 version of plugin is available. It works with WP 2.3 and up (for older version you can download older plugin), supporting tags, manual link function calling, connecting to other DB (if bbPress installed on other db).

    You can download plugin here.

    #60313
    fel64
    Member

    Nice, akhater. Just for simplicity and maintainability, you don’t actually have to copy and paste the member capabilities, you can simply duplicate them through code. (For example)

    #60312
    akhater
    Member
    #58181

    In reply to: bbSync

    jazbek
    Member

    hey fel et al.,

    found another issue which i just spent way too much time trying to figure out.. why is it that anywhere bb_get_option is called, it returns nothing? somehow the bb_get_option function doesn’t have access to the $bb object. I placed the following 2 lines of code in my bbpress functions.php, at the top of the bb_get_option function (after the line that reads global $bb;:

    print_r($bb);
    echo " $option ";

    and i got:

    akismet_key mod_rewrite use_cache active_plugins usercookie usercookie page_topics

    — notice, the requested option names are being echoed, but there’s no output from print_r($bb). why isn’t $bb set in the bb_get_option function?

    this issue is causing bbrepliestext() to output:

    Warning: Division by zero in /httpdocs/discuss/bb-includes/functions.php on line 1465

    if the “Do you want me to load bbPress whenever to make things like links nicer?” option is checked in Options > bbSync. To be specific, the error comes from line 500 in bbsync.php

    #61271
    mrwonderr
    Member

    Thanks, it works. :D

    #60811
    Laset
    Member

    is bbPress 0.8.3 compatible with WordPress MU 1.3?

    #60810
    kokstya
    Member

    Thx

    #61272
    fel64
    Member

    It’s not installed here. It could not work.

    #2550
    z241228
    Member

    Plugin: YouTube in bbPress

    test!

    #61270
    fel64
    Member

    Include bb in wp-config.php like so:

    require_once('path/to/bb-load.php');

    #61267
    jazbek
    Member

    thanks, yeah, i am not using bbpress + wordpress on the installation i’m trying to disable posts and registration on.. that’s the old one that’s getting moved to the new site that has wordpress.

    0.8 doesn’t have plugin activation, i guess everything’s just enabled by default (someone correct me if i’m wrong). i’ll have to check out capabilities.php tomorrow (i’m off to a halloween party!). thanks for the help. :)

    #61266
    livibetter
    Member

    Did you activate it? and did you use a normal user to try posting? (keymaster remains all permissions)

    I noticed you probably use WP and bbPress together (by your recent posts), I have no idea if this code can work under that condition.

    * Sorry! I just realized that you meant 0.8. Well, I started to use bbPress from 0.8.3, so I don’t know is this compatible to 0.8. You need to check capabilities.php if available in 0.8.

    #2549
    mrwonderr
    Member

    I want to have one universal sidebar in my website for both WP and BB, but I can’t because I need a few BB Functions for it, particularly login_forms(). Is there a way to use login_forms() in WP?

    #61265
    jazbek
    Member

    Do you know if the Changes Roles Stuff plugin is compatible with bbpress 0.8? i installed it, but it doesn’t seem to be getting called. I have, in my-plugins/custom-roles.php:

    <?php
    /*
    Plugin Name: Changes Roles Stuff
    Plugin URI: http://www.livibetter.com/it/
    Description: Changes Roles Stuff
    */

    function ChangesRolesStuff($roles) {
    // Changes Key Master Role's display name to 'The Boss'
    $roles['keymaster']['name'] = 'The Boss';

    $roles['member']['capabilities'] = array('read' => true);
    $roles['moderator']['capabilities'] = array('read' => true);
    $roles['administrator']['capabilities'] = array('read' => true);
    return $roles;
    }

    add_filter('get_roles', 'ChangesRolesStuff');
    ?>

    but people can still post.

    #2546
    mrwonderr
    Member

    I want to be able to show the currently logged in user’s avatar with Avatar Upload as well as use Display Names. I cannot find a way to use the two the way I want to yet…

    Does anyone have a method?

    #61236
    livibetter
    Member

    Have you tried to search one in Extend?

    If you find no plugin and you can do code, I think you can check line 18 in /bb-post.php, line 479 in /bb-includes/capabilities.php.

    You need to check current user’s is allowed to start a new topic in specific forum or not in your filter hook.

    Just thoughts, but should work.

    PS. I think it’s better not to do too much that bbPress can’t by default, or you could suffer more after upgrading unless you completely know what you do.

    #61235
    bluegeek
    Member

    And what about restricting only new posts in some forums (ie. in forum 1 members can start topics but not in forum 2).

    Is this also easy in bbpress? (i don’t need a fancy admin configuration, just a straight plugin with hardcored values).

    Thanks.

    #2548
    jazbek
    Member

    Hi,

    I am about to migrate my current bbpress site over to a new server and would like to freeze posting and registration so that the databases don’t get out of sync. I don’t really want to take the whole forum offline, though.. I’d like visitors to still be able to read through the existing posts. Does anyone know of a quick way to do this?

    TIA :)

    #2547
    honewatson
    Member

    I set up an integrated BBPress and MU WordPress on Nginx. There may be a better way of doing the rewrites but these work well for me.

    Here are the BBPress Nginx rewrites:

    location /forums/ {

    root /home/YOURDIRECTORY/public_html/forums;

    index index.php;

    if (!-e $request_filename) {

    rewrite ^/forums/topic/(.*)$ /forums/topic.php?q=$1 last;

    rewrite ^/forums/forum/(.*)$ /forums/forum.php?q=$1 last;

    rewrite ^/forums/profile/(.*)$ /forums/profile.php?q=$1 last;

    rewrite ^/forums/view/(.*)$ /forums/view.php?q=$1 last;

    rewrite ^/forums/tags/(.*)$ /forums/tags.php?q=$1 last;

    rewrite ^/forums/rss/(.*)$ /forums/rss.php?q=$1 last;

    rewrite ^/forums/bb-admin/ /forums/bb-admin/index.php last;

    rewrite ^/forums/ /forums/index.php last;

    break;

    }

    }

    Here’s a full write up here:

    http://dev.honewatson.com/bbpress-wordress-mu-integration-nginx-pretty-urls-rewrites/

Viewing 25 results - 59,426 through 59,450 (of 64,450 total)
Skip to toolbar