Nice nice
. Maybe a “Most users ever online” or something. Personally I like to keep statistics simple and compact, but some people like to display a lot of statistics.
Top Taggers maybe? Who knows.
I began working on this last night:
http://bbshowcase.org/forums/views/statistics/
As you should be able to tell it’s far from finished.
I’m interested in hearing ideas for other statistics you’d like to see.
I already just realised a list of the 10 oldest/newest member registrations might be interesting.
Since all those calculations are “expensive” I’ll make it cache them for an hour at a time (perhaps adjustable).
Also there will be more time/user based calculations once I get useronline released for bbpress.
Currently bb-topic-views is required for the module.
I’ll release it for beta test after more work on it tonight.
After a few tests it seems the problem comes from the last paragraph
// 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.subventions.fr’; // WordPress – Options->General: Blog address (URL) // Example: ‘http://example.com’
$bb->wp_siteurl = ‘http://www.subventions.fr/wordpress’; // WordPress – Options->General: WordPress address (URL) // Example: ‘http://example.com’
$bb->cookiepath = ‘/’;
$bb->cookiedomain = ‘.subventions.fr’;
define(‘WP_BB’, true);
require_once(‘/wordpress/wp-blog-header.php’);
/* Stop editing */
if ( !defined(‘BBPATH’) )
define(‘BBPATH’, dirname(__FILE__) . ‘/’ );
require_once( BBPATH . ‘bb-settings.php’ );
?>
Where is the error guys?
Is there a way to get the latest posts highlight to, instead of highlighting the title bar and the first post, skip the first post and then highlight the second post first? (To avoid having a very thick highlighted top plus the first post)
I had a user write a post with this title:

This creates a post like this:
* http://www.kosmosity.com/forums/topic/?replies=1#post-2
I’m using the “slug” option on this test forum which uses the default theme and bbPress 0.8.2.1. It looks like the
is being sanitized to “” (an empty string), which confuses bbPress and leads to that topic resolving to an error page. On the test forum to which I just linked, I have no plugins except WordPress Integration.
Has anybody else run into this bug? Is there an existing workaround? If other people can replicate this bug, I’ll create a ticket in Trac. Also, if there’s no existing workaround, I’ll try to create a plugin workaround.
Thanks,
Bob
Oh, thank you SamBauers – this is the information missing on this site…
But as I read at the trac site, the problem is already known. It is fixed by changeset 867 – at least in my test environment. I’ll upload it to the real server, it seems to be okay and of course it will be better than my quick and dirty “solution”…
I installed bbPress version 0.8.2.1 on Windows XP Pro SP2 with Apache 2.2.4 and PHP 5.2.3. I installed a few plugins, and everything worked fine. However, when I tried to register a new user for testing, I couldn’t receive the e-mail with the password.
I checked the error log and found this:
[Sat Aug 18 21:18:09 2007] [error] [client 127.0.0.1] PHP Warning: mail() [<a href='function.mail'>function.mail</a>]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in
\Program Files\Apache Software Foundation\Apache2.2\htdocs\forums\bb-includes\registration-functions.php on line 105, referer: http://127.0.0.1/forums/register.php
Most things on Apache and PHP are set to default, so I’m not sure if I skipped any processes. I’ve been having trouble with SMTP for a long time now.
Hi i found that the bbpress had ajax utility for posting rea but it removed i don;t know the reasons!
but i think everyone will be agree with me it would be nice if there is ajax plugin for bbpress post area
fastY easy and user friendly feature i hav no technichal knowledge so who like to start it…
i will test it and get feed back 
_ck_ ?
I’d like to add a dropdown menu which lets the user jump between the different forums, latest discussions, and favorites. I’d love a little help with this 
http://www.doublepeace.se/forum
No “fastload” is not very useful for servers with a proper opcode cache and responsive disk system (and files are fetched and rendered on the same node). On my VPS it actually adds a few ms on average.
The load on dreamhost has been over 20 for most of today so it’s not surprising anyone will find the bbpress+smf test sites slow.
I’m probably going to switch the showcase back to nearlyfreespeech shortly which is still on the slower side and uses only http 1.0 as it’s forces though a squid proxy.
Unless someone can find a $20 or less per year host that has a better setup as my budget is maxed out. Can’t even afford to replace my mouse that’s acting up right now.
I’ve got μ loaded through the config.php file. I’ll look into some of the μ functions and see what I can do.
I don’t think that trk_addDefaultRole function is being called from bb_new_user at all. Is there a way I can test to see if it is?
Got a bit of a weird error happening – Let me begin
Yesterday I did a bit of work sorting out my quite frankly flaky forums – Got everything working quite nicely but then I decided to remove the Avatar Upload plugin because I couldn’t get it looking nice against the users in the forums in the time I had left
However having turned it off I then found I couldn’t access any of the user profile pages including my own – I just get a completely blank page
I’ve removed the calls to show the avatar on the profile page itself but its still falling over
The site error log is reporting the following:
[Wed Aug 15 04:24:42 2007] [error] [client 86.158.248.246] PHP Fatal error: Call to undefined function bb_get_header() in /home/httpd/vhosts/<sitename>/httpdocs/forums/profile.php on line 1, referer: http://<sitename>/forums/
Now I know that this simply isn’t true – bb_get_header() is part of the core and its more likely that one of the plugins has gone screwy but I’ve tried turning off the plugins but I’ve done quite a bit of customisation and the majority of the plugins don’t die quietly – they cause major blow-outs if not available so I’m now having to go through all my template code and put if blocks around them to stop them
The list of plugins I have installed are as follows
Limit Latest Discussion 0.73
Simple Onlinelist 1.5
My Views 0.05
BBPress Private Messaging 0.80
Posts since last visit 0.5-beta
Report Post 0.11
Avatar Upload 0.8.2
Private Forums 5.2
Use Display Name 0.7.2
bbPress signatures 0.14
My Views module – Started/Participated Topics 0.05
Any help would be really appreciated
Yeah dreamhost certainly does suck. I just have a $20 per year promo account that I completely forgot about until recently when I wanted to test bbpress on various hosts (I’m looking for other super cheap hosts to try it on if you know of any, especially pay-as-you go like nearlyfreespeech.net)
What’s really strange is that some other forum software works MUCH faster on dreamhost and I am trying to figure out why. Take a look at WP plugin author GamerZ’s SMF (simple machines forum, evolved from YaBB) which is on another Dreamhost node:
http://forums.lesterchan.net
It’s incredibly responsive. Not even running an opcode cache. Of course SMF has half a decade of development behind it, but still, it’s impressive. I suspect they use partial page caching somehow. Meanwhile GamerZ’s WP blog running on the same account, crawls at times.
As everyone knows, if a user registers in bbpress instead of through wordpress(mu) that user doesn’t get a default role set.
I’ve dug and dug on both the bbpress and wpmu forums and haven’t found a fix for this. I did find a fix that apparently works for wordpress, but I tried it for wordpress mu with no luck.
The 4th post in this thread explains a way to set roles in wordpress mu.
I imagine that a plugin with the combination of the two solutions would allow users to register through bbpress and get a default role on the main wordpress mu blog. But, unfortunately I have no clue what I’m doing. If anyone has a free minute or two to look at the bits of code and maybe hack something together that would be awesome.
Oh, and I’m using the latest versions of both bbpress and wpmu.
Hmmm I’m trying to make use of this plugin but I’m having some issues – The plugin shows up in the admin and I have enabled it and pulled down the latest list of plugins available – No problems there..
However, when I try to install a plugin off the list – it creates the appropriate directory and informs me that the plugin has been installed but when I go to activate it – I don’t see it in the plugin list and when I check the contents of the directory – its empty – the permissions on the directory are set to 755
Anyone any ideas?
I now have a fully working “ignore member” plugin.
It allows members to ignore posts by other members that they don’t get along with but are still decent contributors to your forum so you don’t want to ban them. If a topic has a last post from a member they ignore, they won’t see it in the latest list until someone else replies (this is a good idea, trust me).
You can put a link on every post easily and then the user can ignore any member except the ones you specify ie. you, mods, in the future it will automatically build the list of mods for you in the admin panel (doesn’t exist yet in this beta).
The user can also easily remove members from their list under their profile edit tab.
Still waiting for a svn placement but will post on my blog shortly.
Works in 0.8.2.x and the trunk alpha.
Grateful for any beta testers who can give good bug reports.
I worked overnight to bring the My Views plugin up to date for public release. I am pleased to announce it now works with both 0.8.2.1 and the trunk!
But it now goes way beyond that. Be sure to read the readme.txt
http://bbpress.org/plugins/topic/67
You can see a demo here: http://bbpress.nfshost.com/forums/view/most-views
(My Views is a powerful addition to the default “views” in bbPress. It will let you customize output and adds several new views. My Views consists of a main plugin and several optional “module” plugins that can be added if desired for additional new views.)
Appended bbPress Views by My Views:
* Latest Discussions
* Topics I’ve Started
* Topics I’ve Participated In
Extended bbPress Views by My Views if optional “bb Topic Views” plugin by Mike Wittmann is installed http://bbpress.org/plugins/topic/53
* Topics with the most views
* Topics with the least views
Extended bbPress Views by My Views if optional “Plugin Browser for bbPress” plugin by Sam Bauers is installed http://bbpress.org/plugins/topic/57
* Installed bbPress Plugins
* Available bbPress Plugins
and many little other tweaks to views including proper titles and headers as well as a dropdown views list box.
Adding new links will be supported in version 2, for now you will have to do it using phpMyAdmin or using a plugin 
Excample plugin (not yet tested and the bbmenu plugin needs to be active/working):
<?php
/*
Plugin Name: add bbMenu tab
Plugin URI: http://www.bbportal.org/
Description: Adds a tab to the bbMenu list
Author: Maurice de Regt
Author URI: http://www.mauricederegt.nl/
Version: 1.0
NOTES:
- for xxxx use something normal like: "googletab" if you make a tab to the google.com page
- for 'YOUR-TITLE': This will be the text you can edit, make sure it is between the 'tags'
- for 'URL-OF-PAGE': This will be the page you'll go to when you click the menutab, make sure it's between the 'tags'
- These added tabs WILL NOT stay highlighted when you are on that page. This requires some more complex stuff
*/
// Check if the bbPortal menu tab exists
function xxxx_check_tab() {
global $bbdb;
$bbdb->hide_errors();
$bxxxx_tab = true;
if (!$bbdb->query("SELECT * FROM ~$bbdb->menu~ WHERE ~location~ = 'xxxx-page'")) {
return xxxx_add_tab();
}
$bbdb->show_errors();
return $xxxx_tab;
}
// If it doesn't, install the menu tab
function xxxx_add_tab() {
global $bbdb;
$query = "INSERT INTO ~$bbdb->menu~ VALUES
(DEFAULT, 'YOUR-TITLE', 'inactive', 'URL-OF-PAGE', 'xxxx-page', 0);";
$bbdb->query($query);
}
?>
NOTES:
– for xxxx use something normal like: “googletab” if you make a tab to the google.com page
– for ‘YOUR-TITLE’: This will be the text you can edit, make sure it is between the ‘tags’
– for ‘URL-OF-PAGE’: This will be the page you’ll go to when you click the menutab, make sure it’s between the ‘tags’
– These added tabs WILL NOT stay highlighted when you are on that page. This requires some more complex stuff
REPLACE ALL ~ with backticks, since this forum filters them out
i test it but it didn’t work for special character
also i wana know how can i add my links to this i just found 3 items forum search and statistic that i could edit them but i wana add some new item is it possible?
I wanted to see if there is any interest in this plugin idea before I start coding it. I may just make it part of the “My Views” plugin.
Many (busy) forums have the smart idea of a front page that consists of moderator promoted threads (topics) instead of just the “latest discussions”. But of course some will prefer just the automated “latest discussions” if they don’t have enough moderators or the traffic to maintain a hand selected list.
So I could make a plugin that let’s moderators promote a topic to the front page. And then in your template you could replace or suppliment the “latest discussions” with the list. Then “latest discussions” would just become an optional view in the views list.
Anyone interested?
I’m kinda surprised that they didn’t just port the wordpress plugin.
It has more features and given how Matt wanted to make bbpress so “light”, virtually everything should be optional.
I guess they figured forums would be a huge target without any kind of captcha or turing test for signup.
Sweet! Going to test shortly…
It’s just a proof of concept for play. I wanted a list and “borrowing” your dataset seemed like the fastest way.
If you changed how your class functions work it would break but I can make the source available to whomever wants.
hmmm nice, i miss a download button
(in the plugin list to download the latest files)