Search Results for 'code'
-
Search Results
-
Topic: Suggestions and misc
Where do i put them? here? if so..
i think bbp should have 2 options at install, standalone or integrate with WP .. and since so many ppl want this under WP it should be default

So i added
require_once($_SERVER . ‘/kent/wp-blog-header.php’);
in my config and it seems working fine. Can i now use functions as is_user_logged_in() and wp_list_categories() in my bbp templates ?
Can either sides registration/login be totally skipped? ex. remove bbp´s registration?
A little bit of self-promotion here…
(mods: delete if not allowed)
I just wrote an article on how to install bbPress locally.
You can read it here: http://www.refueled.net/install-bbpress-locally/
For those experts out there: if there are any errors within the article, I would appreciate if you could let me know.

Hope it’s useful.
On front-page.php I’d like the “first poster” column to show the users’ display_name (bbPress is synced with WP).
I’ve tried this
<td class="num"><?php echo(get_author_name(topic_author())); ?></td>which calls this
function get_author_name( $auth_id ) {
$authordata = get_userdata( $auth_id );
return $authordata->display_name;
}but it still shows “user_login” which tend to have ugly underscores etc.
Topic: 403 error in post.php
I’ve got Windows XP users saying they can’t post in my install of bbPress
they get this error:
Error 403
We're sorry, but we could not fulfill your request for /esprit/topic/102?replies=6#post-356 on this server.
You do not have permission to access this server.
Your technical support key is: 5246-fa61-dfd9-b1ad
You can use this key to fix this problem yourself.The only way they are able to successfully post is to hit the ‘back button’ after the error and find they have indeed successfully posted.
I searched and didn’t find this error.
What could it be?
Topic: bbPress on localhost
I’ve tried installing it on xampp and wamp and I get the same warnings. When I go ahead and install with the warnings I can’t log in. I don’t get why it is reading ODBC@localhost instead of the DB name I provided which is bbp1. I’m 99.9% sure I set up config correctly, but just in case I didn’t here it is:
// ** MySQL settings ** //
define(‘BBDB_NAME’, ‘bbp1’); // The name of the database
define(‘BBDB_USER’, ‘root’); // Your MySQL username
define(‘BBDB_PASSWORD’, ”); // …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://localhost/bbpress’;
// What are you going to call me?
$bb->name = ‘bbpress’;
// This must be set before you run the install script.
$bb->admin_email = ‘blah@blah.com;
The Warnings
Warning: mysql_get_server_info() [function.mysql-get-server-info]: Access denied for user ‘ODBC’@’localhost’ (using password: NO) in C:wampwwwbbpressbb-includesdb-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 C:wampwwwbbpressbb-includesdb-mysqli.php on line 80
Warning: Cannot modify header information – headers already sent by (output started at C:wampwwwbbpressbb-includesdb-mysqli.php:80) in C:wampwwwbbpressbb-admininstall.php on line 10
Warning: Cannot modify header information – headers already sent by (output started at C:wampwwwbbpressbb-includesdb-mysqli.php:80) in C:wampwwwbbpressbb-includesfunctions.php on line 1898
xxxxxbb-includesbozo.php on line 173

