Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '"wordpress'

Viewing 25 results - 22,026 through 22,050 (of 26,864 total)
  • Author
    Search Results
  • Ehlo all,

    i just want to share a solution for BBPress 1.0 Alpha 6 – WordPress MU 2.7 cookie integration — or a hack. My problem is that after installation of WPMU and BBPress, i can not make a single sign on : to make a user log in to BBPress can access WordPress without another login and a user log in to WordPress can access BBPress without another login.

    I just use Cookie integration with WordPress installed at

    /home/usr1/myweb

    And bbpress at

    /home/usr2/myweb/bbpress

    After Googling i found hint about cookie domain, SECRET KEY etc, but it does not work …

    When i check the cookie, the cookie from BBPress is appended with some words for example :

    wordpress_logged_in_170v36454

    meanwhile the cookie for wordpress is simply

    wordpress_logged_in

    I then change a line of code at bb-settings.php from

    define(‘BB_HASH’, $bb->wp_cookies_integrated ? md5($bb->wp_siteurl) : md5($bb->uri));

    to

    define(‘BB_HASH’, ”);

    Somehow IT WORK !

    #71723
    fwilson789
    Member

    Thanks for your reply!

    The post you linked to was talking about including bbPress into WordPress, which is the opposite of what I’m looking to do. I have the CSS and template files edited, and everything is in the correct spot and doesn’t work too slowly. The only problem is those few lines of CSS for my WordPress theme aren’t included on bbPress pages.

    If anyone could help me out with this, I’d be eternally grateful!

    Fred

    #71751
    lasthero
    Member

    When I view my cookies with Firefox it shows that they are setting the exact same cookie. They both set the cookie under the same site and even the same name. When I log in with bbPress it sets another cookie with the same name as the WordPress cookie. I need help :) thanks!

    #71750
    lasthero
    Member

    Here are the config files

    wp-config.php

    <?php
    // ** MySQL settings ** //
    define('DB_NAME', 'idea_orbit'); // The name of the database
    define('DB_USER', 'admin'); // Your MySQL username
    define('DB_PASSWORD', 'Am@nda5haye'); // ...and password
    define('DB_HOST', 'localhost'); // 99% chance you won't need to change this value
    define('DB_CHARSET', 'utf8');
    define('DB_COLLATE', '');

    // Change each KEY to a different unique phrase. You won't have to remember the phrases later,
    // so make them long and complicated. You can visit https://api.wordpress.org/secret-key/1.1/
    // to get keys generated for you, or just make something up. Each key should have a different phrase.
    define('AUTH_KEY', '7k67k67k76'); // Change this to a unique phrase.
    define('SECURE_AUTH_KEY', '67k67k76k67k76'); // Change this to a unique phrase.
    define('LOGGED_IN_KEY', '67k76'); // Change this to a unique phrase.
    define('SECRET_KEY', 'thisisone{crazy}sectret9084biugfhKey');
    define('COOKIE_DOMAIN', '');
    define('COOKIEPATH', '/starteconome/');

    /* this is what I added for integration with bbpress
    $wp->cookiepath = '/starteconome/';
    $wp->sitecookiepath = '/starteconome/';
    define('SITECOOKIEPATH', '/starteconome/');
    /*End What I added*/

    // You can have multiple installations in one database if you give each a unique prefix
    $table_prefix = 'wp_econome_'; // 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. */

    if ( !defined('ABSPATH') )
    define('ABSPATH', dirname(__FILE__) . '/');
    require_once(ABSPATH . 'wp-settings.php');
    ?>

    bb-config.php

    <?php

    // ** MySQL settings ** //
    define('BBDB_NAME', 'idea_orbit'); // The name of the database
    define('BBDB_USER', 'root'); // Your MySQL username
    define('BBDB_PASSWORD', 'L!feisg00d'); // ...and password
    define('BBDB_HOST', ''); // 99% chance you won't need to change these last few

    define('BBDB_CHARSET', ''); // If you are *upgrading*, and your old bb-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 BB_SECRET_KEY to a unique phrase. You won't have to remember it later,
    // so make it long and complicated. You can visit https://www.grc.com/passwords.htm
    // to get a phrase generated for you, or just make something up.
    // If you are integrating logins with WordPress, you will need to match the value
    // of the "SECRET_KEY" in the WordPress file wp-config.php
    define('BB_AUTH_KEY', '7k67k67k76'); // Change this to a unique phrase.
    define('BB_SECURE_AUTH_KEY', '67k67k76k67k76'); // Change this to a unique phrase.
    define('BB_LOGGED_IN_KEY', '67k76'); // Change this to a unique phrase.
    define('BB_SECRET_KEY', 'thisisone{crazy}sectret9084biugfhKey'); // Change this to a unique phrase.

    // If you are running multiple bbPress installations in a single database,
    // you will probably want to change this.
    $bb_table_prefix = 'bb_'; // Only letters, numbers and underscores please!

    // 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 BB_LANG to 'de'
    // to enable German language support.
    define('BB_LANG', '');

    /* Stop editing */

    if ( !defined('BB_PATH') )
    define('BB_PATH', dirname(__FILE__) . '/' );
    require_once( BB_PATH . 'bb-settings.php' );

    ?>

    #4798
    lasthero
    Member

    Hi,

    I have integrated WordPress and bbPress. They both share the same table for users. I can login in to a user in the database from both WordPress and bbPress. SO they are correctly sharing the same user table. However, when I login as a user for the blog and then click on the forum then click to post in the forum it asks me to log in. I imagine it has something to do with cookies. I have gone through the docs on integration and the post by _CK_ but nothing has made it work yet.

    Please help me identify the problem. If you want I can post the config files for both WordPress and bbPress.

    #71319
    deadlyhifi
    Participant

    @circuit – I had the same problem when importing the wordpress header. It is not recommended to import wordpress as it causes unexpected errors like the one you have seen. It is advised to use plugins to replicate wordpress functionality – although I have not seen one to date.

    At the moment I am faking my wordpress theme in bbpress.

    I presume future versions of bbpress will allow deeper integration.

    #4796
    Ok Really
    Member

    I might be asking too much at this early stage …

    * We need *all* user registrations to be approved by admin or a moderator.

    * New users should have posting permissions in BBPress, but not the WordPress it is integrated with (unless those permissions have been explicitly granted by admin).

    * Posting permissions in WordPress are granted by admin only after seeing evidence that the user is both responsible and competent to do so.

    * It is easy to require admin approval of new WordPress users, but we would prefer all registrations to be through BBPress (there is no ‘register’ link on our WordPress).

    Right now we are using WordPress 2.7, so we don’t have full integration yet. But it would be nice to think we might be able to work with our users in this way eventually.

    #71339
    Marcomail
    Member

    Bel sito! Hai tolto il il form di registrazione di bbpress e non hai messo il link al pannello di controllo di wordpress, vero ? L’edit del profilo in pratica lo fai solo dal forum.

    a me piacerebbe che gli utenti che commentano registrati abbiano un link al loro profilo, poi forse userei Gravatar per accoppiare gli avatar del forum con quelli dei commenti.

    ti ho mandato una mail dal form del sito per uno scambio di link. bye

    #4789
    #71734
    bobbyh
    Member

    sig183, I disable the flash uploader using this WordPress plugin: https://wordpress.org/extend/plugins/no-flash-uploader/

    #71733
    chrishajer
    Participant

    Yes, alpha and WordPress 2.7.

    With the Flash upload bug though, can’t you just use IE7 or the browser upload, and then integrate WordPress 2.5.x and the 0.9.x series of bbPress?

    #71732
    chrishajer
    Participant

    This is not possible with bbPress as far as I know. bbPress does not live within WordPress or on a WordPress page. It’s not a plugin for WordPress. You can integrate bbPress to get single sign-on (shared logins) between bbPress and WordPress, and you can have access to WordPress functions in bbPress, so you can use get_footer(), get_sidebar(), get_header(), etc. But, it doesn’t work they way you are describing.

    https://bbpress.org/forums/tags/integration

    #71731

    In reply to: delete user

    Version of bbPress?

    Integration with WordPress y/n?

    chrishajer
    Participant

    https://bbpress.org/forums/tags/10

    I don’t believe there is a definite date.

    erick_paper
    Member

    Any idea when bbPress 1 is out? At least in beta? I would really like this integration to work.

    #67410

    In reply to: Server Overload

    pdimo
    Member

    Hey guys, im having the same problem as clementine only i have 768MB guaranteed RAM and its burstable to 1504MB+. I’m fairly sure its a mysql problem as every day or two the server starts to run very slow, when check the resource meter using TOP via SSH it tells me that MySQL is at 90%. The only way to fix it is to restart MySQL.

    I’ve installed eaccelerator and played around with the my.cnf settings but i cant seem to get it running right. I only have 3 wordpress installations… the my.cnf settings are currently set to as follows:

    [mysqld]

    max_connections = 300

    key_buffer = 64M

    myisam_sort_buffer_size = 32M

    join_buffer_size = 1M

    read_buffer_size = 1M

    sort_buffer_size = 2M

    table_cache = 4000

    thread_cache_size = 286

    interactive_timeout = 25

    wait_timeout = 7000

    connect_timeout = 10

    max_allowed_packet = 16M

    max_connect_errors = 10

    query_cache_limit = 2M

    query_cache_size = 12M

    query_cache_type = 1

    tmp_table_size = 16M

    skip-innodb

    [mysqld_safe]

    open_files_limit = 8192

    [mysqldump]

    quick

    max_allowed_packet = 16M

    [myisamchk]

    key_buffer = 64M

    sort_buffer = 64M

    read_buffer = 16M

    write_buffer = 16M

    [mysqlhotcopy]

    interactive-timeout

    Any help would be much appreciated

    #4777
    fwilson789
    Member

    I hate to bring this up again, but do to the lack of documentation for bbPress, I have to. I know the approach I’m taking will use more server resources and that most bbPress people tell you not to do it, but whatever.

    I’m shooting for 100% seamless integration, with the same exact sidebar as the rest of my WP pages that updates with the rest of the site.

    WordPress 2.7 is installed in / on my server, while bbpress 1.0-alpha is installed in /bbpress.

    I added the following to/bbpress/bb-config.php:

    include('../wp-config.php');

    Then I replaced bb_get_header() with get_header() in the theme files, so my WordPress header loads just as expected, BUT wp_head does not execute, so most of the styling for my template is not loaded.

    At what point does wp_head fail or get canceled? I tried this exact same thing with the stable version of bbPress, and wp_head executed fine, but I couldn’t log in (it logged into WordPress instead, weird?).

    #66132
    briandbutler
    Member

    i mean…bbpress. alpha6 (not 4)

    #71273
    briandbutler
    Member

    my problem is also “salt” related….

    HELP!

    I upgraded to wpmu 2.7, and bbpress1.0 alpha 4…. the data base was sharing…everything was almost perfect….but then….

    I was in the Admin Panel for bbpress, and was changing User roles (admin of wp to be admin of bbpress, etc)….

    Then, I saw that the ‘SECURE_AUTH_SALT’ form was blank…. (in the admin panel of bbpress for wordpress integration)… I thought …”mmm., thats strange, I already entered that when doing the setup.!”…. so…..i entered the key again …..

    oops, really bad idea

    Now, i get an error message:

    Warning: mysql_connect() [function.mysql-connect]: Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2) in /nfs/c02/h03/mnt/27695/domains/globotrends.com/html/forums/bb-includes/backpress/class.bpdb.php on line 123

    Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /nfs/c02/h03/mnt/27695/domains/globotrends.com/html/forums/bb-includes/backpress/class.bpdb.php on line 377

    HELP!!!!!!

    how do i undo what i did?

    where do I look? in what file?

    my sites are here:

    1. bbpress: http://globotrends.com/forums

    2. wpmu: http://globotrends.com/community

    #66131
    briandbutler
    Member

    HELP!

    mine was almost working… I upgraded to wpmu 2.7, and bbpress1.0 alpha 4…. the data base was sharing…everything was almost perfect….but then….

    I was in the Admin Panel for bbpress, and was changing User roles (admin of wp to be admin of bbpress, etc)….

    Then, I saw that the ‘SECURE_AUTH_SALT’ form was blank…. (in the admin panel of bbpress for wordpress integration)… I thought …”mmm., thats strange, I already entered that when doing the setup.!”…. so…..i entered the key again …..

    oops, really bad idea

    Now, i get an error message:

    Warning: mysql_connect() [function.mysql-connect]: Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2) in /nfs/c02/h03/mnt/27695/domains/globotrends.com/html/forums/bb-includes/backpress/class.bpdb.php on line 123

    Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /nfs/c02/h03/mnt/27695/domains/globotrends.com/html/forums/bb-includes/backpress/class.bpdb.php on line 377

    HELP!!!!!!

    how do i undo what i did?

    where do I look? in what file?

    my sites are here:

    1. bbpress: http://globotrends.com/forums

    2. wpmu: http://globotrends.com/community

    #4774

    Topic: Just a Community

    in forum Showcase
    Snat
    Member

    Might as well, add my forums that I and a friend is working on.

    I am using bbPress and WordPress for user intergation from my blog.

    Just a Community

    (Still being designed ;))

    #70324
    reidwalley
    Member

    Totally über super-fantastic video, sambauers. I couldn’t have integrated bbPress and WP without it! Thanks a ton! I’m now running WordPress 2.7 and bbPress-1.0-alpha-6.

    There are 2 specific things that got me past the “Forum could not be created” screen when I tried to install bbPress the first time:

    1. https://bbpress.org/forums/topic/basic-integration-screencast#post-22363

    As the post above explains, I added the following line to the .htaccess files for my WordPress and bbPress installations:

    AddType x-mapp-php5 .php

    Thanks a bunch, chrishajer. It’s ALWAYS a .htaccess addition that makes my installation life easier – LOL.

    2. https://bbpress.org/forums/topic/basic-integration-screencast/page/2#post-22465

    Thank you asymmetrik. This helped me discover that my WP 2.7 installation didn’t actually have a NONCE_KEY in the wp_config.php file at all. So, I ran the security key generator and got it.

    BTW, sambauers , I’m totally diggin’ on your blog’s design/layout: http://unlettered.org/

    #58273

    In reply to: bbSync

    chrishajer
    Participant

    It does not work with WordPress 2.7 AFAIK. bbPress 0.9.0.4 and WordPress 2.7 don’t integrate. If you want something similar for WordPress 2.7, you might have a look at bbPress Live:

    https://wordpress.org/extend/plugins/bbpress-live/

    #62273
    Radium
    Member

    Yeah, sorry for not updating on this. Since the forums are completely empty anyway I plan to move into bbpress as soon as 1.0 RC1 is released. My goal was to integrate the forums and the blog, but at the time I originally created the forums it was not possible without heavy modification which proved too time consuming. I have moved my testing of BBpress and wordpress integration to http://www.ridelegend.com/community/ however :)

    #70321
    chrishajer
    Participant

    The latest stable version of bbPress that integrates with WordPress is 0.9.0.4. That works with WordPress 2.5.x which is fairly old and you’re already past.

    I don’t think there is a current stable version of bbPress that integrates with anything current from WordPress. WordPress is moving faster than bbPress right now.

    What do you need out of integration that makes it important to integrate bbPress with WordPress? I’m asking honestly because I don’t understand why people do it. Thanks.

Viewing 25 results - 22,026 through 22,050 (of 26,864 total)
Skip to toolbar