pilkster (@pilkster)

Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)
  • Hey Trent ~ here’s me thinking that all my users being marked as bozos might be causeing the problems I am having with the integration. Even the keymaster is marked as a bozo. Guess that isn’t the problem though.

    In reply to: FeelingGray Theme

    but i think we should some how figure out a way to integrate the themes for wordpress and forums..

    Great idea :)

    Hi again Trent

    I’ve had another go. Here are the steps I have taken:

    Created a new account on my server (taxdeduct.net)

    Installed WP 2.0.5 via fantastico

    Downloaded BB from this site

    Created database and user through cpanel. Added user to database with all privileges >> sidenote: https://bbpress.org/documentation/installation/ does not mention setting up the database. A bit confusing.

    Copied config-sample.php to config.php, edited with my info

    Uploaded to host

    Ran bb-admin/install.php

    Downloaded https://trac.bbpress.org/attachment/ticket/438/bbpress-integration.php – uploaded to WP plugins dir, activated and configured with tables prefix.

    Created new user on bbpress… couldn’t log in to WP.

    Created new user on WP… couldn’t log in to bbpress.

    My head hurts from pulling at my hair :(

    Another question: do you have to allow new user registrations on your blog for the plugin to work?

    OK, done :)

    Trent,

    I changes the cookie domain as you recommended removing the period, then deactivated the plugin, deleted it from the server, refreshed my plugins page to ensure that it had gone, uploaded it again, activated it and set the bb_ prefix.

    I’m still not having any luck with registering on either one & the account carrying to the other. Did you register both on WP and bb? because I can log into either with my admin username and the cookie carries as you say. I cannot, however, log out whilst on the bbPress dashboard.

    Yours confusedly, Simon (or pilks, sorry for switching names halfway through a thread)

    I have the following tables in my bb_ database:

    bb_forums

    bb_posts

    bb_tagged

    bb_tags

    bb_topicmeta

    bb_topics

    wp_usermeta

    wp_users

    wp_users has 8 users, none of which coincide with the 3 users in my wp_users table in wordpress.

    I am using wp2.05.

    I can now log in/out of bbpress with no problem, maybe I was seeing things before, sorry!

    Cheers – Simon

    Hi Trent

    I tried this, one additonal problem is that the logout function on the forums doesn’t work now, I have to log out from a WP page. Other than that, nothing has changed! Would it be easier if I were to delete the account from my server and try again, or do you enjoy the challenge?

    <?php

    // ** MySQL settings ** //

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

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

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

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

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

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

    $bb->cookiedomain = ‘.awspress.com’; // Thanks Trent! https://bbpress.org/forums/topic/12?replies=10

    $bb->cookiepath = ‘/’; // Thanks Trent! https://bbpress.org/forums/topic/12?replies=10

    // If your bbPress URL is http://bbpress.example.com/forums/ , the examples would be correct.

    // Adjust the domain and path to suit your actual URL.

    // Just the domain name; no directories or path. There should be no trailing slash here.

    $bb->domain = ‘http://awspress.com&#8217;; // Example: ‘http://bbpress.example.com&#8217;

    // There should be both a leading and trailing slash here. ‘/’ is fine if the site is in root.

    $bb->path = ‘/forums/’; // Example: ‘/forums/’

    // What are you going to call me?

    $bb->name = ‘Amazon plugin for WordPress’;

    // This must be set before running the install script.

    $bb->admin_email = ”;

    // Set to true if you want pretty permalinks.

    $bb->mod_rewrite = true;

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

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

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

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

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

    $bb->wp_home = ‘http://awspress.com&#8217;; // WordPress – Options->General: Blog address (URL) // No trailing slash

    $bb->wp_siteurl = ‘http://awspress.com&#8217;; // WordPress – Options->General: WordPress address (URL) // No trailing slash

    /* Stop editing */

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

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

    ?>

    Hi Trent, thanks for the response :)

    After installing WP (via fantastico) I uploaded the bbpress files to /forums/, set up database&user, ran the bbpress install script.

    I then added the WP plugin as described above, activated it and configured it with bb_ (taken from my config.php).

    I added a directory /forums/my-plugins/ and put the described bbpress plugin in there (although I probably didnt need to as it is a fresh install)

    Below is my config.php that I edited as described (maybe I misunderstood somthing here?)

    Thanks again for your help…

    code

    <?php

    // ** MySQL settings ** //

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

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

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

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

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

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

    // If your bbPress URL is http://bbpress.example.com/forums/ , the examples would be correct.

    // Adjust the domain and path to suit your actual URL.

    // Just the domain name; no directories or path. There should be no trailing slash here.

    $bb->domain = ‘http://awspress.com&#8217;; // Example: ‘http://bbpress.example.com&#8217;

    // There should be both a leading and trailing slash here. ‘/’ is fine if the site is in root.

    $bb->path = ‘/forums/’; // Example: ‘/forums/’

    // What are you going to call me?

    $bb->name = ‘Amazon plugin for WordPress’;

    // This must be set before running the install script.

    $bb->admin_email = ‘simon@xxxx.com’;

    // Set to true if you want pretty permalinks.

    $bb->mod_rewrite = true;

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

    // 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 = ‘xxxx’;

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

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

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

    $bb->wp_home = ‘http://awspress.com&#8217;; // WordPress – Options->General: Blog address (URL) // No trailing slash

    $bb->wp_siteurl = ‘http://awspress.com&#8217;; // WordPress – Options->General: WordPress address (URL) // No trailing slash

    define(‘WP_BB’, true);

    require_once(‘/home/xxxxxxx/public_html/wp-config.php’);

    /* Stop editing */

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

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

    ?>

    /code

    I have done a fresh install of the latest WP (2.0.5) and latest bbPress (0.73) earlier today and installed the WordPress plugin as described. I have also added the code described above to bbPress’s config.php.

    Wordpress is installed on my root domain, and bbPress in a folder named /forums/

    User registration integration is not working, is there something I have missed?

    Thanks – pilks (AWSpress.com)

Viewing 9 replies - 1 through 9 (of 9 total)