Hmm, showing my total ignorance of caching here …
I assumed memcaching was the best way to improve the performance of bbPress and WordPress on a server even if it was only on a single server. So if I have a VPS, what specifications should I request to make sure it runs at maximum efficiency?
I”ve been contemplating moving to a 512 MB VPS and requesting they install mem cache on it for me. But juding by _ck_’s comments above that would be a stupid thing to do.
Any opinions?
@usera
You can setup a new memcached instance to avoid clashes with wordpress, but if you are sharing user tables then it shouldn’t matter.
If you add another memcached instance on a different port you can point bbPress to it by adding this to bb-config.php (default IP and port shown here)…
$memcached_servers = array( 'default' => array( '127.0.0.1:11211' ) );
Memcache is only useful for multi-server installations otherwise it has too much overhead.
Eaccelerator, APC and Xcache have shared memory solutions that are significantly faster than memcache on a single server setup. But on a single server, it’s also been demonstrated a proper mysql cache can be faster than an object cache in some cases.
Eaccelerator, APC and Xcache can already store server session data in shared memory, you just have to compile with the option and turn it on in PHP.
There are plugins for wordpress that could be ported to bbPress 1.0 for the object cache but IMHO it’s a waste of time unless you have a very slow or overwhelmed mysql server.
right no session at all 
@rareexample, just use the cookies created by bbpress (using firefox it’s easy to discover the cookies)
you are a lifesaver sambauers. I am using object cache but it’s not deeply integrated . The only other question is do you happen to know if you have to set a key (if you can set a key) to prevent object sharing. I know this is a problem with wordpress mu. I wish this was documented somewhere.
Hi,
I modified the default theme of bbpress and it worked fine at first but lately it shows the number like “6d53″ on the top of header. when i view the source code i see it is ‘<body id=”front-page”>6d53’. Please help to advise on that.
Regards,
Vannak
@chrishajer I was converting a PHPBB 3.04 install to a bbPress 1.0 install. I am using the original script in the first post of this topic. Should I be using a different script?
Sorry for the lack of details in my first post. I was trying to keep my 17 month old girl alive another day LOL.
@willscootforfood – looks like the apostrophe (single quote) was not escaped before trying to insert. Can you explain what you’re trying to convert and what script you’re using? And what version of bbPress are you going to use?
I seem to have made a terrible booboo. I installed a clean wordpress mu 2.84a and than tried to install bbpress 1.0.2 with integration… I went to the last step and entered the same admin password for wordpress mu and I got Key Master could not be created! At this point it was completed but I went back to try to correct with a proper forum account and I get the “bbpress already installed ” message…
Anyone know a simple fix besides reinstalling bbpress?
I am getting the following error:
SQL ERROR [ mysql4 ]
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘s bike’, ‘5’, ‘8’, ‘0’, ‘0’)’ at line 1 [1064]
SQL
INSERT INTO bb_forums (forum_id , forum_name, forum_desc, forum_parent, forum_order, topics, posts) VALUES (‘6’, ‘Bike of the Month’, ‘Each month we will showcase a different member’s bike’, ‘5’, ‘8’, ‘0’, ‘0’)
BACKTRACE
FILE: includes/db/mysql.php
LINE: 174
CALL: dbal_mysql->sql_error()
FILE: phpbb3tobbpress.php
LINE: 201
CALL: dbal_mysql->sql_query()
“bbPress Live” plugin used to do this before WordPress 2.8 broke it. It’s on my todo list to fix it.
You can change the autoincrement value for a field in phpMyAdmin. If you’re modifying the ID you will be using something like phpMyAdmin. I think there is a top menu item “Operations” then on the next page find the “table options” section and find the auto-increment value and just change it to whatever you want your next one to be.
For changing the existing topic_ids, I think there is also a reference to topic_id in the _posts table (if not, how would bbPress know what topic a post belonged to?) I think it also might be referenced for tags too. I didn’t check, but I think tags are attached to topics, so the tag would have to reference the topic id somehow as well.
This is all just thinking out loud. You should probably back up the database first then make your changes and see what does not work. Might want to recount afterward.
The instructions in the readme file should mention the settings?
* Until an admin menu is created, edit read-only-forums.php and change settings near the top as desired
* Add the read-only-forums.php file to bbPress’ my-plugins/ directory and activate.
https://bbpress.org/plugins/topic/read-only-forums/installation/
What version of bbPress are you using? The plugin may not be compatible with version 1.0…
Also – what edits did you make to the settings section of the admin?
It depends on the theme. Go into your theme folder in BBpress and open header.php. Figure out where the links are being created. Then just insert an html tag (no need for php) `<a href=””> blah</a> etc etc Just make sure you have the correct surrounding tags. Sometimes they use
<li> </li>
and throw in class=""..
An easy way to do it on WPMU is create a page the same as the directory. If it’s in http://www.website.com/forums then create a page call forums.
I made a solution!
Okay this is the fix I came up with. I created a new group in BP profile called signature and the field name signature too.
In BBpress in the post.php I inserted (note I don’t know PHP, if anyone can shorten this would be appreciated):
<?php if ( bp_has_profile(‘user_id=’.get_post_author_id().’&profile_group_id=XXX’) ) : ?>
<?php while ( bp_profile_groups() ) : bp_the_profile_group(); ?>
<?php if ( bp_profile_group_has_fields() ) : ?>
<?php while ( bp_profile_fields() ) : bp_the_profile_field(); ?>
<?php if ( bp_field_has_data() ) : ?>
<?php bp_the_profile_field_value() ?>
<?php endif; ?>
<?php endwhile; ?>
<?php endif; ?>
<?php endwhile; ?>
<?php else: ?>
<?php endif;?>
Just replace XXX with your group id #, mine was 3.
Still not the ideal _CK_ type plugin but it will do for now.
Hello!
I need a plugin, which can change header and footer in bbpress.
I create a social network. I use for it WordPress MU+Buddypress+bbpress.
I want to create a button “Home” in header of bbpress to unite WordPress MU and bbpress. And vice-versa I want to create a button “Forums” in header of Buddy Press.
I’m not a programmer and I don’t know php-code very well.
How can I do these changes?
Thanks
I think you’re actually trying to install buddypress and bbpress.
Make sure you’re looking in the right directory – it’s very easy to confuse “bp” with “bb”.
Yes, it’s an issue with bbPress. It’s an issue with WordPress too. It’s an issue that means you need more memory. The memory limit (see the WP Codex for more on WP_MEMORY_LIMIT) means you need to increase your blog’s PHP memory limit. Why they call it limit and not something that implies ‘adding’ I don’t know.
Which usually means your webhost hasn’t allocated enough to run WP/BB. Which means it’s actually an issue with your webhost that MAY be work-aroundable with manual tweaking.
While you’re welcome to try BB_MEMORY_LIMIT (which is the logical name for it), I don’t think it exists.
If you actually read the links I gave you, you’d know that PerishablePress (a fantastic resource) mentions you may be able to increase memory limits by editing wp-config.php like so:
<?php
@ini_set("memory_limit","16M");
Try that on bb-config.php and see how it works.
You’re probably going to need to dig into your php settings to see how much memory you’ve got right now, and how much you have to play with. You’ll need to savvy up on your error logs too, to see where it’s barfing.
Hello, everybody, I’ve searched around the forum but none of the mentioned solution works for me.
I’ve integrated bbpress into my WordPress in a subdirectory called forum, so it looks like mysite.com/forum/
I have created the .htaccess under this directory. Everything is working fine. All the forums, topics and tags could be viewed normally.
But there is always a 404 error in the breadcrumb which I used in WordPress.
Any help is warmly appreciated, thanks in advance.
I got this error message when trying to install:
“The key master could not be assigned. You may need to replace bbPress with a fresh copy and start again.”
Any ideas on how to fix this?
Thanks!
Dear friends,
is not the fault of the webhost but bbpress. I want to know how to set its memory capacity. Usual procedure with WordPress (WP-MEMORY LIMIT).