Thanks. I’ve been reading a little about deep integration & I’m not sure I want the overhead. This is a new site with only about 45 pages or so of static content, to date, and the amount of content will grow over time. Getting bbPress to load WordPress, too, sounds like it will slow everything down, especially as content grows.
As the pages are all contained in the database, and bbPress is already storing its data in the same database as WordPress, I was just looking for a function that would work like wp_list_pages() only using bbPress variables.
I guess I’m going to have to go spelunking through the WordPress & bbPress code.
Tony
Hey vanesta,
Try this:
<?php if ( bb_is_user_logged_in() ) : ?>
<div class="message">LOGGED IN MESSAGE</div>
<?php else: ?>
<div class="message">NOT LOGGED IN MESSAGE</div>
<?php endif; ?>
Hi folks. I’m pretty new to WordPress — I’ve only been working with it for about a month. And brand new to bbPress–I just installed it last week
I’ve got a theme installed on my WordPress MU site that I like. I want the bbPress pages to look similar. So I’m in the process of editing the bbPress template. Basically I want to use the same style sheet & just change all of the id tags to the ones that are in the stylesheet.
In addition, though, I’d like the two sites to share menus. I’ve got a nice horizontal dropdown menu that came with my theme that I’m using. The menu contains the pages in my WordPress blog.
I’ve duplicated the code for the menu in my bb-press theme’s header.php, but there is no wp_list_pages function in bbPress. Should I just write a function & add it to a functions.php file for my template? I suppose I can steal some of the wordpress code for the function & just modify the variables as necessary.
Does this sound like a good approach, or has someone else done this?
Also, I want the menu in both systems to have links to individual forums. Having a Forums link in the menu is cool, but I want 2 specific forums in other places in the menu structure. Any ideas?
Thanks
Tony
Great, thank you. 
Any plans for a Multiquote feature?
Ok, sorry to post again, I found a solution via css, I know it’s not the best solution
but it works I guess.
I did this:
img.avatar { border: medium none; width:80px; height:80px; }
Or do you mean I have to change this code:
<?php post_author_avatar_link(); ?>
Into:
<?php post_author_avatar_link($size:width=80px; height=80px;); ?>
I don’t know exactly how to do that
Hi,
I couldn’t find this anywhere in the code, do you know which file exactly?
I did search within folder via Dreamweaver.
I really would love to have a fixed size for avatar
New version 1.2.
Now it doesn’t require template edits
<td class="num">
<?php
function gs_get_topic_last_poster_profile_link() {
global $topic;
if ($topic)
return sprintf('<a href="%s">%s</a>', get_user_profile_link($topic->topic_last_poster), get_topic_last_poster($topic->topic_id));
return false;
}
?>
</td>
I’ve been using phpBB3 up until yesterday when it decided to go crazy for no reason and die. It was a good chance to change to bbPress as I had been considering it for a while. I’m loving the idea of users tagging topics but I can’t seem to find a way to edit tags like you can in WordPress’ control panel. I’m a bit of a perfectionist and people are creating tags with wrong capitalisation so any new tags that have correct capitalisation are automatically converted to the original incorrect form. Are there any plugins out for editing bbPress tags, or any way I can quickly modify them without a plugin?
Make sure you have inserted the code.
Refer to the installation notes you should have got with your download.
Благодаря за корекциите 
[залепена] ми харесва
а на българските форуми на wordpress.org е използвано [важно], което носи повече смисъл, макар да е разлино от [sticky]
“Your attempt to … has failed.” – за превода на тези фрази се водих от превода в WordPress, за да е един и същ стандарта
One subject per topic, please.
To create a link to the lost password page, just use this URL and put it in your template file wherever you want to see it.
<a href="http://www.example.com/bbpress/bb-login.php">Reset your password</a>
Is it more complicated than that?
It looks to me like the link (only) is stored in the variable $src
in the file bb-includes/functions.bb-pluggable.php line 928.
$avatar = '<img alt="" src="' . $src . '" class="' . $class . '" style="height:' . $size . 'px; width:' . $size . 'px;" />';
So, being that it’s in functions.bb-pluggable.php, I’d say you could probably come up with a plugin to return $src instead of $avatar, but I am unsure of how to do that right now. It’s available, we just need to figure out how to return it for you.
Alright, now I am having *serious* issues getting Rewrite Rules to work.
I’ve done these dozens of times and they aren’t particular complicated, here is a brief example of what I am trying to do:
RewriteBase /
RewriteRule ^example/?$ /forum/bb-plugins/example/example.php [NC,L]
</IfModule>
Accessing ‘http://www.example.com/forum/bb-plugins/example/example.php’ directly works perfectly. Accessing from ‘http://www.example.com/example’ does a redirect to ‘http://www.example.com/forums’.
There are NO other rewrite rules active. I even disabled those from bbpress to try to track down what is happening. But some sort of 302 redirect keeps occurring. Is bbpress triggering this internally somehow?
Okay, I ended up going a totally different route with this, I don’t know that it will work for everyone or if it is “proper”, but it works for me.
my-plugin.php now has:
include_once('my-plugin-core.php');
include_once('../../bb-load.php');
From there I check if the user is authenticated as an admin with:
bb_ssl_redirect();
bb_auth();
After that I just call ‘my-function();’
I will use mod_rewrite to make the URL less ridiculous.
Can plugins have their own standalone pages?
I have a very basic plugin that attempts to do this, but it displays both my output, and then the entire index page below it. I suspect this has something to do with the ‘bb_get_location’ function, but I don’t know how to resolve it.
my-plugin.php
include_once(rtrim(dirname(__FILE__),' /\').'/my-plugin-core.php');
if (isset($_GET['my-plugin'])) {
add_action( 'bb_init', 'display_deals');
}
my-plugin-core.php
echo "Example";
Can someone tell me the proper way to do this? Do I need to link directly into the ‘/bb-plugins/my-plugin/’ directory?
Thanks for your help, Detective. How would I implement your code with:
<td class="num"><?php topic_last_poster(); ?></td>
Which is in Forum.php and Front-Page.php
It doesn’t look like bbPress has an extensive library of plugins like Word Press.
bbPress JUST went live with the 1.x version. So yeah, there are few plugins. It’s a baby.
Best is subjective. What do you need out of a forum?
Thanks for the link batrachoid… I’ll look around on there.
Hi there,
I have a request from a user on my forums. I am running word press and bb press together. The user has an old account and would like to merge her newer account with the old account. I have no idea how to do this in phpmyadmin. If someone could possibly give me a detailed way on how to do this, that would be great. I am somewhat a noob to phpmyadmin. I know how to change display name/user names in phpmyadmin, etc but I have not done much else.
Thanks,
Adam
Is there any way to get the image address of the avatar.
What I mean is when I use bb_get_avatar( $user->ID)
or post_author_avatar()
I get the whole code like <img alt="" src="http://www.gravatar.com/avatar/d415555f00b204cfr535327e?s=80&d=identicon&r=g" class="avatar avatar-80 avatar-noemail" style="height:80px; width:80px;" />
But all I need is the image address like http://www.gravatar.com/avatar/d415555f00b204cfr535327e?s=80&d=identicon&r=g
wow thats good! Thanks for this
Can you link to the Avatars plug-in? I think there’s a few of them.
I’m using Avatar Upload, and after some fiddling, it’s working great.
I’m going to put in a standard disclaimer here: iframes are dangerous.
Example: If someone manages to put in malicious code in a bbPress post and you edit it via the admin side using this plugin, it is possible you could bugger your WP install. Now it’s a slim possibility, but iframes are bad, evil and annoying and should be avoided if possible.
Great idea for a plugin, use it responsibly, folks.