@_ck_
I want to create some form of custom query for displaying topics, such as get one forum, I don’t want to use shortcode, due to it will get most useless information. I mean that just like wordpress code as below:
<li><a href="" title=""></li>
How can I do this?
I am using Premise 2.4 and have installed the Premise bbPress Connect plugin. I do not see how they link to each other and have been unable to have a forum work from within Premise. I have used the shortcodes to put pieces in my Premise pages, and they show up there, but as soon as I click a link, it takes me outside of the Premise site into my root site. They look different, and I don’t want this for my members.
Is there a way to (pardon my limited use of the language) imbed the forum into my Premise site? Does anyone know how the connect plugin is supposed to work? I have not found any way to configure it to work. Any way of getting my bbPress forum to live within my Premise page is welcomed. Thank you all for your suggestions.
Premise can be found at http://www.getpremise.com.
You could always create your own BP child theme and use a framework such as Twitter Bootstrap to easily make BP responsive
http://twitter.github.com/bootstrap/
https://codex.buddypress.org/legacy/building-a-buddypress-child-theme/
This approach worked well for me.
Hello guys,
I am using the latest version of WordPress and BBPress and this following shortcode is not working:
[bbp-forum-index]
Here is the page with the problem: http://doubtingdave.com/forums/
Hi, I have exactly this Problem. Visitor can see the forum, normaly registered user got an 404 page if they try to open the forum. The next problem is, that I, with admin rights can´t create any topics. I got the message “you don´t have rights to do this”. At the dashboard I´m not able to edit topics or replies, there is no point to edit this, it´s missing. In the profile I can see that I should have admin rights. This problem is since 4 days suddenly.
What I have changed at my comfiguration is the AddHandler, I disabled it, because I had problems with the registration of Buddypress. Perhaps this could have to do anything with the problem, I don´t know.
The plugins I use are:
AJAX Thumbnail Rebuild
Antispam Bee
AntiVirus
bbPress
bbPress Antispam
bbPress Moderation
bbPress Unread Posts
Blubrry PowerPress
Broken Link Checker
Buddy-bbPress Support Topic
BuddyPlug
BuddyPress
BuddyPress Activity Plus
BuddyPress Extended Friendship Request
BuddyPress Google Plus
BuddyPress Like
BuddyPress Live Notification
BuddyPress Media
BuddyPress Template Pack
BuddyPress Twitter
cforms
CodeStyling Localization
D64 LSR-Stopper
Download Manager
Flattr
GD bbPress Tools
Google Analyticator
Google XML Sitemaps
NextGEN Gallery
Optional Content Plugin
Semisecure Login Reimagined
Simple Local Avatars
Theme My Login
Uji Countdown
User Role Editor
Welcome Pack
WordPress Ping Optimizer
WordPress Social Login
WP CleanFix
wpSEO
WP Super Cache
WP to Twitter
I hope it helps, you are my last chance to fix this problem, I asked in a lot of other forums but nobody could help me.
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.