I suppose that
add_filter( 'bbp_get_teeny_mce_buttons',
should be
add_filter( 'bbp_get_teeny_mce_plugins',
Check out https://codex.bbpress.org/enable-visual-editor/
Pascal.
Late for @freshwater … Hope it will be usefull for someone else.
To add and control the featured image size on forums:
1- Add the following code to your child theme functions.php file.
add_post_type_support('forum', array('thumbnail'));
add_image_size('forum-category-thumbnail', 1080, 320, true);
2- (optional) Change/rename “forum-category-thumbnail” by something more useful for you if you need.
3- Set featured image size by changing numbers. First number is width in pixels and last is the height.
4- (if not done yet) Create a bbpress directory in your child theme.
5- (if not done yet) Copy the template file you want to affect from …/plugins/bbpress/template/defaut/bbpress/your_template.php to your bbpress directory.
for example: content-single-forum.php
6- Add the following code exactly where you want that your featured image appears in your template.
<?php if( has_post_thumbnail() ): ?>
<div class="entry-thumbnail"><?php the_post_thumbnail('forum-category-thumbnail') ?></div>
<?php endif; ?>
If you made change on point N°2 remember to change “forum-category-thumbnail” by what you’ve choose.
I’m having an issue with the bbpress profile page.
I receive a 404 error up until the moment that a user actually posts something in the forum. It is only once this event occurs that the user’s profile page is displayed and the 404 error disappears. So it seems as though the profile page has not been generated until this trigger.
Is this normal behaviour for bbpress? Ideally, I would prefer if users could access their profile page regardless of whether or not they have contributed to any of the forums. Is there any way to achieve this?
Hello!
I would like to display a list of the logged in user’s subscribed forums and topics in my sidebar in order of recent activity (similar to the Recent Activity widget that comes with bbPress).
I’ve been searching around for days and I haven’t figured out a way to do this, nor even a plugin that will do it. I’ve tried creating a custom shortcode, I’ve tried creating a custom widget, and so far the closest thing that has worked is to just copy and paste the code from the user-subscriptions.php template into my sidebar.php. Doing that displays an unformatted version but only when I’m on the user profile page.
Can anyone help? I’m sure there’s some kind of global variable that I’m not calling but I’m not sure what it is. Is there a shortcode I’m missing that will let me display the user’s subscriptions on other pages of the site?
Hello BBPress Community,
I am running a medium-sized vBulletin 4.2 Forum, which I want to migrate to BBPress for various Reasons.
The vBulletin Forum currently has 46k Topics with 490k Posts and 7k registered Users.
I am using the BBPress Built-in Importer to migrate my Forum, but I cant get it to work. The Importer runs smoothly until it gets to “Converting Replies”. It then just gets stuck somewhere in the middle of processing replies… I just see the rotating loading Symbol. At my last try to get this done, it already got stuck at “Converting Replies 0-99” …..
I know that I can press Stop and Start, but I have the feeling that this messes Things up… Take a look at my log:
———————–
Converting replies (200 – 249)
Starting Conversion
Converting replies (0 – 99)
———————–
The Script was converting Replies 0 – 99 when it got “stuck”. I pressed Stop and lowered the amount to 50, since I thought maybe 100 is too much? I pressed Start again, and it jumped to “200-249” … So where are replies 100-200 ???
Are there any other ways to migrate my Forum? Maybe a shell Script or php Script that is made to get run via shell, to prevent timeouts etc.?
Thanks for any help on this!
Thanks Pascal. I would try this for bbPress 😉
Hello Andy,
You may refer our past discussion here
Social integration with bbPress
Thanks,
Bryan W.
Hi Andy,
bbforums 2.5.8 ? or bbPress 2.5.8 ? 🙂
If you just use bbPress on WordPress, then you can use any plugin that is offering the social integration. I’m using https://wordpress.org/plugins/oa-social-login/ on one of my sites and it seems to do the job, but a lot of plugins exist for that.
Pascal.
Hi,
Upgraded my downgraded WP-installation to 4.4. Changed wp-includes/post.php according to the last diff file patch 35084.2.diff and it worked!
So the issue is not in bbPress but WordPress itself?
When will there be a WP update?
Thanks a lot!
Cheers,
Ger (@lindt01)
I am using WordPress v. 4.4
Buddypess v. 2.2.0
Bbpress v. 2.5.8
I have installed bbpress and buddypress on . Every thing has been working just fine until the other day (I have tried to deactivate all plugins and that did not work).
Before my bbpress forum was looking just like any other bbpress forum, with a nice list over categories and topics.
But now it takes all of the forum content at put it in – what looks like – one big blog post (see here: http://greenkeepitsimple.dk/wp-content/uploads/2015/12/Skærmbillede-2015-12-14-kl.-17.00.11.png) And the “read more”-button just reload the page. I really hope this makes sense and that somebody can help me! I am using total theme
The default bbPress forum index shortcode works fine. And it does not have arguments for removing the search bar, and showing specific forums in the forum index only.
You had some code that uses the shortcodes in the plugin bbp style pack.
Here is a shortcode from the bbp style pack plugin.
[bsp-display-forum-index forum= '2932, 2921' breadcrumb='no' search='no']
What happened? The index doesnt display properly anymore. here is what I have in my functions file
function recent_bbpress_topics() {
echo do_shortcode("[bbp-forum-index= search='no'] [bbp-topic-form]");
}
add_action('bbp_template_after_topics_index','recent_bbpress_topics');
add_filter( 'bbp_current_user_can_access_create_topic_form', 'custom_bbp_access_topic_form' );
function custom_bbp_access_topic_form( $retval ) {
if ( bbp_is_forum_archive() ) {
$retval = bbp_current_user_can_publish_topics();
}
return $retval;
}
Its always worked in the past no problem. I found that if i deleted = search='no' then it works again. I would however prefer to not display the search bar because its redundant. Just not sure what changed to stop that original code from working.
Thanks
I have installed bbPress plugin and when I activate it it says it is activated but on the left Dashboard area of the WP admin there is no Forum menu option and under settings menu option their is nor Forum option. Also when I activate the plugin in I am not redirected to welcome screen.
I have attempted the following fixes already:
– uninstalled and re-installed the plugin = same results
-deactivated all plugins and tried activating only BBpress= same results
Please help!
Thanks for jumping on this everyone, it’s appreciated. 🙂
@casiepa I have WP 4.4 with BuddyPress, bbPress and WooCommerce in a local environment. No fancy permalink settings, except for the root forum slug set to “forum”. But to be sure, here is a screenshot of my forum’s permalink settings: https://i.imgur.com/X6jfnrQ.png
I also should have mentioned before that all of my parent & child forums are set to private.
@KPDub I tried the same thing that you did by turning the parent forum from private into public. That worked to solve the incorrectly generated URLs! It does require making the parent forum public though, which we obviously don’t want all users and guests to see. So it appears that the issue has some relationship to parent forums being set to private.
Here is my actual structure that always works:
/forum/categories/parent/child/
After WP 4.4, if the “parent” forum is set to “Private”, then the forum links to:
/forum/categories/child/ (which returns a 404 error, while the above link still works)
After setting the “parent” forum to “Public”, the correct URL is made again:
/forum/categories/parent/child/
…but, the leaves the “parent” forum’s threads visible to everyone.
@schwarzkopfclub If my information in this post doesn’t lead to replication of the bug, I will try to make it happen from a fresh setup. 🙂
@robkk My 404 error is my custom theme’s version (theme/404.php), not the “Oh bother” one that bbPress includes.
It is usually recommended to not edit the core plugin files. Use a custom css plugin and add some of these styles and customize it to how you want it.
1.
.bbp-forum-content p,
.bbp-topic-content p,
.bbp-reply-content p {
font-size: 16px;
}
2.
.bbp-topic-author a.bbp-author-name,
.bbp-reply-author a.bbp-author-name {
font-size: 14px;
}
3.
Depends on what Avatars exactly? Plus CSS is not the best way to adjust this.
#bbpress-forums div.bbp-forum-author img.avatar,
#bbpress-forums div.bbp-topic-author img.avatar,
#bbpress-forums div.bbp-reply-author img.avatar {
border: none;
max-width: 80px;
padding: 0;
margin: 12px auto 0 auto;
float: none;
}
4.
#bbpress-forums div.even,
#bbpress-forums ul.even {
background-color: #fff;
}
#bbpress-forums div.odd,
#bbpress-forums ul.odd {
background-color: #fbfbfb;
}
Copy the archive-forum.php template from the extras folder and place it into the root of your child theme and customize it to your liking, make sure that the template code is similar to the one bbPress is inheriting from your theme.
Just make sure the get_sidebar() code is in your archive-forum.php template while the rest of your forums are full-width.
Getting Started in Modifying the Main bbPress Template
Forums do not even have pagination.
Here is a ticket for it though. Open it or add a little description of why you want it to the ticket if you want.
https://bbpress.trac.wordpress.org/ticket/1997
On your profile page and your forum index page it shoudn’t have this layout by default. It is most likely happening because of the template that bbPress is inheriting. You would need to follow this guide and create a bbpress.php file and place it in your child theme.
Getting Started in Modifying the Main bbPress Template
Here is an example bbpress.php file for your Canvas child theme. It is what I created straight from Canvas original theme code.
https://gist.github.com/robkk/c7ec3a0f2d730f5cb10d
Here is some CSS to fix the avatar issue I see on your forums. Place this custom CSS anywhere where you could like in a child themes style.css file, or in a separate custom css plugin.
#bbpress-forums p.bbp-topic-meta img.avatar,
#bbpress-forums ul.bbp-reply-revision-log img.avatar,
#bbpress-forums ul.bbp-topic-revision-log img.avatar,
#bbpress-forums div.bbp-template-notice img.avatar,
#bbpress-forums .widget_display_topics img.avatar,
#bbpress-forums .widget_display_replies img.avatar {
float: none;
margin-bottom: 0;
vertical-align: middle;
border: 1px solid #ddd;
}
#bbpress-forums .avatar {
width: auto;
height: auto;
margin-left: inherit;
display: inline;
}
As for what you wanted, you seem to have it by making sure a topic does not have a parent post (forum).
You may also need to follow this guide to fix your /forums index page, instead of doing the workaround that you have already.
Getting Started in Modifying the Main bbPress Template
@stewagner
I had a feeling you were using that plugin, that is why you linked to the single reply post.
There is a little shortcode you have to change in the plugins settings for the notification. It should have it this way by default, but it does not. Might need to contact the plugin author to set that as the default setup.
I think you have to change [reply-url] with [reply-replyurl] in the plugins settings. It adds the settings to bbPress default settings in Settings > Forums.
…thanks for testing Rob.
The link is created and sent by “bbPress Notify (no-Spam)”.
Another Plugin “bbPress Notify” uses the same link.
I know it is still possible to make a post, it is just complicated to first go back to the topic then scroll down dozenzs of replies before one can stake a new one.
Do you know of any way to notify a group of registered users about new topics and replies with an email that allows a direct reply?
I use Firefox but IE is not different.
This is not really a bbPress issue as the plugin just piggybacks off of WordPress’ core code, could be fixed server side with the explanation in the codex guide, or by using an smtp plugin though.
There may be many factors to the emails being sent to the spam folder. There are some solutions outlined in the bottom of this WordPress codex guide piece for sending the emails correctly while using the hosts.
https://codex.wordpress.org/FAQ_Troubleshooting#E-mailed_passwords_are_not_being_received
Other common suggestions of fixing this issue is using SMTP and seing any emails on your site that way and making sure that you use an email address that has the same domain as your site.
… of course I also tried deactivating all CSS rules AND all plugins besides bbPress at the same time with no effect.
Here is a “reply to:” link:
rover.swiftease.de/reply/325/
I activated the reply button (“Antwort”) again for your testing.
Greetings,
I am trying to put a rank-image under the player profile.This rank-image to show in any topics in which he participates.I would like to know a way to add it- plugin or something else?I looked to some other topics, but they were very old.