Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 59,051 through 59,075 (of 64,471 total)
  • Author
    Search Results
  • #62085
    livibetter
    Member
    #62083
    alderete
    Member

    Yeah, I guess it would work for now, we only have a few forums. But I’m reluctant to put that kind of thing into the templates, where it’s hard to update, and prone to typo problems, etc., if the conditional code gets accidentally mucked up.

    Is there any way to add arbitrary meta attributes to things in bbPress, the way you can add them to posts in WordPress?

    #62092
    livibetter
    Member

    Check Step 2 of https://codex.wordpress.org/Installing_WordPress#Detailed_Instructions

    It’s written for WordPress, but you can use it for installing bbPress.

    #62077

    In reply to: Installation woes

    chrishajer
    Participant

    It doesn’t look like you upgraded the installation properly. But your issue so far has nothing to do with bbPress. All those errors are from WordPress.

    That looks to be a pretty common error:

    http://www.google.com/search?hl=en&q=Table+*wp_terms+doesn%27t+exist

    #62066
    chrishajer
    Participant

    You could extract all the email addresses from the database with a tool like phpMyAdmin. I don’t know of a plugin that does this. If it’s a onetime thing, I would just grab the email addresses from the database with a query like:

    SELECT DISTINCT user_email
    FROM bb_users
    ORDER BY user_email ASC

     

    With all the email addresses, then just send out a mass email with your email client putting their email addresses in the BCC field.

    Are you looking to do this regularly, and are you thinking this should be a plugin? I guess you’d need to know if the installation were integrated or not, then query the correct table, and also if it is an integrated installation, you’d need to separate out the bbPress registrations from the WordPress registrations.

    chrishajer
    Participant

    If you want multiple forums, you need to do multiple installations, and each bbPress installation will be in a directory of its own, and the config.php in each individual directory should have a unique table prefix, as Sam suggested, like bb1_, bb2_.

    In that case, each forum would be access with a different URL as well.

    Maybe your site is at http://www.website.com . A normal bbPress installation would be in something like http://www.website.com/forums/ or http://www.website.com/bbpress/ . To have multiple forums, you would access them like this:

    http://www.website.com/forum1/

    http://www.website.com/forum2/

    http://www.website.com/forum3/

    or

    http://www.website.com/football/

    http://www.website.com/baseball/

    http://www.website.com/hockey/

    and the associated directories on the server would be

    /var/www/htdocs/yourname/football/

    /var/www/htdocs/yourname/baseball/

    /var/www/htdocs/yourname/hockey/

    If you just want multiple forums or subforums in your bbPress installation, you just need to install one time, then set up the forums/subforums within bbPress. You don’t need multiple forum installations.

    #62091
    chrishajer
    Participant

    It needs to be a database that already exists and you need to use that name, then bbPress will create the tables in that database. bbPress will not create the database.

    #2710
    drewsdesign
    Member

    Can anyone help me find a way to send a mass email to all users that have registered to my bbpress forum. Any suggestions to do this easy would be much appreciated.

    Thanks

    #61890
    livibetter
    Member

    Are you using bbPress 0.8.3?

    #61889
    Doobus
    Member

    Here is the source:

    <?xml version=”1.0″?><!– generator=”bbPress” –>

    <rss version=”2.0″

    xmlns:content=”http://purl.org/rss/1.0/modules/content/&#8221;

    xmlns:dc=”http://purl.org/dc/elements/1.1/&#8221;

    >

    <channel>

    <title></title>

    <link>

    <b>Fatal error</b>: Call to undefined function bb_option() in <b>C:wampwwwwrdp2bbp1rss.php</b> on line <b>12</b>

    #60855
    chrishajer
    Participant

    When using a socket, you need something like this:

    https://bbpress.org/forums/topic/cannot-select-db-error?replies=11#post-12434

    It’s OK to start a new topic as well. All these recent topics dredging up old problems that are sort of close make it hard to solve the latest problem, your problem. A lot of the earlier advice in this thread doesn’t apply to your specific problem.

    #60928
    livibetter
    Member

    745 is not for fixing unix socket connection.

    Try this: https://bbpress.org/forums/topic/cannot-select-db-error?replies=11#post-12434

    #60927

    There is still a set of problems with this. The value of $this->$dbhname isn’t checked before it’s used in mysql_get_server_info() on line 75 in db-mysqli.php. If the connection fails, the error won’t be echoed to the user because the use of @ on the mysql_connect() call and then the script just continues, assuming the connection went fine, which in my case, it din’t. Also, the call should be to mysql<b>i</b>_connect() and not mysql_connect(), as far as I can understand.

    The patch doesn’t fix these problems and they need to be fixed for bbPress to work on my host. I’d write these comments on the associated ticket, but there doesn’t seem to be any way to register or comment anonymously there.

    #60854

    I have the same problem and overwriting db-mysqli.php with db.php didn’t help. Just for completeness, here’s the error messages I encounter:

    Warning: mysql_get_server_info() [function.mysql-get-server-info]: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /home/<snip>/bbpress/bb-includes/db-mysqli.php on line 73

    I suspect bbPress of having hard coded a connection to localhost and thus configuring define('BBDB_HOST', '...') to be something else than localhost doesn’t really matter. I don’t have MySQL and Apache installed on the same physical server, so I have to access MySQL through a hostname and thus localhost won’t work.

    #60926
    Sam Bauers
    Participant

    The very latest trunk [988] is a little unstable.

    You are better off with [980] the zip download of [980] can be found at the bottom of the following page:

    https://trac.bbpress.org/browser/trunk?rev=980

    #60925
    chrishajer
    Participant

    I hope there’s a new release soon as well, but it doesn’t look like a date has been set yet?

    https://trac.bbpress.org/milestone/0.8.4%20%26%20Pings

    raygene: you can always download the latest development release which generally has all the discussed patches applied:

    https://trac.bbpress.org/changeset/988/trunk?old_path=%2F&format=zip

    There is always a link to the zip archive at the bottom of the trac browser.

    https://trac.bbpress.org/browser/trunk

    #62069

    In reply to: Installation woes

    chrishajer
    Participant

    Why is your bbPress calling a WordPress function?

    wp-includes/functions.php

    Is there more to your setup than it appears?

    Actually, I just went to your forum and it is working?

    #2711
    hapikar
    Member

    Hello,

    I have installed bbPress and it’s working all except for this fatal error im receiving.

    Fatal error: Call to a member function on a non-object in /var/www/vhosts/hapikar.com/httpdocs/wp-includes/functions.php on line 1491

    http://hapikar.com

    http://hapikar.com/forum

    #61876
    livibetter
    Member

    Is this close to what you want? Topic Feeds

    If so, just be patient.

    #61875
    Doobus
    Member

    After all my slicing and dicing with bbPress, I’m finally coming close to completing everything, except one thing. This RSS thing is really killing me :P. I’m wracking my brain trying to explain this the best way possible.

    So here I go. Each forum has a feed, how do I only show the topics in the feed? As it stands right now, the feed is showing the replies as well, I just want topics to show.

    Sorry for sounding redundant, but I’m desperate >_< to complete. Thanks in advance.

    #62054
    livibetter
    Member

    The workaround won’t work for plugins.

    @sambauers: I think there is no complete working solution if you don’t touch the core files.

    First, load_default_textdomain and load_plugin_textdomain are WordPress version, they only look language files in WordPress directories. So, in bbPress, all text won’t be translated since language file are not loaded because WordPress load_*_textdomain won’t find language files in bbPress’ directories.

    Second, WordPress and bbPress both use default as textdomain when calling __() or _e() without assigning textdomain, that means we can only use either WordPress’ or bbPress’ language files at the same time, not both.

    (edit: plugin’s problem can be solved by add a bb_load_plugin_textdomain, but bbPress’s part. If we don’t want to use something like bb__(), bb_e(), maybe we can try to merge bbPress translations into WordPress’ in runtime? or search bbPress’ first, then WordPress’ if can’t find)

    #52695
    citizenkeith
    Participant

    Running the latest version of bbPress and the latest version of ck’s plugin.

    Signatures won’t update when you try to change them in Edit Profile. No error messages to be found.

    #62052
    livibetter
    Member

    Sorry, didn’t read bbPress source carefully. Replace first if clause with

    if ( defined('BBLANG') && '' != constant('BBLANG') ) {
    if ( function_exists('load_default_textdomain') ) {
    global $l10n;

    $locale = BBLANG;
    $mofile = BBPATH . BBINC . 'languages/' . "$locale.mo";
    if ( is_readable($mofile) ) {
    $input = new CachedFileReader($mofile);
    $l10n['default'] = new gettext_reader($input);
    }
    }
    else {
    include_once(BBPATH . BBINC . 'streams.php');
    include_once(BBPATH . BBINC . 'gettext.php');
    }
    }

    PS. That “..” is how you put variable to be parsed in string in PHP ( Variable parsing )

    #62049
    Sam Bauers
    Participant

    streams.php and gettext.php are just libraries, so if they are loaded by WordPress, then they don’t need to be loaded again. Although “include_once” should take care of that.

    The problem with the language file not loading is because of the next couple of lines. They say that if WordPress is loaded not to load the kses.php and l10n.php files. This means it is looking for yor language file for bbPress in the same place as the WordPress language file.

    It’s possible (but I don’t know enough about how gettext works) that just dropping the bbPress mo file into the same place as the WordPress mo file will work… just call the bbPress mo file bbpress-de.mo or something like that.

    I think someone solved this before… search a little harder through the forums I think.

    #62045
    livibetter
    Member

    This is a quick workaround:

    if ( defined('BBLANG') && '' != constant('BBLANG') ) {
    if ( function_exists('load_default_textdomain') ) :
    global $l10n;

    $locale = BBLANG;
    $mofile = BBLANGDIR . "$locale.mo";

    load_textdomain('default', $mofile);
    else:
    include_once(BBPATH . BBINC . 'streams.php');
    include_once(BBPATH . BBINC . 'gettext.php');
    endif;
    }
    if ( !( defined('DB_NAME') || defined('WP_BB') && WP_BB ) ) { // Don't include these when WP is running.
    require( BBPATH . BBINC . 'kses.php');
    if ( !function_exists('load_default_textdomain') )
    require( BBPATH . BBINC . 'l10n.php');
    }

    It should drops WordPress’ language file, and replaces with bbPress’. That means translations need to be done in WordPress won’t be translated since this code drops language file. This wont happen when you read your blog. However, I don’t have any language files, so this is coded by guessing.

    This is not a solution, just a temporary fix. I will file a ticket.

Viewing 25 results - 59,051 through 59,075 (of 64,471 total)
Skip to toolbar