Search Results for 'bbpress'
-
Search Results
-
Registration in WP should be registration on bbpress, so bbpress will use wp_users in wordpress database.
When login through wp-login.php, automatically login at bbpress
So I made some changes in my config.php (bbpress file) and in wp-config.php (wp file)
They are:
config.php
<?php
require_once('/home/........................./public_html/wp-blog-header.php');
// ** MySQL settings ** //
define('BBDB_NAME', 'xxx'); // The name of the database
define('BBDB_USER', 'xxx'); // Your MySQL username
define('BBDB_PASSWORD', 'xxx'); // ...and password
define('BBDB_HOST', 'localhost'); // 99% chance you won't need to change this value
define('CUSTOM_USER_TABLE', 'wp_users');
define('CUSTOM_USER_META_TABLE', 'wp_usermeta');
// 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://site.ru’; // 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 = ‘/forum/’; // Example: ‘/forums/’
// What are you going to call me?
$bb->name = ‘Форум’;
// This must be set before running the install script.
$bb->admin_email = ‘admin@site.ru’;
// 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 = false;
// 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://site.ru’; // WordPress – Options->General: Blog address (URL) // No trailing slash
$bb->wp_siteurl = ‘http://site.ru’; // WordPress – Options->General: WordPress address (URL) // No trailing slash
/* Stop editing */
/**************************
* Start WP integration
**************************/
// My bbpress is in a subdirectory of my WP install… must bew a nicer way of doing this??
if(file_exists(“../wp-settings.php”))
{
// loads the functions and wp config
require_once “../wp-config.php”;
require_once “../wp-settings.php”;
// use the WP user table for your bbpress user list
define(‘CUSTOM_USER_TABLE’, ‘wp_users’);
// your $bb->domain must match your wp domain exactly or the hash won’t work and users will not authenticate.
$myhash = md5($bb->domain);
$bb->usercookie = ‘wordpressuser_’ . $myhash;
$bb->passcookie = ‘wordpresspass_’ . $myhash;
// Use the same cookie as WP
$bb->cookiepath = ‘/’;
}
/**************************
* End WP integration
**************************/
define(‘BBPATH’, dirname(__FILE__) . ‘/’ );
require_once( BBPATH . ‘bb-settings.php’ );
?>
And I add in wp-config.php:
// Cookies, bbPress fix
$bb->cookiedomain = 'localhost';
$bb->cookiepath = '/';
I register new user in worpdress and then go to my bbpress.
Bbpress says my “user not found”
What is my mistake?
Hello,
I’m trying to install bbPress on an IIS 6 server.
The installation script appears to have completed successfully and can be viewed at the following URL:
http://www.med.cam.ac.uk/confocal/forums
Unfortunately, there appear to be a few problems with the installation as follows:
1) When clicking on “Your first topic” in Firefox, I receive the following error:
“Firefox has detected that the server is redirecting the request for this address in a way that will never complete”
Browsing the link in IE 7 just appears to hang the browser
2) The admin home page appears to work, but n closer inspection the shortcuts “Dashboard, Users, Content and Site Management” all have incorrect paths:
“http://www.med.cam.ac.uk/forums/bb-admin/index.php”
instead of
http://www.med.cam.ac.uk/confocal/forums/bb-admin/index.php
I think my config.php is ok:
$bb->domain = ‘http://www.med.cam.ac.uk/confocal’;
$bb->path = ‘/forums/’;
$bb->mod_rewrite = false;
Does anybody have any ideas that may help me (other than move the forum to Apache that is!).
TIA
Dave
Hi
Interesting times. Made my first attempt at integrating bbPress.
Installation went fine and I can login as Admin, my bbPress entry page comes up ok growthlounge.com/forum
But the big problem is when I come to click on anything. It is the same outcome every time – a grey screen with nothing on.
This happened both when I attempted to integrate with WordPress, but also when I completely reinstalled without any attempt to integrate.
Here are some of the particulars:
define(‘BBDB_NAME’, ‘wordpressgl’); // The name of the database
define(‘BBDB_USER’, ‘wordpressgl’); // Your MySQL username
define(‘BBDB_PASSWORD’, ‘xxxxxxx’); // …and password
define(‘BBDB_HOST’, ‘mysql.growthlounge.com’); // 99% chance you won’t need to change this value
$bb->domain = ‘http://growthlounge.com’;
$bb->path = ‘/forum/’;
$bb->mod_rewrite = true;
$bb->wp_table_prefix = false; // WordPress table prefix. Example: ‘wp_’;
$bb->wp_home = false; // WordPress – Options->General: Blog address (URL) // No trailing slash
$bb->wp_siteurl = false; // WordPress – Options->General: WordPress address (URL) // No trailing slash
WordPress is installed at http://growthlounge.com
Wordpress blog is setup to operate from http://growthlounge.com/blog/
However, the problem shouldn’t be WordPress integration, as I’ve made no attempt to do this the 2nd time round.
Any ideas guys? No problems during installation but a completely unfunctioning site….
Cheers
Max
Topic: bbpress.org plugins page
Care to share on how you created this section?
Looks like a modified bbpress install.
Ratings are from a plugin, but how about the “ReadMore” feature and other differences?
Thanks
hi,
I installed a bbpress with the wordpress integration. But when I access one topic like:
http://localhost/wordpress/bbpress/topic/1?replies=1
the browser display:
404 Not Found
The requested URL /bbpress/topic/1?replies=1 does not exist.
I don’t know how the bbpress front page works, so I cann’t find the real page the url above specify. Can someone give me some guids or any document about it. I browered and searched this site and found nothing about it.
Thanks
hywl51
Topic: don’t work ADD NEW» button
I integrating my blog with bbpress and when I add
require_once('z:/home/test2.ru/www/wp-blog-header.php');in config.php some buttons in bbpress forum don’t work — ADD NEW» and edit profileAny ideas?
Im also using k2 and had to disable UTW.