It should work š
Though there are vast improvements in bbPress 2.3 for importing vBulletin aso grab bbPress 2.3 RC1 for starters https://bbpress.org/blog/2013/03/bbpress-2-3-release-candidate-1/
Here is the known issues with regard to vBulleting imports
https://codex.bbpress.org/import-forums/vBulletin/
You probably want to double check your vBulletin Username, Password, Database Name and Database Table Prefix if you are getting errors such that you list above as having one of these wrong is typically what causes what you list above.
I cannot think of why this may be the case but you could create a new WordPress page and call it ‘forums’ so the URL would be mysite.com/forums and use whatever shortcodes you want on this WP page and fingers crossed Google will index this new page.
You would need to write some custom code or a plugin for this as currently bbPress’ forum order is determined by the order set of the forums in wp-admin.
This definately looks like an issue with your theme.
Try using WordPress Twenty Eleven to ensure bbPRess works as designed and then contact the theme author to see if they can give you some tips on getting the theme to support bbPress.
In the meantime create a WordPress page called ‘forums’ (or ‘forumi’) and add the bbPress ‘shortcode‘ `[bbp-forum-index]` to this page and this should get you going.
Check out the steps outlined here https://codex.bbpress.org/theme-compatibility/
You don’t need to create a ‘Child Theme’ you only need to copy the files you want to edit to a subdirectory of your theme called ‘bbpress’ eg `/wp-content/mythemename/bbpress`
Aslo this new plugin by @MZAweb is also rather awesome to help you know what templates you should be editing.
https://wordpress.org/extend/plugins/debug-bar-bbpress/
and it trashed my code, try again without the ‘s
a href=”” class=”submit user-submit”><?php echo get_avatar( bbp_get_current_user_id(), '40' ); ?
This is probably a dumb question, and youāll point me to a much easier solution!
Also I am still very new to wordpress, so understand a little of css and phpās but not tons. Iāll use thing and thingy a lot as well, so as not to embarrass myself with the wrong technical terms.
I am using bbpress 2.2.4 on WordPress 3.5.1 with a twentyten child theme that does a few minor mods.
I am setting up a forum, but donāt want users to see the WordPress toolbar, as this is outside the theme.
But I do want users to be able to change their password and details.
I am using the bbpress login widget in the bbpress sidebar, and by clicking the avatar or their username, users can get to a theme friendly profile page that lets them do just this.
However clicking the avatar is not instinctive, and Iād like (in the absence of a more obvious solution) to add a thingy to the bbpress sidebar that says āamend profile/change passwordā which when clicked takes you to the same place that clicking the avatar does (or some similar solution)
From searching on the forums, I have found the line within the widget that does this fro teh avatar (around line 140) which looks like
ā<a href="” class=”submit user-submit”>
But have no idea how to then use this or other code to achieve the goal.
Any good ideas, or is there a very basic solution Iāve missed.
Thanks
I am fairly miserable at web design, so I did the visuals and had another person do the bulk of the code and technical stuff for my website. I have a WordPress site with forums on the site using bbPress. My issue is that I seem to only be capable of having 5 topics in the forum at any given time. At the top it will indicate it is showing topics 1-5 of 8, but there is no link to any page where the older topics can be found. It’s fairly useless to have a Forum where only the most recent 5 topics can be seen. So my question is, is there a simple fix I am overlooking, or is this more likely something the person I had work on the site previously set up aside from bbPress? The site is live, and can be seen here:
Black Flag Games Forums
Eureka…!!! sorry, i don’t mean to spam this thread. but finally i made it fixed.
hope this help for others
these is my installation : WP 3.5.1 (multisite subdir)+ BP 1.7 rc1 + Bbp 2.3 rc1
by default it should work to any themes..
my trouble previously : (look above)
Managed fullwidth : (thanks to @jaredatch)
– identify your theme’s file with fullwidth.php
– rename that file to bbpress.php
– you’ll get no sidebar, meaning your forum is fullwidth
Removing dot list style : (thanks to @jaredatch again)
– put the code below into your main theme css. ussually called style.css
#bbpress-forums li {
margin: 0;
list-style: none;
background: none;
padding: 0;
}
– you SHOULD put under #main area and not in #sidebar or other IDs.
that’s all.
cheers
Grab a free theme from WordPress https://wordpress.org/extend/themes/ and see how well it integrates with bbPress some themes support bbPress others just work.
https://codex.bbpress.org/getting-started-with-bbpress/
get_userdata already returns you the WP_User object. This should do it:
`
$user = get_userdata( bbp_get_reply_author_id( bbp_get_reply_id() ) );
if ( !empty( $user->roles ) && is_array( $user->roles ) ) {
echo $user->roles[0];
}
`
Putting this in your themeās CSS will be a start, but youāll likely need more CSS tweaks as you go to play nice with your theme.
#bbpress-forums li {
margin: 0;
list-style: none;
background: none;
padding: 0;
}
i tried @jaredatch by putting above code in my theme’s style.css. but still the list style appears..
need more help here please…
`
$user_id = get_userdata( bbp_get_reply_author_id( bbp_get_reply_id() ) ); // Return the get_userdata information
$user = new WP_User( $user_id );
if ( !empty( $user->roles ) && is_array( $user->roles ) ) {
$roles = $user->roles;
echo $roles[0]; //echos only the first role index of 0 of array $roles;
/* Echos all roles
foreach ( $user->roles as $role )
echo $role.””; */
}
`
Accomplished Display the Replies author’s role with the Above ^. Seems like alot of code for such a simple thing but it works :D. Thanks.
Thanks again, ill look through the code some.
Replies are not comments.
`bbp_get_reply_author_id( bbp_get_reply_id() );` will give you what you need.
Let me recommend you to give a good look at the bbPress source code. It’s surprisingly well documented.
You need to make an exception for
wp-admin/admin-ajax.php
See https://codex.wordpress.org/AJAX_in_Plugins
My bad, sorry. Wrong filter.
Do this:
add_filter( 'bbp_pre_get_user_profile_url', 'my_custom_author_link' );
function my_custom_author_link( $user_id ) {
return get_author_posts_url( $user_id, '' );
}
You’re sending false instead of empty. Try this:
add_filter( 'bbp_get_user_profile_url', 'my_custom_author_link' );
function my_custom_author_link( $user_id ){
return get_author_posts_url( $user_id, '' );
}
add_filter( 'bbp_get_user_profile_url', 'my_custom_author_link' );
function my_custom_author_link( $user_id ){
$author_info = get_userdata( 1 );
$author_name = $author_info->user_nicename;
return get_author_posts_url( false, $author_name );
}
is working properly.
but when i change the input of
$author_info = get_userdata( 1 );
to
$author_info = get_userdata( $user_id );
I get:
Notice: Trying to get property of non-object in C:\xampp\htdocs\wordpress\wp-content\themes\WoW_Public_Vent_Theme\functions.php on line 274
and it does not work :(;
Soo close.
I Tried:
add_filter( 'bbp_get_user_profile_url', 'my_custom_author_link' );
function my_custom_author_link( $user_id ){
return get_author_posts_url(false, $user_id);
}
get_author_link(); appears to have been depreciated.
So using:
add_filter( 'bbp_get_user_profile_url', 'my_custom_author_link' );
function my_custom_author_link( $user_id ){
return get_author_posts_url( $user_id, false );
}
I am able to get to:
http://localhost/wordpress/author/
which is sooo close to what i need.
I need it to return http://localhost/wordpress/author/$user_name
Add this to your functions.php. Reload your site and then remove the code. It only needs to be executed once:
`
update_option( ‘_bbp_forums_per_page’, 100 );
`
You can use the bbp_get_user_profile_url filter. Something like:
add_filter( 'bbp_get_user_profile_url', 'my_custom_author_link' );
function my_custom_author_link( $user_id ){
return get_author_link(false, $user_id);
}
(Not tested, but should help you get on track)
WordPress V3.5.1
BuddyPress 1.6.5
bbPress 2.2.4
I have just moved my group forums from BuddyPress and added a sitewide forum as per these instructions http://codex.buddypress.org/user/buddypress-site-administration/migrating-from-old-forums-to-bbpress-2/
Everything is working except for 1 thing.
Any user with a forum role of Participant cannot see the opening topic post in any thread. They can see all replies. It doesn’t matter if they created it or another user did, they can’t see the opening post.
If I change their role to Moderator they can see the opening post. But, I don’t want everyone to have moderator rights.
I tried changing the capabilities of Participant (using capability manager plugin), but that didn’t work either.
Can someone please HELP!!!
thank you
Hi moebi
I came here from a google search regarding subforuns in bbpress.
Even before I install wp+bp+bbpress iĀ“d love to know if you have news on this. For the kind of community iĀ“m planning subforuns is a must š
Also looking at your code, i“ve found in my group.php
` */
public function remove_forum( $forum_args = array() ) {
// Bail if no forum_id was passed
if ( empty( $forum_args[‘forum_id’] ) )
return;
` where public function is line 610 and so i“m a bit lost.
Any help would be appreciate.
Thanks