Search Results for 'bbpress'
-
Search Results
-
Topic: What is localhost?
I’m trying to install BBpress on my website, yet I don’t know what to do for the localhost bit in the config file. Can you help me?
Topic: Can’t see user profiles
I’ve just installed bbPress 0.8.3 in /forums/ in WordPress 2.3, but when I click on a user name or profile to inspect or edit, I’m taken back to the front page of the blog.
Hovering over the link shows [blog URL]/forums/profile/[user name]. Hovering over the Edit link gives [blog URL]/forums/profile/[user name]/edit.
Other than that, it seems to be working, although I haven’t tested it fully.
I have added:
require_once(‘path/to/wp-blog-header.php’);
to my bbPress config file to allow bbPress to have access to wordpress functions. Now I want to do the reverse and add access to bbPress functions in WordPress. Is there a similar easy way to do this?
I am getting this error at my site.
Warning: mysql_get_server_info() [function.mysql-get-server-info]: Access denied for user ‘thechamp’@’localhost’ (using password: NO) in /home/thechamp/public_html/bbpress/bb-includes/db-mysqli.php on line 80
Warning: mysql_get_server_info() [function.mysql-get-server-info]: A link to the server could not be established in /home/thechamp/public_html/bbpress/bb-includes/db-mysqli.php on line 80
Warning: Cannot modify header information – headers already sent by (output started at /home/thechamp/public_html/bbpress/bb-includes/db-mysqli.php:80) in /home/thechamp/public_html/bbpress/bb-includes/pluggable.php on line 37
Warning: Cannot modify header information – headers already sent by (output started at /home/thechamp/public_html/bbpress/bb-includes/db-mysqli.php:80) in /home/thechamp/public_html/bbpress/bb-includes/pluggable.php on line 37
Warning: Cannot modify header information – headers already sent by (output started at /home/thechamp/public_html/bbpress/bb-includes/db-mysqli.php:80) in /home/thechamp/public_html/bbpress/bb-includes/pluggable.php on line 164
heres my config file
<?php
// ** MySQL settings ** //
define(‘BBDB_NAME’, ‘thechamp_wrdp1’); // The name of the database
define(‘BBDB_USER’, ‘thechamp_risal’); // Your MySQL username
define(‘BBDB_PASSWORD’, ‘xxxxx’); // …and password
define(‘BBDB_HOST’, ‘localhost’); // 99% chance you won’t need to change these last few
define(‘BBDB_CHARSET’, ‘utf8’); // If you are *upgrading*, and your old 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 the prefix if you want to have multiple forums in a single database.
$bb_table_prefix = ‘bb_’; // Only letters, numbers and underscores please!
// The full URL of your bbPress install
$bb->uri = ‘http://idjam.com/bbpress/’;
// What are you going to call me?
$bb->name = ‘Support Forums’;
// This must be set before you run the install script.
$bb->admin_email = ‘*********’;
// Set to true if you want pretty permalinks, set to ‘slugs’ if you want to use slug based pretty permalinks.
$bb->mod_rewrite = false;
// 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 = ”; // Example: ‘0123456789ab’
// The rest is only useful if you are integrating bbPress with WordPress.
// If you’re not, just leave it as it is.
$bb->wp_table_prefix = ‘wp_’; // WordPress table prefix. Example: ‘wp_’;
$bb->wp_home = ‘http://idjam.com’; // WordPress – Options->General: Blog address (URL) // Example: ‘http://example.com’
$bb->wp_siteurl = ‘http://idjam.com’; // WordPress – Options->General: WordPress address (URL) // Example: ‘http://example.com’
/* Stop editing */
if ( !defined(‘BBPATH’) )
define(‘BBPATH’, dirname(__FILE__) . ‘/’ );
require_once( BBPATH . ‘bb-settings.php’ );
?>
Topic: New Topic Template
I’m trying to edit the new topic template, but am running into some difficulty. Its fine if the user selects a forum, then selects new topic. However if the user clicks to add a new topic from the forum root the template thats called is a shared include file, not a template itself, so i can’t edit it to fit my design properly without it effecting other areas of the site.
Is there a function to see if this file is called directly or within another template so i can target the styling if the page is called on its own?
I had a bit more detailed diagnositics but have only just come back to this project after a while out, so dont’ have it to hand but this is the URL its calling:
bbpress/?new=1
Any ideas?
Topic: Trouble Logging Out
See the release announcement.
bbPress is installed in /forums and WPMU is installed in /blogs .
The cookie and database integration works fine.
I am able to access bbPress functions from within WPMU by adding this to the end of /blogs/wp-config.php
// Include bbPress functions in WPMU
define('WP_BB', true); // Avoid duplicate function declarations
require_once( ABSPATH . '../forums/bb-load.php');
I’m trying to add WPMU functions to bbPress. I’ve tried adding this to the beginning of /forums/config.php . I’ve also tried putting this in the beginning of the file.
require_once( dirname(__FILE__) . '/../blogs/wp-blog-header.php')
When I go to /forums/ I’m redirected to the WPMU sign up page (/blogs/wp-signup.php?new=%2F).
I’ve also created a simple file ( /test.php ) and tried to integrate it with wpmu. It it also redirected to the WPMU sign up page.
Test Start
<?php
require_once( dirname(__FILE__) . '/blogs/wp-blog-header.php');
?>
Test End
Do I need to create a WPMU rewrite rule in the wp_1_options rewrite rulerecord? There shouldn’t be any need for an .htaccess rewrite rule since /forums and /blogs are not in subfolders of either.
Any ideas how to make this work?
Topic: WordPress Integration
I am trying to make my wordpress blog integrate with bbpress but I think their might be a problem. I have two wordpress blogs in my webserver so maybe bbpress dont know with table to look.
This is if I log in first in bbpress without login in the blog
bbPress database error: [Table ‘libreexp_bbpress.wp_users’ doesn’t exist]
SELECT * FROM wp_users WHERE user_login = ‘admin’ AND SUBSTRING_INDEX( user_pass, ‘—‘, 1 ) = ‘fb756366af4998835a845e97addc3a3b’
bbPress database error: [Table ‘libreexp_bbpress.wp_users’ doesn’t exist]
SELECT * FROM wp_users WHERE user_login = ‘admin’
Log in Failed
This is if I log in to the blog first and then go to the bbpress
bbPress database error: [Table ‘libreexp_bbpress.wp_users’ doesn’t exist]
SELECT * FROM wp_users WHERE user_login = ‘admin’ AND MD5( user_pass ) = ‘d465d8c05bbf7c921e1fad84d4358e44’
bbPress database error: [Table ‘libreexp_bbpress.wp_users’ doesn’t exist]
SELECT * FROM wp_users WHERE user_login = ‘admin’ AND MD5( user_pass ) = ‘d465d8c05bbf7c921e1fad84d4358e44’
This is my conf file
// The rest is only useful if you are integrating bbPress with WordPress.
// If you’re not, just leave it as it is.
$bb->wp_table_prefix = ‘wp_’; // WordPress table prefix. Example: ‘wp_’;
$bb->wp_home = ‘http://macuserboricua.com’; // WordPress – Options->General: Blog address (URL) // Example: ‘http://example.com’
$bb->wp_siteurl = ‘http://macuserboricua.com’; // WordPress – Options->General: WordPress address (URL) // Example: ‘http://example.com’
Help please I would love to mac this two work together
Topic: PHPBB3 Converstion
We are excited about the possibility of converting from PHPBB3 to BBPress. However all the discussions about conversion seem to surround previous versions of PHPBB. Am I missing an appropriate thread? Does anyone have any suggestions?
Does anyone know if somebody may be working on this?
Thanks
I want even tighter integration: I’d like the blog and the forums to share the same comments, or at least duplicate them, so that a comment in one place appears in the other place. Has anyone done anything like this? The bbPress Post plugin isn’t really doing it: all it does is make a new topic appear in the forum, but the comments are not shared and vice-versa isn’t possible, where a new topic in the forum creates a new blog post.