Hey Community,
We are getting closer to the launch of our site, and we are still having trouble with our bbpress title lengths interfering with our wordpress layout.
You can see our bbpress forum locations spread through out the site.
http://208.109.218.158
Is there any way to put a limit on the length of titles so they don’t break our site? We are using the same setup as described above.
Any help would be appreciated, even if it means some sort of a temp css fix to hide overflow.
Thanks,
Orion
Is there any way of displaying the page numbers (as links) in the thread listing, so that you can jump straight to the latest page? Would be much nicer to navigate.
If not, I’ll add it as a ticket to trac? Not sure what the right thing to do is!
New version added which seems to work. The whole implementation is a little unsavory though – passing HTTP auth to a PHP cookie – feels like double handling.
http://www.network.net.au/bbpress/plugins/http/http-authentication.latest.zip
Someone who cared a little more about how this works would bother to replace all the cookie based auth completely.
I’ll add this to the plugin repository too.
I let him know about the problems people are having from this thread and he mentioned the ‘localhost’ thing and the ‘other slash’ problems should be fixed in the next release, but may be re-worked. I haven’t tested the localhost install yet, but I think the ‘slash for stylesheet’ thing is fixed.
Trent
Good news is you’re on the right path apparently.
If you need any help I’d be happy to contribute with some testing.
OK, I just tested this, and it deffinately doesn’t work like it should, you can login using http_auth and then login again with the same user/password and it works.
I have to cut out that middle-man in the process.
I’ve hacked together a first draft of “HTTP authentication for bbPress” using the LDAP authentication plugin as a model.
This is completely untested, but the basic premise is that you set up HTTP authentication on the entire bbPress install. The plugin handles the rest. You will need to install and turn on the plugin before setting up HTTP_AUTH though.
Download from here.
Right. I’m just trying to figure out which one I’m gonna use in my forum. Right now I’m leaning towards TinyMCE, since FCKeditor doesn’t work with Opera (even though TMCE takes forever to load in my test installation…)
He added the tag to the thread. It is there.
Trent
Testing bbpress on localhost (xampp, windows) and viewing with firefox I get the same error in the stylesheet link.
<link rel="stylesheet" href="http://localhost/leebbpress/bb-templates/kakumei/style.css" type="text/css" />
Created the plugin as Trent suggested but that didn’t solve the problem. Played around with the code a bit and now it does work.
Here is my hacked version.
<?php
function fix_bb_path_to_url( $url ) {
$url = str_replace(array('//', '\\', '\'), array('/', '\', '/'), $url);
return preg_replace( '|
([^/])|', '
/$1', $url );
}
add_filter( 'bb_path_to_url', 'fix_bb_path_to_url', 1, -1 );
?>
Only difference is adding ‘\’ to the str_replace.
Plugin updated!
Now you can also display an individual user’s latest replies on their profile page.
any step how to do?
jee did you post any link?
1. download the latest version of TinyMCE , I use version tinymce_2_1_0
2. unzip file and upload “jscripts” folder to your server/bbpress/my-plugins/, so link will like this (http://example.com/bbpress/my-plugins/jscripts)
3. add code to the bbpress templates header file (http://example.com/bbpress/bb-templates/kakumei/header.php),
ADD CODE before ‘/head’ of header.php
<script language=”javascript” type=”text/javascript” src=”http://example.com/bbpress/my-plugins/jscripts/tiny_mce/tiny_mce.js”></script>
<script language=”javascript” type=”text/javascript”>
tinyMCE.init({
mode : “textareas”
});
</script>
4. Done! you can check it out when Post content in your bbpress. 
see demo capture: http://img147.imageshack.us/img147/5363/tinymceao7.jpg
p/s: I need someone pitch in and help me how to hack bbpress to support more allowed markup like <u> <tr> <td> <font color> <font size>… etc
It worked! I am renaming this topic.
Trent
This plugin is a companion to my Add Titles to Replies plugin — that is, the ‘Add Titles to Rplies’ plugin is required for the ‘Latest Replies’ plugin to work.
What it does is to display the latest replies, by title, on the front page of the forum (similar to “Latest Discussions”).
More info and download:
Latest Replies Plugin
Add Titles to Replies Plugin
Do you have any issues transitioning from a desktop environment to a server environment (as I did, with MySQL and PHP versions and configs and such)?
To tell you the truth, I didn’t have any issues going from my Xampp Lite localhost copies, straight to my live servers. I just find it odd though that this whole time of running that bbPress on the localhost, and just applying the SVN updated files from time to time. It was fine..
It was only when I installed it fresh, with the latest copies of Trunk that it gave me this problem. I SVN CO the trunk on my other new domain via SSH and it went smoothly… no troubles though, I guess that’s to be expected. Hmm.. I’ll have to look into the problem a little deeper.
I’m trying to when I have the time, but with being so busy.. it’s hard taking a gander at it…sigh.
How about installing a linux distro in house since your server is linux also?
Geesh, didn’t even think of that, or try it. Thanks for that, I’ll have to give it a go then.
spencerp
I am not testing, but editing.
Sorry for being so harsh about the time that it takes to install bbP.
I would use rs discuss, which I also cannot install on my freshly reinstalled xampp and WP.
I think this is the plugin you were thinking about, Null. It worked very well for me:
https://bbpress.org/plugins/topic/3?replies=7
What OS is the live site/server running? I have always had problems testing on platforms other than the final one, even from linux to linux, with things like PHP and MySQL versions. So, the testing I did never seemed worth it. Why not set up a subfolder or subdomain on the live host and play there, to eliminate variables?
I think the developers could better use their resources making bbPress work in production environments (MS and *nix) rather than on localhost. There seem to be quite a few path/slashconfig issues getting it running on localhost.
What is bbPress used for when installed locally on a Windows machine? Is that just a test environment?
Or use the frontpage plugin, then you can do this in the admin area (can’t find the direct plugin url right now but it’s there somewhere….)
When the install is live on the internet, it seems to be easier to fix. The fact that this install of your is on a localhost can arrive as so many different problems. Check out the following posts:
https://bbpress.org/forums/topic/821?replies=5#post-5025
https://bbpress.org/forums/topic/820?replies=3#post-5018
https://bbpress.org/forums/topic/795?replies=21#post-4852
https://bbpress.org/forums/topic/701?replies=7#post-4362
https://bbpress.org/forums/topic/730?replies=9#post-4424
Are you testing? Is that why you are installing on your own computer? Do you have a host to test this out on?
Trent