Just add the bbPress plugin to your WordPress install would be my tip 🙂
There is two parts to this:
1. The ‘moderator’ role cannot be currently set to only disable moving topics to another forum currently, to change this though a couple of tweaks to the form-topic.php template would achieve this end result.
2. There is also a bug where moderators can move a topic to a group forum that they are not a member of that we are looking into in #2639
Thanks extra sets of eyes with all of this ‘import’ stuff is always handy, boat loads of data all just starts to look the same after a while 😉
Indeed, ‘Reset Forums’ will remove everything bbPress, as long as you also check the ‘Delete Imported Users’ they will also be removed.
The wp_bbp_converter_translator is not explicitly required, if your site can create this table bbPress uses it as part of the import process, if not it will just use the ‘out of the box’ WordPress database tables. It also gets deleted when resetting the forums. It also relates to the bugs I found yesterday that I am working on fixing and as I stated above I am pretty sure your imports are not using wp_bbp_converter_translator as if you were you wouldn’t have had any stickies.
As to redirects you shouldn’t need that table for those, depending on your old phpBB permalinks
some simple right up to some advanced .htaccess will get you what you want.
A week or so back whilst messing about with splitting and merging topics I happened upon a WordPress feature for 301 redirection of old URL’s to new URL’s. I am yet to try this as it has only popped into my head as I wrote the previous paragraph that this may be something that could work so that imported topics and replies include full redirect support.
So much so I just gave it a whirl, if I store and old topic slug e.g. viewtopic.php?f=3&t=9 I can query on the fly that topics new post ID and 301 redirect to it’s new permalink e.g. phpbb-v3-standard-topic 😉
It still doesn’t quite work though due to some URL weirdness presumably with one or a combination of the .php, ? and & characters, I am quite sure we can do something here though 🙂
No need for multiple topics within minutes of each other and the same topic, closing this one.
See https://bbpress.org/forums/topic/where-can-i-find-the-forum-ids-bbpress-2-5-4/
Using bbpress 2.5.4 and the subscribe text is bunched up against the last option (current forum) in the forum breadcrumb trail. While functionally not a problem it does go towards making the forum and site look unprofessional, so I was wondering is there anyway to fix this?
Nvm I found a explaination while digging around another support thread. But just in case someone stumbles here looking for the answer I’ll share.
—————————————————-
“go into dashboard>forums>all forums and then edit for the forum you want. Now go look at the url address bar at the top of your browser and it will look like
http://www.mysite.com/post.php?post=2922&action=edit
so 2922 would be the forum number” – Robin W (Moderator)
Source: https://bbpress.org/forums/topic/how-to-show-topics-from-every-forum-when-using-bbp-forum-index/
I was wondering where can I find the forum ID’s? Trying to use the single forum shortcode, but dunno where the ID’s are. (Wish they were listed in Forum > All Forums via a ID column).
I was able to locate bbp_single_user_details_avatar_size in bbpress/templates/default/bbpress/user-details.php which eventually lead me to the following function that accomplishes what I needed (resizing the avatar):
function my_bbp_change_avatar_size($author_avatar, $topic_id, $size) {
$author_avatar = '';
if ($size == 14) {
$size = 24;
}
if ($size == 80) {
$size = 110;
}
$topic_id = bbp_get_topic_id( $topic_id );
if ( !empty( $topic_id ) ) {
if ( !bbp_is_topic_anonymous( $topic_id ) ) {
$author_avatar = get_avatar( bbp_get_topic_author_id( $topic_id ), $size );
} else {
$author_avatar = get_avatar( get_post_meta( $topic_id, '_bbp_anonymous_email', true ), $size );
}
}
return $author_avatar;
}
/* Add priority (default=10) and number of arguments */
add_filter('bbp_get_topic_author_avatar', 'my_bbp_change_avatar_size', 20, 3);
add_filter('bbp_get_reply_author_avatar', 'my_bbp_change_avatar_size', 20, 3);
add_filter('bbp_get_current_user_avatar', 'my_bbp_change_avatar_size', 20, 3);
Increase avatar size in bbpress
I’m hoping someone can help with locating “post_author_avatar_link” for me as well. I suspect the bbpress structure has changed since this answer was provided because I’m unable to locate the folders mentioned.
Thanks in advance.
Just to update: I no longer think it was the BBpress update causing my issue, so you can pass me up for now, I will investigate a bit further. thank you.
Thanks for your answer Stephen.
Well, indeed, I got the plugin from WPML (I asked really nicely 🙂 … their support is very good anyway).
I am in contact with them now.
Strange thing is that they use the same combo on their site : WPML + BBpress + BBpress-Multilingual plugin. It works fine.
Two days ago i had an update showing for BBpress, and after I updated my forum page stopped showing. I can get to some of the forums via the ‘recent replies and topics’ on the sidebar, but when clicking on the FORUM link from my main menu, this is all that is showing.
Warning: array_merge(): Argument #2 is not an array in /home/content/p3nexnas05_data01/83/2102083/html/wp-content/plugins/bbpress/includes/common/functions.php on line 1344
WP Version – Version 3.9.1
BBpress Version – Version 2.5.4
ok try
Deactivate bbpress tweaks
Dashboard>plugins>bbpress tweaks>deactivate
Go into widgets
Dashboard>appearance>widgets
And look at the bottom of the left hand side. You’ll see an “inactive sidebar”, with your entries on
Below this is an “inactive widgets”
Drag all the entries from the inactive sidebar to the inactive widgets area.
This then allows wordpress to delete the sidebar
I normally log out and in again at this stage – probably not needed, but I’ve never bothered to check
Then basically reverse the above
Re-enable bbpress tweaks
You see the bbpress sidebar returns
Drag the entries back from the inactive widgets area to the sidebar
As soon as you’ve got the site vaguely going again, you need to STOP !!!! YES STOP!!!!!!!!!!
Then take a breath, and create a test site – you cannot continue to develop your site in live, and you need a child theme. So you’ll need to read.
Functions files and child themes – explained !
https://codex.bbpress.org/creating-a-test-site/
Once you have a test site, you can change things there first and then when you are happy put it into live.
The problem is that there are so many themes out there, all of which do ‘clever’ things with layout that it is impossible to give a set of instructions.
However you are using a paid theme with support, so you need to refer to them.
You question should look like
I’ve just installed bbpress forum software, and I want to use this in a page with a sidebar. To do this I need to copy and rename a theme page template that has a sidebar – basically I need to rename it bbpress.php and put it in my themes folder.
Can you either let me know which template file in your theme has a sidebar, or where within an existing template (having copied and renamed it) I would put something like
<?php get_sidebar(); ?>
ok, put the css in your style.css.
then maybe try this code in your functions.php file
add_action( ‘bbp_theme_after_reply_author_details’, ‘mentionname_to_bbpress’ );
function mentionname_to_bbpress () {
$user = get_userdata( bbp_get_reply_author_id() );
if ( !empty( $user->user_nicename ) ) {
$user_nicename = $user->user_nicename;
echo '<ul><li><font class=bbp-user-nicename>' ;
echo “@”.$user_nicename.’</font></li></ul>’ ;
}
}
Hi, I am building a multilingual website using WPML. I also need to attach a forum to the website and I have never used BBpress before. My question before I start is: Should I install BBPress on a sub domain or is there no performance or security gains to be had by doing this? Is it better to add BBpress into the main WP install?
i have participant (bbpress)
and subscriber (wordpress)
Thanks, where can I find custom css?
also, can I use;
add_action( ‘bbp_theme_after_reply_author_details’, ‘mentionname_to_bbpress’ );
function mentionname_to_bbpress () {
$user = get_userdata( bbp_get_reply_author_id() );
if ( !empty( $user->user_nicename ) ) {
$user_nicename = $user->user_nicename;
echo ‘<font class=bbp-user-nicename>’ ;
echo “@”.$user_nicename.'</font>’ ;
}
}
use font instead of <p> ? because p will skip a line which makes the name and user role very far away
bbPress – Ajax Replies
this plugin only seemed to work for me when threaded replies is activated
there is a little bug on this
that i could fix in the future
whenever i subscribe to a forum
it shows the menu on subscribed forums in the subscriptions area in your profile
(it showed up on the forums area in my buddypress extended profiles)
easy fix is to turn off subscriptions to forums and topics in bbpress forum settings
ill try to find a css way to fix this , if not ILL look up another way
@netweb i might put this into the codex if i fix all the nooks and crannies
What WordPress role does the user have?
What bbPress role does the user have?
This is more of a theme issue, maybe create a support topic in your themes support forums?
Also this is the BuddyPress login and not the bbPress shortcode…
See what I did here? I had a quick look at your site and like you couldn’t see an easy fix so I came up with some alternatives places for you to look 😉
Aside from what I wrote above I have spend most of today fixing a couple of niggling issues with the main converter.php that will cause some odd data import validation for users with a particular setup. This doesn’t affect your imports though because if it did you would not have had any stickies 😉
I didn’t know these bugs were there until today as I am typically not affected by the issue either. I hope to get these patched tomorrow so I can continue working on what I had actually planned for the day.
I am adding support to phpBB and SMF imports to fully support users who have been a) deleted, b) anonymous or c) guests users from these forums. They will be imported as bbPress ‘Anonymous Users’ keeping any legacy username with posts correctly attributed to these users.
If you willing to check a couple of the integrity issues I mentioned above we can make sure that the phpBB importer is doing what it is supposed to and ‘data integrity’ is all good and you want to do the import with the above support included I’ll add some links back here on where to get the bits for this so you can add them to your setup and have another go at a ‘clean import’ with the above support.
Hello to everybody! I’ve got an issue with my background, on the registration page. For some reason seems like the page “doesn’t see” the registration fields, so the background has a really low height as you can see here: http://www.fbimprese.it/registra/
Any idea bout how to solve this?? I’ve already checked the CSS but I cannot set the height to a fixed value (for example to 1000px) because this configuration will be valid for all the pages in the website… Any fix? Any ideas?
WP 3.9.1
bbPress 2.5.4
Buddypress 2.0.1
Thanks a lot! 🙂