am i doing it right?
function ed08_tab_add()
{
add_profile_tab(__('ED 08'), 'ed08', 'moderate', 'ed08-template.php');
}
add_action('bb_profile_menu', 'ed08_tab_add');
cant get new profile tab/page link to work..
What does these?
add_profile_tab(__('Name on tab'), 'whats this?', 'And this?', 'file.php');
.
if i call it once in my plugin it will remain until i deactivate it ?
.
Add settings?
bb_update_option('my_options', $options);
.
Delete settings?
bb_delete_option('my_options');
.
Show notice on admin page?
bb_admin_notice(__('Settings Saved'));
Im using bbpress-integration.php first then installed bbsync .. seems working ok. Think ill let users signup via bbp and add admins trough wp.
OT: trac … is there a similar web-based management of software projects without the python stuff, written in php out there?
Yep, I have the same issue. Haven’t come across the answer yet, but waiting (im)patiently so I can get my bb up and running… As near as I can tell it’s a cookie issue, but I don’t know how to fix it…
Anybody wanna make $20 to get my installs working?
I’m not a programmer. I don’t know that much about bbPress. I’ve never written a bbPress plugin. But from reading the source and looking at other admin plugins, I was able to make this work. I’m sure you can too.
http://www.chrishajer.com/bike/XLF/bbpress-ddlb.png
Haven’t you noticed this line from bbPress source (L1296 in template-functions.php)?
$roles = $bb_roles->role_names;
I think chrishajer and me thought you knew how to program with PHP (by checking your website). Yes, chrishajer gave you a piece of code that is a hint not a just-can-work code at everywhere. I thought you can code with PHP, and you should be able to put the rest on your own code. However, I was wrong or you think someone else has taken care of the rest for you?
you also need to do global $bb_roles;, in case you really can not code with PHP.
(edit: Sorry for this emotional post to everyone else)
Hey.
I just setup bbpress and integrated it into my WordPress blog.
The good news is that when I signup a new user in my WordPress blog I can also log into my bbpress forum using the same username and password.
But I would like the user to remain logged in. For example if I login to my WP blog and then click a link that takes me to a post in my bbpress forum, I have to login again.
I thought I did everything necessary in order to synchonize WP and bbpress.
Does anybody have any clues what could be wrong?
Thanks a lot in advance already!!
So I guess that’s how it works for the moment, unless one were to carry out some complicated core changes to bbPress?
Check this:
http://www.chrishajer.com/bike/XLF/bbpress-roles.png
I did that using the stuff I mentioned in this post. So, it works as an administrator since they can edit other users. There is a drop down with all 6 roles listed.
Anyone knows if there are any plans for the next version of bbpress, and when?
Hello Guys,
i installed BBPress today..its awesome…..but i have problem in user registration..its telling me that they will send me the password in mail. I did registration before 20 hours , but still havenot received any mail regarding password…Can you help me in this?
@Null: of course, you get all roles’ data. I meant you can get each role’s name from the returning result of $bb_roles->get_roles() (I thought you was going to do something special). However chrishajer has told you the useful information for all your need, you just need to read from https://trac.bbpress.org/browser/trunk/bb-includes/template-functions.php#L1296 to 1311. If you really want to do something with bbPress, you have to read the source of bbPress.
I don’t believe the roles are stored in the database, I think they’re all stored and defined in bb-includes/capabilities.php. So, I don’t believe you can pull them from anywhere other than there. Maybe I missed it and they are defined in the database somewhere, but I don’t think so.
There is already a drop down of roles in the admin section, when you go to edit a user’s profile, you can mark them member, inactive, blocked, etc. Take a look at lines 1309 – 1317 in bb-includes/template-functions.php
<tr>
<th scope="row"><?php _e('User Type:'); ?></th>
<td><select name="role">
<?php foreach( $roles as $r => $n ) : ?>
<option value="<?php echo $r; ?>"<?php if ( array_key_exists($r, $user->capabilities) ) echo ' selected="selected"'; ?>><?php echo $n; ?></option>
<?php endforeach; ?>
</select>
</td>
</tr>
Will that do what you want?
I don’t think they handle plugins at trac. At least there is no component for “plugins.”
I see you already posted in the plugin forum:
https://bbpress.org/plugins/topic/2?replies=13#post-2
You could try contacting the author of the plugin:
Michael D Adams
mda TA blog NOSPACE waffe TOD com (from his blog, and there’s also a wordpress email address for him as well if you look around…)
Are you thinking this should be handled in the template files, and thus should be submitted to trac, or should someone just update the plugin?
Everything is going well in terms of building forums for the different cities, but…
Now another issue has come to mind.
I’m not registering users on the main WP blog, so I didn’t integrate bbPress with WP. Maybe I should have.
I’d like to get the header and the navigation bar from the main WP site. And if that’s too much of a pain, I’d at least like to include in bbPress my logo and navigation back to WP. How do I do this?
Solution to the Display Name bug here
It is for the benefit of others. OK with me 
Trent
A little bit of self-promotion here…
(mods: delete if not allowed)
I just wrote an article on how to install bbPress locally.
You can read it here: http://www.refueled.net/install-bbpress-locally/
For those experts out there: if there are any errors within the article, I would appreciate if you could let me know. 
Hope it’s useful.
Better to use the latest version from trunk than those diff files if possible.
On front-page.php I’d like the “first poster” column to show the users’ display_name (bbPress is synced with WP).
I’ve tried this
<td class="num"><?php echo(get_author_name(topic_author())); ?></td>
which calls this
function get_author_name( $auth_id ) {
$authordata = get_userdata( $auth_id );
return $authordata->display_name;
}
but it still shows “user_login” which tend to have ugly underscores etc.
Ah, great! I’ve been translating bbPress to portuguese to use on my WPMU+bbPress project and when I try to set the language I get the error as well….
Anyways, I guess I’ll have to try merging the two PO files.
@ganzua, I don’t think you really need to define BBLANGDIR – it works because you have already defined the .mo file in WP config file. You get the error *if* you try to define BBLANG. However, if you leave BBLANG as ”, you won’t get the error.
I actually haven’t tried yet, but I think it make sense.
I’ve got Windows XP users saying they can’t post in my install of bbPress
they get this error:
Error 403
We're sorry, but we could not fulfill your request for /esprit/topic/102?replies=6#post-356 on this server.
You do not have permission to access this server.
Your technical support key is: 5246-fa61-dfd9-b1ad
You can use this key to fix this problem yourself.
The only way they are able to successfully post is to hit the ‘back button’ after the error and find they have indeed successfully posted.
I searched and didn’t find this error.
What could it be?