Search Results for 'bbpress'
-
Search Results
-
Hello
I’m testing out some things and trying to synchronize WordPress, BBPress and Amember Subscription software. I have pretty much everything worked out, but need a little cookie help if it’s out there.
I’ve read this post, which outlines cookie settings
http://bbpress.org/forums/topic/wordpressbbpress-single-sign-on?replies=22#post-9010
The problem is that I don’t want to install the cookie plugin for WP because I already have this in my Wp-config file
define(‘COOKIEPATH’,’/’);
define(‘SITECOOKIEPATH’, ‘/’);
define(‘COOKIEHASH’, md5($_SERVER[HTTP_HOST]));
I guess my question is, what do I put into my BB config file for cookies?
I realize this may not be a direct BBPress issue, but I thought maybe one of you had an idea.
Thanks
Hey,
well, i ve got this msg: Your PHP installation appears to be missing the MySQL which is required for bbPress.
And well, i have the config.php in the host already, with all the Database info on it. its alright, i checked more than twice, the file is on the correct folder (the only thing i did was change the dorectory name), but since i have 2 databases: one is version 4.x of MYSQL and the other 5.x i already tried with both Databases and i cannot make this happen…
What should i do?
Thanks!
We are looking for a nice forum, so bbPress is an obvious and nice indeed solution. But, how can we integrate bbPress with or into WordPress? I mean, not datebase, cookies etc. (http://bbpress.org/documentation/integration-with-wordpress/), but visual, in our WordPress site?
login between my wpmu installation and my bbpress seem to work okay but when I click on a topic link on the frontpage I get a page not found error from my wpmu installation…
WPMU: http://www.mpm.org.au (blog signup disabled but you can sign up as a user)
BBPress: http://www.mpm.org.au/community/
Previously I did have it all working but only with WP single not MU.
Any help would be much appreciated!
This is my config file:
<?php
// ** MySQL settings ** //
define(‘BBDB_NAME’, ‘xxxx’); // The name of the database
define(‘BBDB_USER’, ‘xxxx_xxxx’); // Your MySQL username
define(‘BBDB_PASSWORD’, ‘xxxx’); // …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://www.mpm.org.au’; // Example: ‘http://bbpress.example.com’
// There should be both a leading and trailing slash here. ‘/’ is fine if the site is in root.
$bb->path = ‘/community/’; // Example: ‘/forums/’
// What are you going to call me?
$bb->name = ‘MakePeace Media LTD’;
// This must be set before running the install script.
$bb->admin_email = ‘myemail’;
// Set to true if you want pretty permalinks.
$bb->mod_rewrite = true;
// The number of topics that show on each page.
$bb->page_topics = 15;
// 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’; // Example: ‘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://www.mpm.org.au’; // WordPress – Options->General: Blog address (URL) // No trailing slash. Example: ‘http://example.com’
$bb->wp_siteurl = ‘http://www.mpm.org.au’; // WordPress – Options->General: WordPress address (URL) // No trailing slash. Example: ‘http://example.com’
if ( isset( $bb->wp_table_prefix ) ){
$bb->usercookie = “wordpressuser”;
$bb->passcookie = “wordpresspass”;
}
/* Stop editing */
if ( !defined(‘BBPATH’) )
define(‘BBPATH’, dirname(__FILE__) . ‘/’ );
require_once( BBPATH . ‘bb-settings.php’ );
?>
Hello
I have three bbpress installs on my website, for three very different forums, example: bbpress/a
bbpress/b
bbpress/c
I am just installing the third one, all are on 8.2.1. I noticed a problem when setting up a test profile. On the third forum, bbpress/c, the profile ID was 2. It took the Profile ID from bbpress/b, the second forum, which has nothing to do with third forum. Now, I am afraid of deleting profile ID 2 from bbpress/c because it may delete profile ID 2 from bbpress/b. So now it appears that even with different names for my installs with different names within the config.php files, that the profile IDS are not differentiantiated. This is a major problem.
I don’t want my subforums to showup on frontpage as in http://bbpress.org/forums/topic/subforums-and-markup?replies=12
I tried fel64’s recommendation:
<?php foreach( $forums as $forum ) : ?>
//blaaaaah HTML
<?php endforeach; ?>
to this sort of thing:
<?php foreach( $forums as $forum ) :
if( !$forum->forum_parent ) { ?>
//blaaaaaah HTML
<?php }
enforeach; ?>
I get an error on line 60,
Parse error: syntax error, unexpected T_ELSE in front-page.php on line 60
Line 60 writes
<?php endif; else : // $forums ?>