Integration is better than running under wordpress.
This allows your wordpress side to be down while the forum still works and via versa.
Once backpress and talkpress is available I suspect however there will be much more shared code and essentially they will start to merge together in many ways.
ps. the forum plugin for wordpress supposedly has or had security issues if I remember correctly…
You’re asking about gravtars but then talking about uploading avatars which are two different features.
There are plugins for bbPress to show a user’s gravatar but if it’s a locally uploaded avatar within WordPress, someone would have to come up with some code to display it on the bbPress side. So it’s possible but would take someone to look at it.
The avatar upload plugin on the bbpress side has some documentation or user comments on how to access the avatar from wordpress.
Well you’re asking two different things but the answer to both is yes with some code changes to your templates.
You can get the last poster for any topic in the list via this:
<?php echo '<a href="'.get_topic_last_post_link().'">'.get_topic_last_poster().'</a>'; ?>
but there is also a plugin that I believe will change the last poster’s name into a link too. So either way.
You might be able to paginate the lastest discussions by putting this at the bottom of latest discussions outside the loop:
<?php forum_pages(); ?>
However it’s a 50/50 chance it won’t work.
Or you can use the “My Views” plugin which will give you a paginated Latest Discussion view that you can link to.
example:
http://bbshowcase.org/forums/view/latest-discussions
plugin:
https://bbpress.org/plugins/topic/my-views/
If the background goes yellow that probably means it flagged you as a “bozo” which is a feature that has never worked quite right in bbpress.
You can disable the “bozo” feature completely by editing bb-settings.php and commenting out the line:
// require( BBPATH . BBINC . 'bozo.php');
around line 110 or so
I think I better understand what you are asking about after running into a similar problem today on my bbcode lite plugin. I filed a trac ticket:
https://trac.bbpress.org/ticket/795
bbPress seems to encode non-ending tags into html entities if you save a post twice. Not good.
Doesn’t your code zap all BRs?
This is not quite what you are trying to do, but maybe you can add BR to this list and see if bbpress will bypass the self-closing requirement.
function bb_allow_extra_tags( $tags ) {
$tags['del'] = array();
$tags['strike'] = array();
$tags['s'] = array();
$tags['b'] = array();
$tags['i'] = array();
$tags['u'] = array();
$tags['bq'] = array();
$tags['blockquote'] = array();
$tags['pre'] = array();
$tags['hr'] = array();
$tags['br'] = array(); // see if this allows non-closed br
$tags['BR'] = array(); // see if this allows uppercase BR
return $tags;
}
add_filter( 'bb_allowed_tags', 'bb_allow_extra_tags' );
As far as uppercase/lowercase that would be tricker if it’s hard coded in the code. You’d have to filter the post text ahead of time, find all tags and convert them to lowercase. Or try adding $tags['BR'] = array();
to the above list and see if that makes a difference.
Personally I’d just add the bbcode plugin if you’ve got people trying to make fancier posts. It’s far more common across all forums.
I think they are trying to integrate/convert the main WordPress.com site to the new cookie method which is more secure and it’s affecting here.
I just hack the cookie and change the expire time to 2018 and that solves the re-login
I’m new to bbpress, and was playing around with an install. I noticed that it doesn’t allow all forms of line breaks, only the current proper one that is self closing.
<br> and <BR>
Do not seem to work properly. This was an issue because I noticed that my users are sloppy HTML coders and the tags would just print out.
I don’t know if it has been covered before. I searched and found nothing. I did get it to work with a small php tweak.
In formatting-functions.php, I put the following under bb_encode_bad:
$text = preg_replace('|& lt;BR& gt;|', '', $text);
$text = preg_replace('|& lt;br& gt;|', '', $text);
$text = preg_replace('|& lt;br /& gt;|', '', $text)
(The code tag won’t output the code correctly, so I put a space after the &, so they wouldn’t get converted.)
It works, but all three forms now convert to<br>
, instead of
Which works well enough, but even self closing br tags will now drop the /
I’m not strong at PHP. Only enough to get by. What do you think. Is there another way to do it? Or a better way? Or hell, a plugin?
Awh, thanks! Well not sure about “vigilant” as I wax and wane here as I have the time and energy but I try to help when I can. Hope it’s helping someone! bbPress installs seem to have doubled since October 2007 so that’s probably a good sign… appreciate the hugs, I needed that…
ps. that would be guys and gals!
I joined IRC #bbpress last night, and a kind soul figured it out.
It was all because of the plugin. After installing the plugin, all went great.
#chrishajer; on my server, the admin-tool lets me turn glob on and off. “off default”
and, it IS an error when I cant login 
This plugin-problem should be in the FAQ.
Thank you both..
I would like to, but the plugin I am using is restricted to WPMU exclusively (not normal wordpress) and was purchased through WPMUDEV Premium services and the copyright is so that you have to pay them to use it.
If you are looking at a combination avatar plugin, have you searched google for “wordpress bbpress common avatar” or something similar? Have you checked out the plugin directory to see what is offered here for avatars up and above the “service” company avatars like gravatar?
Trent
Hi Trent,
thanks for your reply. I’am using this plugin:
https://bbpress.org/plugins/topic/private-forums/
The hide-option is checked, and tested in both themes. The unregistered user can only Enter the Forums flagged “open for all” but that is useless when they cant see them 
Jan
Can you give me a short introduction, howto?
Just some step by step thingy? Pleease
JanEllers are you using the plugin from so10 from the plugin browser? Do you have the following checked?
Hide Private Forums and Topics
I have this working fine for me. Does it work with the main theme (for testing)?
Trent
It can be done as I am using a custom avatar plugin that I use with my wpmu install that pulls the avatar from the wpmu side when comparing the user id from bbPress and the wpmu user (as they are the same with integration).
In terms of normal wordpress, I am not sure if one exists. I know lots have used gravatar or mybloglog as their base avatar system (myself included) just to make integration easier 
Trent
I don’t believe register_globals and the glob()
function are the same thing. If the glob function is disabled on your server, the administrator would have to re-enable it.
How about creating a bb-plugins
folder in your forums
directory, then putting a blank file called _dummy.php
(that’s underscorewhatever.php) in that directory? It would look like this:
/forums/bb-plugins/_dummy.php
That would ensure the plugin directory is there, and that there is an underscore plugin there for this function to find. At least this part won’t fail any more.
BTW – it’s just a PHP warning, not an error.
Warning: Invalid argument supplied for foreach() in /customers/cobain.dk/cobain.dk/httpd.www/forums/bb-settings.php on line 294
You should be able to continue past it, despite the warning. Once you knock this one down, it’s on to the next one if you’re still unable to log in.
Users of our site should not upload their avatar twice and thats why i’d like to let them work together. any other simply idea?
“PHP – Register globals” = “glob”?
I can turn that on if it helps. did that ones, Ill try again.
I made a fresh installment using the trunk.. still cant log in
Hi, I’m having the same problem. I’m running bbPress 0.8.3 with allow-images, fix bbPress, notification, and private-forums plugins. Except for the problem (below), everything is running fine.
Basically, if a regular member clicks “ADD NEW” link on the front page of the forum, their Pick a Section dropdown list is blank, and if they go ahead and submit the new post form, they get an error that the forum topic is closed.
If same user clicks on a forum and posts from there – works fine. If an adminstrator clicks from front page, it works fine. If I deactivate the private-forums plugin, it works fine.
Can anyone suggest a way to fix this? Besides deactivating private forums,that is.
The past couple weeks, I have noticed that nearly every time I access the forums here at http://bbpress.org/forums/ I need to log in. It didn’t used to be like that. It seemed like the cookie lasted for months.
When I look at the cookies after logging in here, I have two bb_org session cookies, plus:
name: bb_org_user
value: chrishajer
There is no bb_org_pass
cookie.
When I look at cookies for a non-integrated 0.8.3.1 install, I see:
name: bb_user_838717f68fe05f4ed4c22bc08ae180c8
value: chrishajer
name: bb_pass_838717f68fe05f4ed4c22bc08ae180c8
value: 6429e15ef02ba9f2d7a89cab0ed845a4
(values slightly obfuscated)
Any idea what’s going on? It’s no problem to just log in again, but it wasn’t like that before, and I don’t think it’s intended to work like this.
I cleared all the domain cookies and logged in again, but the cookies are the same. Anyone else seeing the same thing? BTW, using Firefox 2.0.0.12 on Windows XP.
You probably could but I think retroengineering the plugin to work in both wordpress and bbpress would be more trouble than its worth. My site just uses two very simple avatar plugins that work basically the same, 68-gravatar and 4avatars. I know one plugin would be simpler to maintain but I think the amount of work required to make it function in both would be counter productive unless you had a really good reason to want the same one in both
Hehe, I think I figured it out, but Im at work, so Ill try when i get off.
That damn mysqli.. well hope this works
think I found it.. cant see why bbpress not simply makes mysql standart, if it works just as well.
https://trac.bbpress.org/ticket/745
https://trac.bbpress.org/ticket/757
Still dont know how to fix the problem
Now, some text is pupping up:
Warning: Invalid argument supplied for foreach() in /customers/cobain.dk/cobain.dk/httpd.www/bbpress/bb-settings.php on line 169
Warning: Cannot modify header information – headers already sent by (output started at /customers/cobain.dk/cobain.dk/httpd.www/bbpress/config.php:1) in /customers/cobain.dk/cobain.dk/httpd.www/bbpress/bb-includes/pluggable.php on line 37
Warning: Cannot modify header information – headers already sent by (output started at /customers/cobain.dk/cobain.dk/httpd.www/bbpress/config.php:1) in /customers/cobain.dk/cobain.dk/httpd.www/bbpress/bb-includes/pluggable.php on line 37
Warning: Cannot modify header information – headers already sent by (output started at /customers/cobain.dk/cobain.dk/httpd.www/bbpress/config.php:1) in /customers/cobain.dk/cobain.dk/httpd.www/bbpress/bb-includes/pluggable.php on line 164
bbPress and WordPress have different table prefixes
bb_forums
bb_posts
bb_tagged
bb_tags
bb_topicmeta
bb_topics
bb_usermeta
bb_users
wp_comments
wp_links
wp_options
wp_postmeta
wp_posts
wp_terms
wp_term_relationships
wp_term_taxonomy
wp_usermeta
wp_users
It is a standard installation, no language or mod.
I have installed WordPress on the same server but not in the same folder, is that a problem?
Im using PHP4, should I upgrade to PHP5 to make bbpress work?
The server has “PHP – Register globals” set to OFF.
*update. php5 is now installed on the server, still ampty site