Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '"wordpress'

Viewing 25 results - 24,826 through 24,850 (of 26,689 total)
  • Author
    Search Results
  • #61018
    chrishajer
    Participant

    Does this cover what you’re trying to do?

    http://weblogtoolscollection.com/archives/2007/08/27/localizing-a-wordpress-plugin-using-poedit/

    There are some pretty good links at the end of the article too if the article does not specifically address your concern.

    #61035
    fel64
    Member

    Not much documentation for bb, but it works exactly the same way as writing plugins for wp. So grab an existing bb plugin or look at the wp documentation: https://codex.wordpress.org/Writing_a_Plugin

    It’s often trivial to convert a plugin; you just need to use a slightly different API and change the hooks and filters that you use.

    #61047
    fel64
    Member

    Please copy huuuuuge swathes of code to http://pastebin.ca and link to them instead of filling the forum.

    wp_home and wp_siteurl are different in the same way that “WordPress address” and “blog address” in your Options in WP-Admin are different. Check if you need to change that.

    #2479
    kblog
    Member

    I just installed bbPress into the same database as my wordpress blog. Now I get an error when trying to use it.

    test blog: http://www.kidoinfo.com/stage/

    forum: http://www.kidoinfo.com/stage/bulletinboard/

    Maybe it’s because I don’t understand the difference in one of the setup parameters:

    “If you’ve installed bbPress into a subdirectory of your WordPress installation, define $bb->wp_home and $bb->wp_siteurl as your WordPress blog address and WordPress address”

    -I think they have the same address: http://www.kidoinfo.com/stage/

    (not this is a test version of the site that is password protected) NOTE: if it’s not possible to troubleshoot this error because the test site is behind a password, let me know and I’ll go ahead and put it in the public site, but I’d rather not until it’s all set up.

    Here’s the error I’m getting:

    You can check the settings in wp-config.php and see if they’re the same.

    Warning: Cannot modify header information – headers already sent by (output started at /home/kidoinfo/public_html/stage/bulletinboard/config.php:1) in /home/kidoinfo/public_html/stage/bulletinboard/bb-includes/pluggable.php on line 37

    Warning: Cannot modify header information – headers already sent by (output started at /home/kidoinfo/public_html/stage/bulletinboard/config.php:1) in /home/kidoinfo/public_html/stage/bulletinboard/bb-includes/pluggable.php on line 37

    Warning: Cannot modify header information – headers already sent by (output started at /home/kidoinfo/public_html/stage/bulletinboard/config.php:1) in /home/kidoinfo/public_html/stage/bulletinboard/bb-includes/pluggable.php on line 164

    and here’s the config info for WordPress blog and for bbpress:

    WordPress:

    wp-config.php

    <?php

    // ** MySQL settings ** //

    define(‘DB_NAME’, ‘kidoinfo_wrdp3’); // The name of the database

    define(‘DB_USER’, ‘kidoinfo_wrdp3’); // Your MySQL username

    define(‘DB_PASSWORD’, ‘xxxxxxxxxxxx); // …and password

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

    // define(‘DB_CHARSET’, ‘utf8’);

    // define(‘DB_COLLATE’, ”);

    // You can have multiple installations in one database if you give each a unique prefix

    $table_prefix = ‘wp_’; // Only numbers, letters, and underscores please!

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

    // chosen language must be installed to wp-content/languages.

    // For example, install de.mo to wp-content/languages and set WPLANG to ‘de’

    // to enable German language support.

    define (‘WPLANG’, ”);

    bbPress:

    config.php

    You can check the settings in wp-config.php and see if they’re the same.<?php

    // ** MySQL settings ** //

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

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

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

    define(‘BBDB_HOST’, ‘localhost’); // 99% chance you won’t need to change these last few

    define(‘BBDB_CHARSET’, ‘utf8’); // If you are *upgrading*, and your old config.php does

    define(‘BBDB_COLLATE’, ”); // not have these two contstants in them, DO NOT define them

    // If you are installing for the first time, leave them here

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

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

    // The full URL of your bbPress install

    $bb->uri = ‘http://www.kidoinfo.com/stage/bulletinboard/&#8217;;

    // What are you going to call me?

    $bb->name = ‘Kidoinfo Bulletin Board’;

    // This must be set before you run the install script.

    $bb->admin_email = ‘douglas.itkin@gmail.com’;

    // Set to true if you want pretty permalinks, set to ‘slugs’ if you want to use slug based pretty permalinks.

    $bb->mod_rewrite = ‘slugs’;

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

    $bb->page_topics = 30;

    // 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 = -5;

    // 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 = ‘xxxxxxxxxxxx’; // Example: ‘0123456789ab’

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

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

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

    $bb->wp_home = ‘http://www.kidoinfo.com/stage/&#8217;; // WordPress – Options->General: Blog address (URL) // Example: ‘http://example.com&#8217;

    $bb->wp_siteurl = ‘http://www.kidoinfo.com/stage/&#8217;; // WordPress – Options->General: WordPress address (URL) // Example: ‘http://example.com&#8217;

    /* Stop editing */

    if ( !defined(‘BBPATH’) )

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

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

    Thanks in advance for any assistance people can provide.

    #2478

    Topic: GlamRock.com

    in forum Showcase
    edwinfoo
    Member

    Would just like to share my new site with you. GlamRock.com is a community for people into Glam.

    The blog is WordPress and the forum is an integrated bbPress installation.

    I did the design and all the html stuff myself but for the the php stuff, I contracted IndianElite.com out of Calcutta to install, mod & skin both the blog & forum.

    Generally speaking, I’m quite happy with bbPress. While it was too basic straight up, the plug ins do make it more sophisticated yet easy to administer. Actually, administration is so simple and is easier to drive than notepad.

    So far, it’s working out OK. Would certainly welcome your feedback as I’m thinking about V2.

    ed

    #49513

    In reply to: sample plugins?

    Leo Plaw
    Member

    Why have the authors of BBPress been so daft as to not add a “my-plugins” directory to the default installation of BBPress?

    It was my first question, just like everybody else on the forum, “where’s the plugin folder”.

    Hey, it might seem obvious to those of you who know the BBPress, but for heaven’s sake make it easy for the newbies. You did it for WordPress, so why not BBPress?

    Get with it and think of the users you programmers! 8)

    #60871
    fel64
    Member

    Yup.

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

    in your wp config file.

    #2475
    jthomps
    Member

    Why am I getting “WordPress database error: [Table ‘jamtho_southerillinoiswatcher.wp_post2cat’ doesn’t exist” when I do a search from my WordPress sidebar? Do I really need to create another wp db table “wp_post2cat” ?

    #60659

    In reply to: dutch translation

    chrishajer
    Participant

    I know of this list of translations, but it does not appear complete to me:

    http://www.bbpulp.org/wiki/Translation_files

    There is also a Dutch forum at WordPress.org for bbpress:

    https://nl.forums.wordpress.org/tags.php?tag=bbpress

    I think there have been a couple mentions of a dutch translation in this forum, but I can’t find a link to one right now. Maybe you can search this forum for dutch and contact the posters to see if they’ve ever solved their problem with the translation.

    https://bbpress.org/forums/search.php?q=dutch

    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.

    #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?

    #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.

    #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.

    #60517
    Jaithn
    Member

    hello…

    after upgrading to .83 the error-message changed…

    maybe somebody could help me!!! please!!

    Fatal error: Call to undefined function __() in /home/www/kunden/fsj-community.de/wordpress/forum/bb-includes/default-filters.php on line 81

    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 …

    #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)?

    jolaedana
    Member

    Hello all,

    Very odd issue!

    I seem to be missing some forums:

    http://forums.audreysargent.com/

    There should be three additional forums, “The Cafe”, “The Design Divan” and “Written Role Play”.

    They’re still there, is the odd thing. You just can’t see them in the forum listing on the index page, and they’re not showing up in my admin control panel either.

    To prove it, here are links to each of the forums:

    http://forums.audreysargent.com/forum/written-role-play

    http://forums.audreysargent.com/forum/the-cafe

    http://forums.audreysargent.com/forum/the-design-divan

    In addition, this problem seems to happen with or without plugins- so it doesn’t seem to be a plugin issue. Though I could be wrong.

    I’m not seeing any PHP errors, so I’m not sure how to diagnose the issue. It’s obvious all the content is still there, and even still accessible.

    I upgraded the forum BEFORE I upgraded WordPress. Also, it is a fully integrated installation, they share the same database.

    Any thoughts? Big thanks in advance to anyone willing to help me troubleshoot.

    #60850
    chrishajer
    Participant
    #60849

    Miraploy, thanks!

    I’ve started a trac ticket to keep track of this bug.

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

    #60907
    #60848
    miraploy
    Member

    This:

    You can try overwriting /bb-includes/db-mysqli.php with /bb-includes/db.php (so that you have two copies of db.php) to see if that helps.

Viewing 25 results - 24,826 through 24,850 (of 26,689 total)
Skip to toolbar