Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '"wordpress'

Viewing 25 results - 18,726 through 18,750 (of 26,887 total)
  • Author
    Search Results
  • Xevo
    Participant

    Hi there,

    I’m working on a bbpress 1.0.2, wordpress 3.0 beta and buddypress 1.2.3 setup, but now I’m having problems with my bbpress. I did the same setup with 2.9.2 and that worked great, but I’m guessing WordPress 3.0 changed a lot.

    Here’s what happened.

    I installed wordpress normally with a different username than “admin” with my own password, all went well. After that I installed buddypress as a plugin, this went like it should as well. Then when I reached the bbpress installation (step 2), I entered all the secret keys and salt as I had them in my wp-config.php and pressed next step, it said that everything was validated but then in step 3 it let me choose a keymaster username, which I find odd since 2.9.2 didn’t. I entered a username/e-mail and finished the setup without a problem. No problems encounterd in the setup was said in the setup logs. Now here’s the strange thing, it made the tables in my database (which is the database that holds wordpress as well) but it did not make a bb-config.php file, so when I went to the URL of the main forum page, it gave me an error (which is when I discovert that there was no bb-config.php). It also made “bb_users” and “bb_usermeta” in my database. I made bb-config.php myself after that with the same secret keys from wp-config and setup wp integration in bb-admin accordingly. This gave me shared cookie logins with my wordpress install (having bbpress intergration plugin installed in wordpress). But after having done all this, I cannot enter my bb-admin area anymore. I checked the files and figured out that the function bb_auth was causing me to be redirected to the main forum page.

    So my question is, anyone solved this problem yet or can you help me solve it?

    function bb_auth( $scheme = 'auth' ) { // Checks if a user has a valid cookie, if not redirects them to the main page
    if ( !bb_validate_auth_cookie( '', $scheme ) ) {
    nocache_headers();
    if ( 'auth' === $scheme && !bb_is_user_logged_in() ) {
    wp_redirect( bb_get_uri( 'bb-login.php', array( 're' => $_SERVER['REQUEST_URI'] ), BB_URI_CONTEXT_HEADER + BB_URI_CONTEXT_BB_USER_FORMS ) );
    } else {
    wp_redirect( bb_get_uri( null, null, BB_URI_CONTEXT_HEADER ) );
    }
    exit;
    }
    }

    #86832
    Gautam Gupta
    Participant
    gerikg
    Member

    what is the name of your hosting company?

    robynh
    Member

    Yeah. It uses php5. What do you have to do, exactly?

    #86824
    robalan
    Member

    zaerl,

    Apparently I need the second pair of eyes for when I post things here. ;o) I copied/pasted the redacted code, but didn’t add the BB_.

    On the actual config file, they are:

    define(‘BB_AUTH_KEY’, ‘same as wordpress’);

    define(‘BB_SECURE_AUTH_KEY’, ‘same as wordpress’);

    define(‘BB_LOGGED_IN_KEY’, ‘same as wordpress’);

    define(‘BB_NONCE_KEY’, ‘same as wordpress’);

    #86823
    zaerl
    Participant

    in your bb-config.php:

    define(‘BB_AUTH_KEY’, ‘same as wordpress’);

    define(‘BB_SECURE_AUTH_KEY’, ‘same as wordpress’);

    define(‘BB_LOGGED_IN_KEY’, ‘same as wordpress’);

    define(‘BB_NONCE_KEY’, ‘same as wordpress’);

    gerikg
    Member

    Does your server use php5? I use 1and1 hosting and I have to put a line in the htaccess or I get the same thing.

    #86849
    Anonymous User
    Inactive

    Hi Rabbitdk,

    with manual coding it should be possible to display complete posts in wordpress.

    I use the examples from https://bbpress.org/forums/topic/heres-how-to-show-bbpress-info-inside-wordpress-without-full-integration to display an complete list of my forums and a short list of the newest topics.

    http://www.mysteria3000.de/wp/

    But I think – to make an original WordPress Post out of it – is not as easy as pure displaying.

    hmmm….

    For the last month I use the plugin ‘WordPress-bbPress syncronization’ (http://bobrik.name/code/wordpress/wordpress-bbpress-syncronization). But these plugin does it the other way – make WordPress Post to Topics in bbPress and display answers (post in bbPress) as comments in WordPress. A skilled php developer can use this plugin and change some code to realize your idea.

    Unfortunately I’m no developer :(

    #86843
    chrishajer
    Participant

    You will get the password even if mail() is disabled, on installation. You either set it, or it uses the existing one if you selected a WordPress user as keymaster, or it’s displayed on screen. It will also mail, but that’s not the only way.

    #86822
    robalan
    Member

    Here are my config files, for reference:

    wp-config:

    <?php

    // ** MySQL settings ** //

    define(‘COOKIEPATH’, ‘/’);

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

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

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

    define(‘DB_HOST’, ‘internal-db.###.gridserver.com’); // 99% chance you won’t need to change this value

    define(‘DB_CHARSET’, ‘utf8’);

    define(‘DB_COLLATE’, ”);

    define(‘WP_CACHE’, true);

    define(‘SECRET_KEY’, ‘###’);

    define(‘AUTH_KEY’, ‘###’);

    define(‘SECURE_AUTH_KEY’, ‘###’);

    define(‘LOGGED_IN_KEY’, ‘###’);

    define(‘NONCE_KEY’, ‘###’);

    define(‘AUTH_SALT’, ‘###’);

    define(‘SECURE_AUTH_SALT’, ‘###’);

    define(‘LOGGED_IN_SALT’, ‘###’);

    define(‘NONCE_SALT’, ‘###’);

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

    $table_prefix = ”; // 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’, ”);

    /* That’s all, stop editing! Happy blogging. */

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

    require_once(ABSPATH.’wp-settings.php’);

    ?>

    bb-config:

    <?php

    /**

    * The base configurations of bbPress.

    *

    * This file has the following configurations: MySQL settings, Table Prefix,

    * Secret Keys and bbPress Language. You can get the MySQL settings from your

    * web host.

    *

    * This file is used by the installer during installation.

    *

    * @package bbPress

    */

    // ** MySQL settings – You can get this info from your web host ** //

    /** The name of the database for bbPress */

    define( ‘BBDB_NAME’, ‘###’ );

    /** MySQL database username */

    define( ‘BBDB_USER’, ‘###’ );

    /** MySQL database password */

    define( ‘BBDB_PASSWORD’, ‘###’ );

    /** MySQL hostname */

    define( ‘BBDB_HOST’, ‘internal-db.###.gridserver.com’ );

    /** Database Charset to use in creating database tables. */

    define( ‘BBDB_CHARSET’, ‘utf8’ );

    /** The Database Collate type. Don’t change this if in doubt. */

    define( ‘BBDB_COLLATE’, ” );

    define(‘COOKIEPATH’, ‘/’);

    /**#@+

    * Authentication Unique Keys.

    *

    * Change these to different unique phrases!

    * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/bbpress/ WordPress.org secret-key service}

    *

    * @since 1.0

    */

    define(‘AUTH_KEY’, ‘###’);

    define(‘SECURE_AUTH_KEY’, ‘###’);

    define(‘LOGGED_IN_KEY’, ‘###’);

    define(‘NONCE_KEY’, ‘###’);

    define(‘AUTH_SALT’, ‘###’);

    define(‘SECURE_AUTH_SALT’, ‘###’);

    define(‘LOGGED_IN_SALT’, ‘###’);

    define(‘NONCE_SALT’, ‘###’);/**#@-*/

    /**

    * bbPress Database Table prefix.

    *

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

    * prefix. Only numbers, letters, and underscores please!

    */

    $bb_table_prefix = ‘bb_’;

    /**

    * bbPress Localized Language, defaults to English.

    *

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

    * language must be installed to a directory called “my-languages” in the root

    * directory of bbPress. For example, install de.mo to “my-languages” and set

    * BB_LANG to ‘de’ to enable German language support.

    */

    define( ‘BB_LANG’, ” );

    ?>

    #86842
    Olaf Lederer
    Participant

    That’s why I asked, I can’t remember that (it was more than two years ago ver. 0.83)

    :)

    If it works like for wordpress everything is cool.

    #86819
    robalan
    Member

    Thanks guys—I’m going to have a more competent db admin switch over the WordPress database so that the tables have the wp_ prefix. Everything else seems to be default, so hopefully that fixes it (though if that’s what fixes it, I’m going to be pissed). ;o)

    I’ll keep you posted.

    #86848
    rabbitdk
    Member

    No, from inside the bbpress forum, I want to send a topic to my WordPress front so it’s published like a ordinary blog post :)

    #86847
    gerikg
    Member

    Chrishaje, I think it’s something like this https://bbpress.org/plugins/topic/bbpress-recent-replies/#post-4989

    but not recent replies but new topics that was just added….?

    #86846
    rabbitdk
    Member

    Not sure that does exactly what I want, btw I am no good with codes, but that is explained pretty detailed so I could probably try it out (however, I just messed up my bbPress install while messing with permalinks :D)

    I want the full forum post to be published as a blog entry, by the click of a button, to promote the posts as you said :D

    #86845
    chrishajer
    Participant

    Add a forum post to your WordPress front: does that mean if there is a forum post, you want to display it on your WordPress home page? As a sticky or something? You will do this manually whenever you feel like promoting a post?

    https://bbpress.org/forums/topic/heres-how-to-show-bbpress-info-inside-wordpress-without-full-integration

    #33989
    rabbitdk
    Member

    Hi there!

    I’ve been looking for a while now, I can’t find anything that suits me :D

    I am looking for a plugin that easily lets me (the admin) add a forum post to my WordPress front.

    I’ve tried out bbPress-WordPress syncronization, but this only syncs comments, right?

    Thanks in advance :D

    #86841
    chrishajer
    Participant

    During setup, the password is displayed on screen. If it’s not visible right on top, you can “show installation messages” and see it there. For a while there, I thought you could set the password as well, but I may be confusing with WordPress.

    When you integrate and choose a WordPress user as keymaster, it just uses the existing password, so nothing is displayed or changed.

    #86818
    zaerl
    Participant

    Is it even supposed to show the WordPress users inside bbPress?

    Yes it is.

    I tell you what I have done. I have bbPress and WordPress on the same database and both have table prefixes. The blog is on my-domain.com/blog. The BBS is in my-domain.com/forum

    On forum/bb-admin/options-wordpress.php:

    1) the role map is key master, administrator, member, member, member.

    2) WordPress URL is my-domain.com/blog, WordPress Blog is my-domain.com/blog.

    3) Cookie salt “auth” valid, no Cookie salt “secure auth”, Cookie salt “logged in” valid.

    4) AUTH_KEY <=> BB_AUTH_KEY and others set on (bb-config/wp-config).php and the NONCE_KEY <=> BB_NONCE_KEY

    5) Table prefix set to the WordPress table prefix. Usually wp_

    6) No advanced settings

    On /blog/wp-admin/options-general.php?page=bbpress-integration-admin

    1) bbPress URL = my-domain.com/forum/. Your plugin URL = nothing. WordPress type = WordPress.

    2) Manual Cookie Settings tells me define( ‘COOKIEPATH’, ‘/’ ); which is defined in both config files (on top of those)

    My wp-config.php:

    <?php

    define( 'COOKIEPATH', '/' );

    define('DB_NAME', '...');
    define('DB_USER', '...');
    define('DB_PASSWORD', '...');
    define('DB_HOST', '...');
    define('DB_CHARSET', 'utf8');
    define('DB_COLLATE', '');

    define('AUTH_KEY', '...');
    define('SECURE_AUTH_KEY', '...');
    define('LOGGED_IN_KEY', '...');
    define('NONCE_KEY', '...');

    $table_prefix = 'my_wordpress_table_prefix_';

    if ( !defined('ABSPATH') )
    define('ABSPATH', dirname(__FILE__) . '/');

    require_once(ABSPATH . 'wp-settings.php'); ?>

    my bb-config.php:

    <?php

    define( 'COOKIEPATH', '/' );

    define('BBDB_NAME', 'same as wordpress');
    define('BBDB_USER', 'same as wordpress');
    define('BBDB_PASSWORD', 'same as wordpress');
    define('BBDB_HOST', 'same as wordpress');
    define('BBDB_CHARSET', 'utf8');
    define('BBDB_COLLATE', '');

    define('BB_AUTH_KEY', 'same as wordpress');
    define('BB_SECURE_AUTH_KEY', 'same as wordpress');
    define('BB_LOGGED_IN_KEY', 'same as wordpress');
    define('BB_NONCE_KEY', 'same as wordpress');

    $table_prefix = 'my_bbpress_table_prefix_';

    #86817
    gerikg
    Member

    What are the “bb_” keys in your DB?

    It’s rare that someone doesn’t have a wordpress prefix. I would suggest as a last resort to export your wordpress and create a new database and don’t remove the prefix.

    The login out when you switch from one side to another, it happens to some of my clients when php5 isn’t used. It happens to me. If your users aren’t on both then I doubt that is the problem.

    Take a deep breathe, you got more users helping you out here than most posts.

    #86767
    Gautam Gupta
    Participant

    Automattic is a company which owns all these projects (WordPress etc) – http://automattic.com/

    And Sam had already made a new design for this forum a while ago but has not been implemented yet – https://bbpress.org/forums/topic/sneak-peek-at-bbpressorg-20

    #86765
    Gautam Gupta
    Participant
    #86764
    Gautam Gupta
    Participant

    @Yuri

    Talk practically, as if automattic would give you the passwords. By the way I think this website is owned by matt, as he said in one of the IRC chats or this forum. You can also check here – http://www.pir.org/get/whois?domain=bbpress&Submit=Search while wordpress is owned by automattic – http://www.name.com/whois_result?type=domain&domain_name=wordpress.com&submit=+Submit+

    #86816
    robalan
    Member

    Is it even supposed to show the WordPress users inside bbPress? I don’t even know—that’s how incomplete and fragmented the frigging instructions are. What a waste of time.

Viewing 25 results - 18,726 through 18,750 (of 26,887 total)
Skip to toolbar