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)
here is the hacked code.. this will show the favorites on profile page in the admin section of wordpress. I haven’t tested it but this is the basic idea.
please note that the wordpress must be integrated both ways before you can do this. visit this for more
add_action('show_user_profile',
'my_plugin_show_favorites');
function my_plugin_show_favorites() {
$topics = get_user_favorites( $user->ID, true );
?>
<br clear="all" />
<table width="99%" border="0"
cellspacing="2" cellpadding="3">
<tr>
<th><?php _e('Topic'); ?></th>
<th><?php _e('Posts'); ?></th>
<th><?php _e('Freshness'); ?></th>
<th><?php _e('Remove'); ?></th>
</tr>
<?php foreach ( $topics as $topic ) : ?>
<tr<?php topic_class(); ?>>
<td><a href="<?php topic_link(); ?>">
<?php topic_title(); ?></a></td>
<td class="num"><?php
topic_posts();
?></td>
<td class="num"><small><?php
topic_time();
?></small></td>
<td class="num">[<?php
user_favorites_link(
'',
array('mid'=>'x'),
$user_id
);
?>]</td>
</tr>
<?php endforeach; ?>
</table>
<div class="nav">
<?php favorites_pages(); ?>
</div>
<?php
}
s010, that’s very clever.
Unfortunately it doesn’t work.
Not certain if slugs would translate either,
ie. /action/listplugins
I think the shortest shortcut is a universal loader could be made for all future extensions, ie.
/forums/option/listplugins
where option is really option.php in the bbpress root and it just passes to the template listplugins.php
This would have to be made in the the bbpress core of course.
ooooh I just had an idea… where is the hook for bbpress’s internal 404…
er, no i guess that won’t work either…. BUT
take a look at view.php in the bbpress root
you can hook bb_custom_view
basically since there will not be any view name, it won’t do the mysql call, then after you catch it on the do_action(‘bb_custom_view you can exit() after your own custom page load.
ie. /forums/view/listplugins
Let me try to code something working…
I decided last night after seeing some bug reports from people testing my plugins that I needed a more conventional bbpress install that I could test my plugins as well as other people’s.
So I started this little site:
http://bbpress.nfshost.com/forums/
I purposedly used low end (slow) hosting since my other sites are on high end setups. This way I can get a feel if anything is slowing bbpress down.
On the site you can preview my
bbPress Signatures and bbPress Polls plugins
by making a test account.
I’ve also activated “My Views” (which only works on 0.8.2.x for now)
The goal was to stay as close to bbpress’s default template as possible but after a few hours the bright white was burning my eyes so I had to tone it down. I’ll probably have to revisit that and work on the colours a bit, it’s far too flat right now, sorry.
Since this host has no web compression options, I’ll be releasing another mini plugin today after some more testing: bbpress gzip. It will let you compress bbpress pages via php and save on bandwidth, even if your host doesn’t have mod_gzip or other options available.
Yeah you should always create a non-moderator test user to see how other things interact compared to mod/admin. It’s important to see what’s hidden from regular members and sometimes admin can do things we take for granted that regular members cannot (ie. like my admin-can-post-anything plugin)
No wait I think what is wrong here.
I am also testing a highly alpha new cool plugin here, that why I have edited post.php. I think it’s in conflict with your hook. Brb uploading original post.php
Edit:
Lol that fixed it…. darn that fixed all bugs I’ve had version 0.24 is fine
Now how to prevent this in the future when I am going to release my plugin hmmmmmmm
ps. You see the bbmenu tabs? i dont see them :S