I agree with Chrishajer. I didn;t know that bbPress does it without a plugin. This as I did not use my forum at all until I had some plugins installed (including bbcode).
@Chrishajer: I don’t think it would have anything to do with the CSS file. I’m sure there’s a file (I haven’t looked) that has the function that parses the post.
Regards
Michael
Hi rleon!
Thanks for joining! 
The smaller statistics were entered manually based on functions in the built-in statistics file, except for the newly registered members which I wrote myself.
The actual ‘Detailed Statistics’ comes from a plugin called MyViews. Search it up in the plugin browser.
I also have a ton of other plugins – which is why the forum looks somewhat advanced.
Regards
Michael
Hi Michael888
Nice work. I registered to your forum too 
But I am pretty new to this and I am wondering what plugins you used to get the
Board Statistics
From my reading it may be a combo of plugins.
whatever you do with bbPress, please make sure to keep it SIMPLE to be used by “average internet users” and “newbies”.
Only “simple to use” applications enjoy huge success. Look at Craigslist, Facebook, etc.
Features need to add value for the user and provide easy to use interface.
For example looking at the WordPress-Dashboard “Admin-interface”, I still believe this interface is way too complicated to use and not really self-explanatory. A newby will be confused and just click away from it.
Start thinking out of the box 
Thanks !
Have searched all over this forum for solutions to these, but none of the suggestions worked for me.
Have installed bbpress along side a WP installation under a sub folder. Added Options -MultiViews to .htaccess.
Results:
1) Cannot access the admin page… have tried logging out & flushing cookies, but clicking Admin always gives me a white blank page. No plugins installed, and perms are all 755.
2) Logging into WP site doesn’t log into blog & vice versa. Have added the cookie info to the config and they match the wp config. If it matters, there was no security salt reported on my system (for some reason) but installer said that was ok to leave it blank so I did.
Anyone want to tackle this? Can _feel_ the power of bbpress, but these basic issues make it a PITA!
I completely agree with you on that. There would be no point in putting effort into making a stable plugin for a version of bbPress that will soon be out of date.
I’d really love to see the developments of this.
Wish you luck with it
I am also a fan of keeping bbPress as its own software entity. However, I would not care if it was available as a plugin to WP by default, but could be installed stand alone as well.
It just might be a little more difficult to market it as a forum in the mainstream if it is hidden away as a plugin with an optional checkbox to just install as a forum and not a blog. Just my 2 cents on that.
Oh, and not a big fan of TinyMCE myself. But I’m old school. I think the masses generally like crap like that…
Making it optional would of course be the way to go.
@Michael888
Thanks! I will definitely share once I am done.
I am not so sure about releasing it as a stable plugin. Alot of what I have done is very specific to the goal I am trying to accomplish! Not to mention I haven’t really made an effort to make it play nice as a plugin (table needs to be created manually, queries have hardcoded table names, etc).
If the 1.1 revival of BBPress goes through and my site does well I may consider it. Regardless I would release it as is to anyone who wanted to tinker with it.
Read the whole IRC chat…
I would like to just suggest upon some of the major topics:
- bbPress.org redesign would get a lot benefit (which is in process), it could/would get more attention to the community, the new theme which Sam was working on was looking more user friendly and gave a Web 2.0 feel – I think it should also include Themes Repo, as bbShowcase is down, the list compiled by ck is no more – I tried to check the cache but couldn’t get it
- bbPress should contain major admin-side part. I want to discuss some below:
- Auto-update feature as in WP (for plugins and bbPress – also themes in future, if a repo is created) – This would help people stay updated
- Ability to edit Plugins & Themes
- User & Topics management should be improved, like selecting multiple users and deleting them
- Some more small things can be added like ability to edit which HTML tags are allowed
- Coming to the integration part, I think bbPress has to be a standalone forum, as TalkPress runs on bbPress and similar services by the users can be created in the future (eg. there are many phpBB forum hosts), similar things can be created with bbPress too (live example is TalkPress, but it is paid). The only thing I can think of is a 2 sided plugin (WP part and bb part), which should take care of all the issues like database access, cookies, settings etc. Now the only issue left is of themes, and if it is needed, then the bbPress theme structure must be re-worked upon or revamped (I know, it is a difficult job) to be compatible with WordPress themes.
- The sidebar should be only in one file (and dynamic), should support widgets like WP – theme compatibility issue would make it do that.
- At the end, when everything’s done, codex should be there. This would encourage people to build bbPress plugins. Stats & compatiblity section (as on wp.org could be added in the near future). An IDE style coding would also help (to create phpdocs).
These are some of my views, some are very difficult to achieve but once they are done, everything would be like butter and users would always come to this forum with positive replies!
Also note that the functionality provided by the plugins need *not* be integrated into bbPress core, the plugins can be handled by their own respective authors – and could need more frequent updates than the bbPress core part. The thing I want to say is, if a plugin needs update then the author can flag a new version, but if the same thing (which is not needed by all) was integrated into bbPress and the update would have been critical (update in that part only), then a new version of bbPress had to be flagged, which shouldn’t be the case. Also new features & enhancements to that part (which can be as plugin) cannot be added frequently.
No, it is not bad. It’s just that if you want to output a result and there is already a function in place doing just that, why not use it? Basically total_users is doing the same as echo get_total_users.
For what it matters, it is less code
@matveb
Thanks both are working……….
<?php echo get_total_users(); ?>
and
<?php total_users(); ?>
but i don’t know why i should not use echo…. is it bad for me?
tell me about pros and cons of echo… thanks
Actually, one amend: you should use <?php total_users(); ?> which is meant for output and you get rid of the echo.
Glad it worked.
@ matveb
I got it ……..Thanks dear… you code is simple and smart
That function is already on core, you just have to include it:
<?php include_once("bb-includes/functions.bb-statistics.php"); ?>
And then call it:
<?php echo get_total_users(); ?>
Its not working……………. topix and posts are displaying but not users……….. i want to clear that i’ve integrated my bbpress and wordpress…that’s why the users table of both software s are same in one database i.e. wp_users
also i want to mention here……..I’ve set the table prefix of bbpress bb_ into uk_ because of multiple bbpress installations.
so that’s my detail…and i’m going curious to listen abt new script from your side.
I’m just trying this and I get the follow error:
We have registered members. Welcome to our newest members: Unable to fetch newest members(s). An error occured within the database.
Our members have made a total of 0 posts in 0 topics.
I uninstalled Mini-stats because I don’t like it. That script should be working.
My statistics come from manually editing files – the plugins are not very helpful to me.
I did write my own plugin – though you have to do manual editing to get the information to show. Simply add the following code to stats.php and place it in your plugins folder – and activate.
<?php
/**
* Plugin Name: General Statistics
* Plugin Description: Collects general statistics about the forum, including the newest users, online guests, and topic/post counts.
* Author: Inniosoft
* Author URI: http://www.inniosoft.co.cc
* Version: 0.1
*/
$mysql41 = true; // Change this if you have regular database problems
function show_newest_users()
{
global $bbdb, $bb_table_prefix;
$count = 3; // Edit this value to change how many users get displayed.
if ($newestuser = $bbdb->get_results("SELECT * FROM ".$bb_table_prefix."users ORDER BY ID DESC LIMIT 0,".$count."")) :
$counter = 0;
foreach ($newestuser as $nu):
$counter++;
if ($count != 1 && $count > $counter) :
if ($counter == $count - 1):
if ($count == 2):
$comma = " and ";
else:
$comma = ", and ";
endif;
else:
$comma = ", ";
endif;
else :
$comma = "";
endif;
if ($counter == $count) :
if ($count > 1) :
$stop = ".";
else :
$stop = "";
endif;
else :
$stop = "";
endif;
$user = bb_get_user($nu->ID);
$userdisplayname = (empty($user->display_name) ? $user->user_login : $user->display_name);
$userprofilelink = get_user_profile_link($nu->ID);
echo "<a href="".$userprofilelink."" title="See ".$userdisplayname."'s Profile">".$userdisplayname."</a>$comma$stop";
endforeach;
else : echo "Unable to fetch newest members(s). An error occured within the database.";
endif;
}
function show_total_users()
{
global $bbdb, $bb_table_prefix;
$totalusers = $bbdb->get_var( "SELECT COUNT(*) FROM ".$bb_table_prefix."users USE INDEX (PRIMARY);" );
echo "".$totalusers."";
}
function show_total_posts()
{
global $bbdb, $bb_table_prefix;
$totalposts = $bbdb->get_var( "SELECT SUM(posts) FROM ".$bb_table_prefix."forums;" );
echo "".$totalposts."";
}
function show_total_topics()
{
global $bbdb, $bb_table_prefix;
$totaltopics = $bbdb->get_var( "SELECT SUM(topics) FROM ".$bb_table_prefix."forums;" );
echo "".$totaltopics."";
}
?>
Then, to show the information, add the following to either front-page.php or `footer.php:
We have <b><?php show_total_users(); ?></b> registered members. Welcome to our newest members: <?php show_newest_users(); ?><br />
Our members have made a total of <b><?php show_total_posts(); ?></b> posts in <b><?php show_total_topics(); ?></b> topics.</td>
No Michael……. Its not working 
I think you’ve installed mini_stats plugin……………….right?
so show me complete footer file or tell me the plugin which you’ve used along this script….thanx
Hi bb-lover
I recently wanted the same thing in my forum. I did not want to install complex plugins.
If you’re looking for something like this: http://www.inniosoft.co.cc/devstation (look at the bottom), then you need to add the following to your footer.php file in your template’s directory:
<?php function show_total_users()
{
global $bbdb, $bb_table_prefix;
$totalusers = $bbdb->get_var( "SELECT COUNT(*) FROM ".$bb_table_prefix."users USE INDEX (PRIMARY);" );
echo "".$totalusers."";
}
?>
Hope that helps 
Michael
hi to all 
i want to show just resisted users in my forum’s footer. how it will possible. but i don’t want to install mini-stats plugin…. and listen dears…. when we go to the dashboard of bbpress… there we can see the total resisted users in the “Right Now” Column. So I just want to show registed users in footer like that
Total resisted users : e.g 500
plz guide
This is a random question, but is this “Topic Views” plugin (“http://bbpress.org/plugins/topic/bb-topic-views/#post-275″) required to display ‘Topic Views” on one’s front page, etc? Or is there some sort of output code I am missing?
We can display Topic Voices without a plugin using code built into the Core.
The reason for my question is this, if a plugin is required, shouldn’t the “Topic Views” code be built into the Core as well? It’s a rather useful feature and seems to be used on tons of bbPress sites…
I’m glad it worked
I’d probably want to find a way to enhance the plugin, but I don’t think I will as bbPress is soon to be changed. We had our first-ever IRC last night, and some major developments are going to come out of it – including things that have not yet been mentioned. So there’d be no point developing a plugin for an old version of bbPress.
@Taeo: That sounds very interesting!
And you have an excellent forum! 
If you ever make it a stable plugin – please let us know. I, for one, would make huge use of it!
I did mention how I my bbPress to be a community site at the recent IRC.
Great work!