Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '"wordpress'

Viewing 25 results - 18,626 through 18,650 (of 26,887 total)
  • Author
    Search Results
  • #87134

    I have working setups with 64length keys. Nicely integrated with only the issue of bbPress dashboard redirection when logged in from WordPress side (users don’t need have access to bbPress dashboard, so its just for admin & mods). Other than this the integration works flawlessly for me. Both simple and deep integration.

    @jakshi

    AFAIK, salts were never included in sample config file, if they are not present they are generated internally and then saved.

    kieranyo
    Member

    After the success with the Nissan Cube Owners Club forum (http://forum.cubeownersclub.co.uk/), when one of my clients asked about a forum I decided again to use BBPress.

    I run the website for a UK TV Nature Presenter called Kate Humble and wanted to use a forum that could be integrated with the rest of the site (which is in WordPress) and have the same look and feel. I think it’s turned out pretty nicely and the new users are enjoying and participating.

    The URL is http://katehumble.com/forum

    It’s running a very customised theme obviously, a new homepage and I’ve also removed the tags feature.

    I’ve installed a few plugins, modified a few too and I’ve also implemented the new Facebook “like” feature on the top of every topic. If I get time (and enough interest) maybe I’ll try and implement this as a BBPress plugin.

    Because this time it lives in a sub folder instead of a sub domain, one of the technical hurdles I had to get round was the WordPress .htaccess file conflicting with it so all I had to do was put 1 line of code in the root .htaccess file telling it to ignore (and stop processing) everything in /forum.

    Let me know what you think :)

    #85181

    @kevin

    Tell me this –

    • login into WordPress
    • It should be reflected on bbPress side. Right?
    • Try to access bbPress dashboard. Are you able to?

    This seems to be a random problem of all integrations I have done so far.

    #87133
    huafeihua116
    Member

    Thanks jakshi!

    #85180

    I absolutely agree that this is far from a “guarenteed” fix, but I’ve long found that the more things we can rule out when going through a bbPress to WordPress integration the easier life becomes.

    For example, I still define the following in my WordPress config file:

    define(‘AUTH_KEY’, ‘authkey’);

    define(‘SECURE_AUTH_KEY’, ‘secureauthkey’);

    define(‘SECURE_AUTH_SALT’, ‘secureauthsalt’);

    define(‘LOGGED_IN_KEY’, ‘loggedinkey’);

    define(‘LOGGED_IN_SALT’, ‘loggedinsalt’);

    define(‘SECRET_KEY’, ‘secretkey’);

    define(‘SECRET_SALT’, ‘secretsalt’);

    define(‘NONCE_KEY’,’nonce_key’);

    define(‘NONCE_SALT’, ‘nonce_salte’);

    define(‘COOKIE_DOMAIN’, ”);

    define(‘COOKIEPATH’, ‘/’);

    define(‘CUSTOM_USER_TABLE’, ‘wp_users’);

    define(‘CUSTOM_USER_META_TABLE’, ‘wp_usermeta’);

    And the following in my bbPress config file:

    define(‘BB_AUTH_KEY’, ‘authkey’);

    define(‘BB_SECURE_AUTH_KEY’, ‘secureauthkey’);

    define(‘BB_SECURE_AUTH_SALT’, ‘secureauthsalt’);

    define(‘BB_LOGGED_IN_KEY’, ‘loggedinkey’);

    define(‘BB_LOGGED_IN_SALT’, ‘loggedinsalt’);

    define(‘BB_SECRET_KEY’, ‘secretkey’);

    define(‘BB_SECRET_SALT’, ‘secretsalt’);

    define(‘BB_NONCE_KEY’,’nonce_key’);

    define(‘BB_NONCE_SALT’, ‘nonce_salte’);

    $bb->wp_siteurl = ‘http://www.mydomain.com/’;

    $bb->wp_home = ‘http://www.mydomain.com/’;

    $bb->wp_table_prefix = ‘wp_’;

    $bb->user_bbdb_name = ‘XXXXX’;

    $bb->user_bbdb_user = ‘XXXXX’;

    $bb->user_bbdb_password = ‘XXXXX’;

    $bb->user_bbdb_host = ‘localhost’;

    $bb->custom_user_table = ”;

    $bb->custom_user_meta_table = ”;

    $bb->authcookie = ‘wordpress_’;

    $bb->cookiedomain = ”;

    $bb->cookiepath = ‘/’;

    $bb->sitecookiepath = ”;

    $bb->wp_table_prefix = ‘wp_’;

    Now I know that most of that code is redundant, and left over from older integration methods; but by using this as a base that I know works for bbPress0.9/1.0.2 to WP2.5->2.9 I’ve found that I’ve not hit any real integration issues that weren’t procedural or human error in over a year.

    Adding “AddHandler php5-script .php” to my .htaccess file wont cause any overhead (as i should be using PHP5 anyway), and will also help rule out that 1 out of 100 times that installation/integration hits an issue.

    @Zaerl and Chris

    PHP4 to 5 was a huge change, a leap into correctly written OOP.

    bbPress1.0.2 (for all its faults) and specifically backPress are really brilliantly written OOP code; and while not 100% sure, i’m quietly confident that using backPress/bbPress1.0.2 on PHP4 would throw some inconsistances.

    I doubt this fix is anywhere near “guarenteed” to solve anything, but if it works for 1 out of 100 people, it should go in the “win” column

    #84910

    Hi Transmutator,

    Question – Why not simply make bbPress themes/templates function like WordPress themes?

    They do.

    The ease of theming bbPress is one of it’s real strong points.

    The problem is that you’re confusing some of the phrases (its not your fault, its not brilliantly clear unless you’ve been here a while).

    Integration = bbPress + WordPress using same cookies for log on.

    Deep Integration = bbPress loading WordPress every time, allowing access to WordPress code.

    So when you say “fully integrate” i’m guessing you mean “deep integration” which isn’t supported or intended. We can offer some advice on it, but its a by product, not a feature.

    The realism is that copying large sections of your theme (mostly the ‘outer’ sections such as header and footer) and your current WP stylesheet will start to make a huge difference to how your bbPress theme looks. Just make sure to remove any “wordpress” specific code or plugin calls; they’re really superfluous to 99% of forums.

    Transmutator
    Member

    Folks, I have been trying to get bbPress to fully integrate into my WordPress site for like weeks. I happened up a gentleman who had it figured out. He sent me his notes and I am giving them to you here. One word of caution, even though I followed the instructions carefully, I still don’t have it working – this doesn’t mean his instructions are incorrect … just that I am not skilled enough to figure out all the elements.

    His name is Adam Kayce of Bright Coconut. I hope you enjoy his instructions and they speed you toward full integration (and then if you have time, come help me!).

    Integrating the Theme:

    I have a link to my forum in my global nav by creating an empty page with a slug that is the same as the directory name as where I have bbpress installed.

    But I also load the wp-load.php file in my bb-config.php file

    define(‘WP_BB’, true);

    if ( !defined(‘DB_NAME’) ) {

    require_once( dirname(__FILE__) . ‘/../wordpress/wp-config.php’);

    }

    $bb->wp_table_prefix = ‘wp_’; // your wordpress db prefix is

    $bb->wp_home = ‘http://www.trashfilmorgy.com/wordpress <http://www.trashfilmorgy.com/wordpress&gt; ‘;

    $bb->wp_siteurl = ‘http://www.trashfilmorgy.com <http://www.trashfilmorgy.com/&gt; ‘;

    Then I went into my bbpress theme and changed every instance of bb_get_header() with get_header(), and bb_get_footer() with get_footer().

    Since I want to have my wordpress sidebars show up in the forum, too, I also added get_sidebar() right above the call to get_footer().

    I could also add other sidebars, too – the theme I use adds two columns below the main content area and uses the dynamic sidebar functionality to add them in to each page. I could see how adding other or more sidebars and going in to the templates could be really useful.

    From : http://bbpress.org/forums/topic/how-do-ican-i-integrate-my-bbpress-forum-into-my-wordpress-layout

    AND

    to remove the ‘Log Out’ link: kakumei/logged-in.php – delete the function

    if using bbPM: go into Admin area, copy function, uncheck box, and paste function in logged-in.php where you deleted the old function from

    AND

    to get the backslashes out of apostrophes:

    1) open up /bb-includes/functions.bb-template.php

    2) replace line 1074 with:

    return stripslashes(apply_filters( ‘get_topic_title’, $topic->topic_title, $id ));

    3) and line 1782:

    return stripslashes(apply_filters( ‘get_post_text’, $bb_post->post_text, $bb_post->post_id ));

    #84909
    Transmutator
    Member

    Question – Why not simply make bbPress themes/templates function like WordPress themes?

    I have been trying my darnedest to “integrate” bbPress into my client’s site (www.awaketeahouse.com -ask and I’ll give you a membership) but the sidebar won’t go where its supposed to go and, though I have managed to get the theme ported over it won’t collect or remember user login information. (I know this is cookie stuff but I’m currently burned out.

    So, rather than going through all this rigamarole to fully integrate it with my main site, if I could simply add my main site’s theme to bbPress then, at least it would easily look the same. Then there’d only need to be a plugin in bbPress/WordPress that connects the users from WP to bbP.

    #87295

    In reply to: wordpress integration

    gerikg
    Member

    Sometimes it’s a plugin in bbpress or wordpress that causes that. usually a cache program

    #87294

    In reply to: wordpress integration

    chrishajer
    Participant

    If it’s returning a blank page, I think that means you’re getting a Internal Server Error code 500. If you take that line out, can you use bbPress?

    #87293

    In reply to: wordpress integration

    zaerl
    Participant

    wp-load.php is just a file that contains WordPress code and doesn’t echo anything.

    #87132
    jakshi
    Member

    I created my wp-config.php and bb-config.php with examples from wp-config-sample.php and bb-config-sample.php .

    After every upgrade I check for changes in wp-config-sample.php and bb-config-sample.php .

    So, as I understand, AUTH_SALT and others *_SALT don’t needed anymore.

    #34088
    kikko088
    Member

    hi at all, i want to integrate bbpress and wordpress, i put “require_once(dirname(__FILE__) . ‘/../wp-load.php’);” in my bb-config.php but the retrn is a blank page, bbpress is in a folder inside wp folder.

    where is the problem?

    thank at all

    kikko088

    #87086

    In reply to: Compatibility ….

    evilgeek23
    Member

    kevin , i said i will use that DOMAIN , not that website …. i use that website for testing any php scripts i code… my wordpress blog is local currently ….

    and btw , signatures aint workin in 1.0.2

    #87131
    Anonymous User
    Inactive

    Hi together,

    in my working integration between WordPress and bbPress I’ve the following cookie keys matched:

    WordPress:

    define(‘AUTH_KEY’, ’32charsalphanumerickeys’);

    define(‘SECURE_AUTH_KEY’, ’32charsalphanumerickeys’);

    define(‘LOGGED_IN_KEY’, ’32charsalphanumerickeys’);

    define(‘NONCE_KEY’,’32charsalphanumerickeys’);

    define(‘AUTH_SALT’, ’32charsalphanumerickeys’);

    define(‘LOGGED_IN_SALT’, ’32charsalphanumerickeys’);

    define(‘SECURE_AUTH_SALT’, ’32charsalphanumerickeys’);

    bbPress:

    define( ‘BB_AUTH_KEY’, ’32charsalphanumerickeys’ );

    define( ‘BB_SECURE_AUTH_KEY’, ’32charsalphanumerickeys’ );

    define( ‘BB_LOGGED_IN_KEY’, ’32charsalphanumerickeys’ );

    define( ‘BB_NONCE_KEY’, ’32charsalphanumerickeys’ );

    define(‘BB_AUTH_SALT’, ’32charsalphanumerickeys’);

    define(‘BB_LOGGED_IN_SALT’, ’32charsalphanumerickeys’);

    define(‘BB_SECURE_AUTH_SALT’, ’32charsalphanumerickeys’);

    Evtl. you need the Salt Keys too?

    Without the Salt Keys my old installation doesn’t work, in my new (fresh) installation it worked without the Salt Keys.

    Markus

    http://www.bbp-forever.de (beta)

    #87130
    ekitel
    Member

    My cookie keys match between the 2 configs. I didn’t have the COOKIEPATH definition in bbpress, only in wp, so I put that in but still no luck.

    I have wp installed in a sub-directory so my statement is: define(‘COOKIEPATH’, ‘/blogs/’);

    I just tried another test install without sub-directory and that won’t work either!

    #87129
    jakshi
    Member

    Check wp-config.php and bb-config.php closely. May be you forget something to do.

    Did you cut to 32 chars BB_AUTH_KEY = AUTH_KEY, BB_SECURE_AUTH_KEY=SECURE_AUTH_KEY in wp-config.php and bb-config.php?

    I have working cookie integration now.

    My wp-config.php (without comments and passwords)

    <?php

    define( ‘COOKIEPATH’, ‘/’ );

    define(‘DB_NAME’, ‘wordpress’);

    define(‘DB_USER’, ‘wpuser’);

    define(‘DB_PASSWORD’, ‘StrongPassword’);

    define(‘DB_HOST’, ‘localhost’);

    define(‘DB_CHARSET’, ‘utf8’);

    define(‘DB_COLLATE’, ‘utf8_general_ci’);

    define(‘AUTH_KEY’, ’32charsalphanumerickeys’);

    define(‘SECURE_AUTH_KEY’, ’32charsalphanumerickeys’);

    define(‘LOGGED_IN_KEY’, ’32charsalphanumerickeys’);

    define(‘NONCE_KEY’, ’32charsalphanumerickeys’);

    $table_prefix = ‘wp_’;

    define (‘WPLANG’, ‘ru_RU’);

    if ( !defined(‘ABSPATH’) )

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

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

    ?>

    My bb-config.php (without comments and passwords)

    <?php

    define( ‘COOKIEPATH’, ‘/’ );

    define( ‘BBDB_NAME’, ‘wordpress’ );

    define( ‘BBDB_USER’, ‘wpuser’ );

    define( ‘BBDB_PASSWORD’, ‘StrongPassword’ );

    define( ‘BBDB_HOST’, ‘localhost’ );

    define( ‘BBDB_CHARSET’, ‘utf8’ );

    define( ‘BBDB_COLLATE’, ‘utf8_general_ci’ );

    define( ‘BB_AUTH_KEY’, ’32charsalphanumerickeys’ );

    define( ‘BB_SECURE_AUTH_KEY’, ’32charsalphanumerickeys’ );

    define( ‘BB_LOGGED_IN_KEY’, ’32charsalphanumerickeys’ );

    define( ‘BB_NONCE_KEY’, ’32charsalphanumerickeys’ );

    $bb_table_prefix = ‘bb_’;

    define( ‘BB_LANG’, ‘ru_RU’ );

    ?>

    There are a lot mention about problem with cookie integration wordpress 2.9.2 and bbpress 1.0.2 .

    So you are one of the many :)

    #87409
    chrishajer
    Participant

    WordPress mentions creating the database first, in (2) here:

    https://codex.wordpress.org/Installing_WordPress#Famous_5-Minute_Install

    Their docs are a lot more comprehensive than those for bbPress.

    #87408
    chrishajer
    Participant

    The version is in the admin back-end in the footer. Are you looking to find it somewhere before you install it? When you download it, you select with version you download, correct? How did it come up that you needed to know the version and did not?

    Good point on noting the need to set up the database first. I wonder if WordPress overlooks the same thing?

    #84908
    chrishajer
    Participant

    No one knows at this point.

    #84907
    honestscott
    Participant

    Hi,

    How hard will it be to upgrade to the WP bbpress plug-in (when it’s ready) from the standalone bbpress 1.0.2 installation?

    #87128
    ekitel
    Member

    I have a wp/bbp integration where I recently upgraded both from previous versions to wp 2.9.2 and bbp 1.0.2. I was able to get them to share accounts so you can login to both with the same passwords but I can’t get the cookie integration working at all. Logging into one doesn’t automatically log you into the other.

    I decided to do a fresh install of the latest versions of both to see if that would work but I’m having the exact same issue. I tried cutting the salts down to 32 characters as suggested above but still no luck.

    I installed the bbpress integration plugin in wp but that’s not helping either.

    I’m wondering if there is some incompatibility between wp 2.9.2 and bbp 1.0.2?

    This is on a dreamhost server, and it all worked well before I tried to upgrade.

    #87376
    zaerl
    Participant

    Actually I use bbPress and WordPress on the same database on two of mine BBSs and one in separate databases. I found that the first solution is way better.

    1) you can backup easily, as you said

    2) you can access everything with just one phpmyadmin session

    3) moving and restoring is simpler

    4) using automatic db tools is simpler

    5) import/export is simpler

    6) database-wide operations (table analyze/control/optimization/repair) is simpler

    #34099
    Milan Dinić
    Participant

    I need to make bbPress forum to one WordPress installation and I want to ask other users what is in their opinion better solution for bbPress’ database: should it have separate database or to use existing database of WordPress?

    Untill now, I used separate databases, but I found one reason for using only one database: WP plugins for automatic backup of database could then backup bbPress’ tables too. I don’t know for any similar plugin for bbPress.

    Your experiences?

    #87364
    brandongroce
    Member

    Great! Thank you. I had included the load file previously when I was attempting integration and having issues w/ cookies. I have since found a plugin that handled the change in cookie format with my later version of wordpress and the inclusion of the load file now works great. Thanks again for the help!

    ~Brandon

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