I’m running xcache opcode caching, and I have a dedicated virtual with 1GB of ram from Mediatemple. I am very committed to making sure the site loads instantly… the site in question is the one linked on my username here.
So loading the plugins causes the speed problems? I’ve tried running phped profiler and couldn’t find where the speed issue was.
Is it the actual parsing of the files, or loading in the functions into the filter/actions list?
I’m considering just concatenating all the plugins into a single plugin, just to see if that makes a difference.
Oh and bbPress’s (and WordPress’s) biggest weakness is not mysql queries – it’s actually all the plugins loading.
Unless you use an opcode cache or have really good disk caching on your host, loading a dozen or more plugins can cause those longer delays.
If you are on a VPS, you need eaccelerator or some other opcode cache. A few shared hosts like dreamhost let you install your own copy of php+fastcgi and eaccelerator too (but I do not recommend DreamHost, quite the opposite).
Depending on your host and how accurate their microtime is (for example I actually get negative numbers sometimes on Dreamhost?!!?) it’s fairly accurate but look at the page after a few tries and round out the numbers.
I have even more improvements in the newest bb-benchmach version (can’t remember if I put it into the SVN yet but I don’t think so). With a slight modification to bb-settings.php you can now get a detailed report like this:
=== benchmark & query results ===
load average: 1.64, 1.23, 1.14
total page time: 0.696 seconds.
time to reach each section:
bb_underscore_plugins_loaded = 0.412
bb-polls.php loaded = 0.421
bb-signatures.php loaded = 0.431
report-post.php loaded = 0.434
user-topics-to-favorites.php loaded = 0.436
tweaks.php loaded = 0.449
bb-topic-views.php loaded = 0.472
my-views.php loaded = 0.479
notification.php loaded = 0.481
bb-gzip.php loaded = 0.488
my-views-installed-available-plugins.php loaded = 0.491
my-views-started-participated-topics.php loaded = 0.493
my-views-most-least-views.php loaded = 0.495
plugin-browser.php loaded = 0.504
bb_plugins_loaded = 0.506
pluggable.php loaded = 0.523
locale.php loaded = 0.543
bb_init = 0.548
bb_index.php_pre_db = 0.603
bb_index.php = 0.616
front-page.php = 0.632
header.php = 0.655
logged-in.php = 0.675
footer.php = 0.694
time to render page: 0.6623 seconds (query time subtracted)
total query count: 11
total query time: 0.0337 seconds
slowest call was # 1 : 0.0169 seconds
SELECT meta_key, meta_value FROM bb_topicmeta WHERE topic_id = '0' server:dbh_local connect: 10.59ms
=== mysql queries used ===
# 1 : 0.0169 seconds
SELECT meta_key, meta_value FROM bb_topicmeta WHERE topic_id = '0' server:dbh_local connect: 10.59ms
etc. etc.
Yup. 2nd post:
look for the #thread li entry [in your CSS] and add to it:
overflow: auto;
If you want something to physically resize the images, no. A plugin is possible but you’d also have to permanently store all the images on your server.
You can. But the mod’s policy around here is to close any threads asking for _hired_ help once contact details have been left, because the boards cannot be used to organise hired, ie. paid-for, help. You can only set up contact. So once you’ve left a contact address, they might as well close it since nothing desirable could come of it.
It’s not exactly transparent to people not in the know, though. Trent, if you see this, might be a good idea to clue people in when you close. 
By the way, this is the third topic you made for this, right? That’s probably enough. Anyone interested should have seen this by now.
has anyone come up with a good solution to this for us who can’t code php?
All I want is my members transferred to BBPress from my forums. Thanks
.
Hi Null, thank you for your fast reply !
I actually tried the plugin before posting 
My main problem with it – is that I can’t translate “forum” and “search” into hebrew. If i could, I would have used it.
Also, for some reason, the plugin is buged, so I can’t move it’s widgets around (in FF and in IE as well).
What would you recommend me to do ?
Check out the bbMenu plugin, it adds a menu to you bbPress. Don’t think it works with rtl, but perhaps you can convert the normal css (see plugin) to the rtl css
The plugin:
https://bbpress.org/forums/topic/bbmenu-12-released?replies=6
And to add a tab:
https://bbpress.org/forums/topic/plugin-addmenutab-10?replies=1
If any changes are needed in the rtl css and you make it work, let me know
Hi.
This is probably a very simple question, but I couldn’t find an easy straight answer.
What code should I add (to the header.php and the style.css), in order to get a nice manu for the forum ?
(I am using the style-rtl.css)
( I just wish people to be able to navigate back to my blog, and to the search page).
Thanks,
Tal.
You have to overwrite the pluggable login functions which will instead check your own existing login system. This wordpress reference should be applicable. https://codex.wordpress.org/Pluggable_Functions
This isn’t something someone else can do for you unless they have your existing login system installed. But if you have any problems we may be able to help with them.
Show me the money!!! (the code
), cause I think it can fix a bug I have with my own plugin I am working on…
I could never get it to work myself (which 2 hosts have done to me) without just having the following in the .htaccess file:
Options +MultiViews
That doesn’t work for you?
Trent
My .htaccess located in /forums/ had a permission of 644.
I didn’t delete the htaccess, just disabled permalink.. so I still have the contents of the file (I pulled it directly from bbpress rewrite php file):
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /forums/
RewriteRule ^forum/(.+)/page/([0-9]+)$ /forums/forum.php?id=$1&page=$2 [L,QSA]
RewriteRule ^forum/(.+)/?$ /forums/forum.php?id=$1 [L,QSA]
RewriteRule ^topic/(.+)/page/([0-9]+)$ /forums/topic.php?id=$1&page=$2 [L,QSA]
RewriteRule ^topic/(.+)/?$ /forums/topic.php?id=$1 [L,QSA]
RewriteRule ^tags/(.+)/page/([0-9]+)$ /forums/tags.php?tag=$1&page=$2 [L,QSA]
RewriteRule ^tags/(.+)/?$ /forums/tags.php?tag=$1 [L,QSA]
RewriteRule ^tags/?$ /forums/tags.php [L,QSA]
RewriteRule ^profile/(.+)/page/([0-9]+)$ /forums/profile.php?id=$1&page=$2 [L,QSA]
RewriteRule ^profile/(.+)/([a-z-]+)$ /forums/profile.php?id=$1&tab=$2 [L,QSA]
RewriteRule ^profile/(.+)/([a-z-]+)/page/([0-9]+)$ /forums/profile.php?id=$1&tab=$2&page=$3 [L,QSA]
RewriteRule ^profile/(.+)/?$ /forums/profile.php?id=$1 [L,QSA]
RewriteRule ^view/([a-z-]+)/page/([0-9]+)$ /forums/view.php?view=$1&page=$2 [L,QSA]
RewriteRule ^view/([a-z-]+)$ /forums/view.php?view=$1 [L,QSA]
RewriteRule ^rss/$ /forums/rss.php [L,QSA]
RewriteRule ^rss/forum/([0-9]+)$ /forums/rss.php?forum=$1 [L,QSA]
RewriteRule ^rss/topic/([0-9]+)$ /forums/rss.php?topic=$1 [L,QSA]
RewriteRule ^rss/tags/([a-z-]+)$ /forums/rss.php?tag=$1 [L,QSA]
RewriteRule ^rss/profile/([0-9]+)$ /forums/rss.php?profile=$1 [L,QSA]
</IfModule>
Did you follow the instructions to the letter? I know most people don’t have the correct permissions on their .htaccess file in the bbPress folder or don’t just put the 1 single line of code in for problems.
Trent
Closing as the user has left an contact address.
Trent
It appears your server is Microsoft-IIS/6.0. When I access this page I get this error:
Your PHP installation appears to be missing the MySQL which is required for bbPress.
Are you certain your server has MySQL installed? And if MySQL is installed, did you fill out the database details in the config-sample.php, then rename that file to config.php?
At first I thought it might be a syntax problem in the config file, which is a possibility too.
I need someone familliar with BBPress to integrate BBpress onto a portal that i am developing now. Pls email me at froots@gmail.com if anyone is intrested. Thanks in advance
I’ve got wpmu and bbpress both installed and working. I’ve also got the user databases integrated for the most part. Things work well so far for the most part. If a user registers through wpmu the user is created and they are also able to login to bbpress. However, if a user registers through the forum they are not able to login to wpmu because no role is set.
I installed the bbpress-integration plugin <http://wordpress.org/extend/plugins/bbpress-integration/> to the mu-plugins directory which should fix the problem, no dice. I’ve read that some people just remove the bbpress registration and just make everyone register through wpmu to avoid this. That just seems dirty to me.
If anyone has any ideas I’d love to hear them
Hi there, here’s my first attempt on BBpress , although I have been pretty good at making website’s with WordPress but this was my first attempt to have a forum’s at my very new blog.
Here’s the link to my forums powered by BBpress.
http://www.aguywitha.com/_main/forum
I had a choice of integrating it with wordpress using the wordpress header and footer … but in my case i felt that designing a bbpress in itself like my wordpress theme was a bit easy for me as I was having some difficulties with integrating it with my blog interface … so I managed to make the default kakumei theme look my original wordpress blog theme … and integrate the users …
Although there will always be small changes being made on the forums as this was the first time i went through the BBpress code and I just love the simplicity.
Thanks a lot …
Where do I put this code? In bbpress/register.php somewhere I’m assuming?
Hi,
You can add values into a textfield like this:
<input type="text" name="number_of_topics" id="number_of_topics" value="<?php echo bb_get_option( 'bbp_number_of_topics' ); ?>"/>
Now there will be a value when the texfield is loaded. But what if there is no value, how can I let it show 0 then? using : 0 wont work.
Sec question:
Same tactics as above, but now with a ddlb. I can’t get this fixed. How can i show the value in a ddlb?
Got this:
<td><?php forum_dropdown(); ?></label></td> but where do I put that value thingy?
Many thx
_Null
I think I have figured it out, thanks.
But 1 more thing. What if I have 2 forms:
function myplugin_two() {
plugin_form1();
}
and
function ????_???() {
plugin_form2();
}
myplugin_two is the function that goes under tab 2. It now shows form1, but how can I let it show form2 also under tab 1?.I’ve enterd ???? now cause we can’t have 2 funtions with the same name.
…………. omg never mind…. I see it now. You can call both forms in the first function and just position them using html and stuff.
Okay thanks again, this problem is solved!
_Null