Search Results for 'bbpress'
-
AuthorSearch Results
-
October 18, 2007 at 11:27 am #61160
In reply to: Fatal Error Prior to Installation
Graeme
MemberYou may be missing some files in your installation….?
My preferred technique for installing is to upload the zip/tarball to the server and then use either command line (i.e. ssh) or a web file manager on my webhost to extract the zip/tarball.
If you extract the zip/tarball on your own computer and then use FTP to upload the bbPress directory tree then sometimes the FTP client can miss some files if it gets interrupted.
October 18, 2007 at 10:04 am #61173In reply to: Automattic acquires Gravatar.com
_ck_
ParticipantI think there is indeed a gravatar for bbpress plugin but I like the more developed avatar plugin by Louise Dade.
A locally cached copy of a gravatar is always better than relying on the remote copy, even with the enhanced WP speed. Perhaps Louise’s can show the remote gravatar and give the member the option to use it as the default local. I’ve got a very large blog using gravatars and polling for a couple thousand members is a serious load issue with gravatars.
Then there is the issue of universal avatar support across bbPress<->WP which I don’t quite have working yet, I have to look at what other people have done.
In any case this is a good move for gravatars. But I simply cannot believe they built something with Ruby on Rails and were hoping to scale it for millions of users though. That’s going to have to be changed radically.
October 18, 2007 at 5:58 am #2517Topic: Automattic acquires Gravatar.com
in forum Plugins_ck_
ParticipantAutomattic (wordpress.com) just “acquired” Gravatar
http://blog.gravatar.com/2007/10/18/automattic-gravatar/
Looks like we could have a reliable auto-avatar system for bbPress now? Any existing avatar plugin could ask the member if they want to “import” their gravatar.
I think gravatars can only be 80×80 max and not animated so the existing avatar plugin is still far superior.
October 18, 2007 at 4:37 am #2516Topic: Fatal Error Prior to Installation
in forum Installationiamfyrestorm
MemberI’m doing a fresh install of bbpress. I’m not linking it to wp.
I’m getting this error:
Fatal error: Call to undefined function: __() in /home/2816/domains/ridetoremedy.com/html/community/bb-includes/default-filters.php on line 81
My config file is correct. It’s linking to the same db as wp (simply because there’s no reason to use a different db if I can just prefix the tables differents, i.e. bb)
Any help would be appreciated. I don’t want to have to go to a different forum system, but I really thought this would be easier than it’s turning out to be.
Thanks
October 18, 2007 at 3:13 am #61149In reply to: Internal Server Error
JRussell
MemberThis has my config.php data.
October 18, 2007 at 2:39 am #61148In reply to: Installation won’t launch.
JRussell
Memberhttps://trac.bbpress.org/ticket/745
This information helped me with the above situation.
Make the changes per 745c.diff and you’ll be set.
Thanks for a great program, Trent!
October 18, 2007 at 1:41 am #61144In reply to: Installation won’t launch.
JRussell
Member<?php
// ** MySQL settings ** //
define(‘BBDB_NAME’, ‘unrprus1_wp02’); // The name of the database
define(‘BBDB_USER’, ‘unrprus1_John’); // Your MySQL username
define(‘BBDB_PASSWORD’, ‘xxxxxxxxx’); // …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://www.unrpredental.com/wp02/forums’;
// What are you going to call me?
$bb->name = ‘Message Board’;
// This must be set before you run the install script.
$bb->admin_email = ‘xxxx@unrpredental.com’;
// 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 = -7;
// 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 = ‘b57b8370ac44’; // 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://www.unrpredental.com’; // WordPress – Options->General: Blog address (URL) // Example: ‘http://example.com’
$bb->wp_siteurl = ‘http://www.unrpredental.com/wp02’; // 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’ );
?>
October 18, 2007 at 1:39 am #2510Topic: Installation won’t launch.
in forum InstallationJRussell
MemberHey everyone,
I need to pick your brains. I have uploaded bbPress in a folder called “forums” within “wp02” (WordPress folder). I am using the same MySQL username and database info that WordPress uses since I want to integrate it. However, I’ve gone over config.php and I can’t seem to find an error. Can anyone offer assistance? Thanks.
jazbek
MemberYeah, I think that did it. I just tested a post as a regular user and it worked without any errors. I am short on time right now so if anyone else has a chance to try it out, that’d be cool. Here’s all I did (all in felsyncpost()):
1) added
$bb_current_userto the globals2) commented out line 36
3) added
$bb_current_user = $current_user;in its place.Try it out.
October 17, 2007 at 9:19 pm #2508Topic: Key master is not allowed to add forums
in forum TroubleshootingSimOnline
MemberI’ve installed bbpress and integrated it with an existing installation of WordPress, but I can’t add any new forums, even though I’m logged in as the key master. I just get a message that I don’t have permission to do that. What’s the problem?
jazbek
MemberActually, I figured out when in the felfunctions the “member” capability was being set (you may already know this) – line 36
I thought that maybe the globals should be changed to
global $bb_current_user;instead of
global $current_user;That seemed to work when I was posting in wordpress as an admin, but I just tried posting with another user account and got an SQL error, so no dice. I have some other stuff to work on right now, but will come back to this later. Maybe the global $bb_current_user needs to be set to the $current_user instead of doing
bb_set_current_user( $current_user->ID );?
October 17, 2007 at 7:20 pm #61130In reply to: WPMU + 404 error
jazbek
Membermy rewrite rules for the document root where wordpressmu is installed are (note, my bbpress is installed in the /discuss directory):
RewriteEngine On
RewriteBase /
#uploaded files
RewriteRule ^(.*/)?files/$ index.php [L]
RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d [OR]
RewriteCond %{REQUEST_URI} ^/discuss(.*)$
RewriteRule . – [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*.php)$ $2 [L]
RewriteRule . index.php [L]
then, in my bbpress directory, i put in my .htaccess:
Options +MultiViews
if the +MultiViews thing doesn’t work for you, there’s something else you can put in there (only needed if you want to use the pretty-permalinks). Described here:
slexaxton
MemberThe fix that I made to that function has been tested now and it seems to work, but the fact of the matter is that it could have very well just broke that function all together. I think everything works to my satisfaction now though, so I probably wont worry about it until I run into some more problems. The only thing that gives me hope in that respect is that previously, that
if statementwas failing. meaning that the user was not a bb_user:if ( !( is_object($user) && is_a($user, 'BB_User') ) )so it would create new capabilities for the user (incorrectly at that). But when I changed it to wp_User, for some reason that
if statementcatches and just returns without creating the new capabilities that break access permissions. I don’t know why this works after looking into the code, but until I see negative side effects, I might turn a shy eye (<— i dont think thats a real saying…).Also, on the topic of redundant database entries, I think since we have the integration set up from the WP comment box, it wouldnt be incredibly difficult to simply take out the one database call (somewhere in the wordpress code never-never-land) that actually posts the comment to the database. So we’re not inputting a box from bbpress, but we would effectively stop wordpress comments from being saved to the database since we never actually look at them. This of course wouldn’t work if you were merely copying database entries in order to post the comments as posts in bbPress, but I dont think thats what you’re doing. It probably is two separate database
INSERTcalls, and I bet we can take the wordpress one out, and have identical functionality (assuming we took out wordpress comments and exclusively use felbbreplies()). It’s merely an optimization though, and unless the user base is larger than any of us probably are going to have it might not matter… I’ll look into it tonight when I get home, and let you know.sorry for the long post
-Alex
October 17, 2007 at 12:35 pm #61117In reply to: Key Master Doesn’t Have Permission to Add Forum
richsad
MemberOK I fixed it. It looks like we took some bad advice. There was a post saying to make wpmu and bbpress get along I should add:
if ( isset( $bb->wp_table_prefix ) ){
$bb->usercookie = ‘wordpressuser’;
$bb->passcookie = ‘wordpresspass’;
}
to the config.php
That is the code that was messing things up. Without it admin works fine as keymaster and I see no other problems yet.
slexaxton
MemberThis has been scarcely tested, but I think I have a fix for my bug… weird…
in the bb-includes/capabilities.php file there is a function at the bottom that looks like this:
function bb_give_user_default_role( $user ) {
if ( !( is_object($user) && is_a($user, 'BB_User') ) )
return;
$user->set_role('member');
}I changed it to look like this:
function bb_give_user_default_role( $user ) {
if ( !( is_object($user) && is_a($user, 'wp_User') ) )
return;
$user->set_role('member');
}Instead of checking to see if the bb_user existed, we wanted to check to see if the wordpress user existed, assuming we merged our user table. For some reason, this seems like a bug in the bbPress code. Shouldn’t that be a variable prefix to begin with?
October 17, 2007 at 7:24 am #61115In reply to: Key Master Doesn’t Have Permission to Add Forum
_ck_
ParticipantIf creating a new user and assigning them as a Keymaster works, then it’s obviously a problem where the user in the existing WP/WPMU table doesn’t have the correct role set by bbpress when it installs/configures itself.
For those that know what they are doing, you can examine the new, working admin user under phpmyadmin and compare them to the old non-working admin and see what’s different. I think roles are stored in the usermeta?
Unfortunately I personally don’t have the time/setup to try to hunt down the exact bug with this right now, but I bet there are plenty of people on those similar threads with experience who can tell you what’s wrong.
https://bbpress.org/forums/tags/wpmu
https://bbpress.org/forums/tags/keymaster
(also unfortunately this is yet another demonstration of bbpress integration weaknesses that must be fixed before it will be widely accepted by existing WP users. WP has a role editing table in the admin options, or might be a plugin, maybe that can be ported?)
joe12south
MemberThanks, Felix. Getting closer.
Okay, I added “$bb_roles”
– Now, I get no errors when creating an entry in WP. The topic is created in bbPress. Yay! Progress!
– If I post a comment from WP, I get a blank page back on submit. If I go back and look at the entry, the comment is actually recorded, though. It is also present in bbPress.
– If I post a reply from bbPress, it does not show in WP. Is this expected?
October 17, 2007 at 2:15 am #61128In reply to: WPMU + 404 error
jazbek
MemberNever mind. I was over-complicating things.. it had nothing to do with WPMU. I hadn’t set the .htaccess file for bbpress up yet.
October 17, 2007 at 1:54 am #60617In reply to: WordPress-MU and BBPress
Lifeischoice
ParticipantI am also interested in this type of integration where it seems you have not left the site to go from blog to forum etc….same theme for both? any help for this type of integration will be nice..
October 17, 2007 at 12:55 am #61114In reply to: Key Master Doesn’t Have Permission to Add Forum
Lars-Christian
MemberJust installed bbPress, and experiencing the exact same problem. Normal installation of WP 2.3 (latest version). No clue what might be wrong either.
Making another user KeyMaster works however. So as a workaround I’ve registered a “dummy” to use for this only. Awesome.
Edit: It turns out my “normal” account doesn’t have permission to edit tags either.
October 17, 2007 at 12:39 am #2506Topic: WPMU + 404 error
in forum Troubleshootingjazbek
MemberHey all,
Trying to get bbpress and WPMU to work together. Using a subdomain install of WPMU. I can view the front page of my bbpress install just fine, but if I click any topic, I get a 404 showing in my wordpress theme.
Is this something I have to fix in the .htaccess?
October 16, 2007 at 9:30 pm #61113In reply to: Key Master Doesn’t Have Permission to Add Forum
richsad
MemberHi _ck_, I’m an associate of livwest who posted this. I’ve tried various things. I found the user metadata. The admin account has the keymaster specification and can get to the dashboard. But it cannot add a forum. I added the magic bits to my own account directly in MySQL and became a keymaster too. I show up in the list of keymasters. But I don’t have the right to change a forum either.
This is a wpmu and bbpress mashup. It all went fine at install. Where is the data controlling rights to add forums stored?
October 16, 2007 at 4:14 pm #60978In reply to: Can’t add additional tags to post
jolaedana
MemberI’m still listed as a keyholder, but I’m wondering if perhaps the steps in this thread might fix the issue?
Thoughts before I create a new handle and give it a try? Would it hurt anything?
October 16, 2007 at 1:06 pm #49636In reply to: Emoticons For bbPress?
petitpoulain
Memberi see the emoticons but cant click them ;_;
i tried making this but didnt work yet

https://bbpress.org/forums/topic/emoticons-for-bbpress?replies=55#post-819
October 16, 2007 at 12:04 pm #61127In reply to: Cant change theme – link to theme is wrong
petitpoulain
MemberA quick solution is changing where is “kakumei” to “mytheme” on all files.
But hope a better solution, i tried that too and didnt work

https://bbpress.org/forums/topic/theme-not-found-default-theme-applied?replies=8#post-4407
-
AuthorSearch Results