@schneidi76
add this anywhere you can put custom css
add !important at the end if it doesnt work at first too.
to shrink username , change 12px to something lower if you want to go smaller
#bbpress-forums div.bbp-reply-author a.bbp-author-name,
#bbpress-forums div.bbp-topic-author a.bbp-author-name {
clear: left;
display: block;
font-size: 12px;
}
to make user role disappear
#bbpress-forums div.bbp-forum-author .bbp-author-role,
#bbpress-forums div.bbp-reply-author .bbp-author-role,
#bbpress-forums div.bbp-topic-author .bbp-author-role {
display: none;
}
the IP is only seen by keymasters , and it is very useful if you want to block users who are spammers, but if you want to remove it just use this CSS.
span.bbp-author-ip {
display: none;
}
@dvdfever
ok this CSS changes every link color in bbPress to black
#bbpress-forums a {
color: black;
}
and this CSS is for if you want any links in the topic/reply content to be a different color like blue, just like blog posts usually have.
#bbpress-forums div.bbp-topic-content a,
#bbpress-forums div.bbp-reply-content a {
background: none repeat scroll 0 0 transparent;
border: medium none;
display: inline;
font-weight: normal;
margin: 0;
padding: 0;
color: blue;
}
also use some of the CSS that i posted here since you have a dark background.
How do i change the color of the text and box?
.bbp-forum-header a.bbp-forum-permalink,
.bbp-topic-header a.bbp-topic-permalink,
.bbp-reply-header a.bbp-reply-permalink {
display: none;
}
add this anywhere you can put custom css
for forum topics/replies
try this code robin posted in the topic you linked to
#bbpress-forums .bbp-topic-content p,
#bbpress-forums .bbp-reply-content p {
font-size: 16px;
}
this is for breadcrumbs
#bbpress-forums div.bbp-breadcrumb p {
margin-bottom: 10px;
font-size: 16px;
}
Still not completely sure why this is happening, but I think it’s because of the way the forum is being displayed using the BuddyPress group tabs/screen hooks. Digging into the is_bbpress() function, none of the WP_Query information is being set so it doesn’t pass any of the is_ functions.
You can filter is_bbpress in bbpress > includes > extend > buddypress > groups in the setup_filters() function and get it working, but I can’t see a way of doing this without modifying the plugin code.
I’m trying to integrate bbPress with Jetpack Markdown.
The problem I’m having is the formatting of the saved data.
If I leave bbPress as is.The fenced code blocks with the three back-ticks get all screwy. I’ve found this is because of the bbp_code_trick() function on the bbp_new_reply_pre_content filter.
If I remove that filter the fenced code block works, but the inline code doesn’t. Somewhere the & character is being escaped to & and messing everything up. For instance, instead of < it ends up being saved to the database as &<. I cannot find where this is happening.
Thank you crzyhrse, your code was very helpful! Took a little bit of picking and choosing and adding an !important here and there but my site is looking much better!!!
The only plugin I found so far that could be of use is the BadgeOS plugin and BadeOS Community Add-on. But I want the badges to appear under the users avatar, for example like under my avatar on this page that I am posting a topic in.
I asked for some help here, and they provided some code which I dont know how to make use of it : https://wordpress.org/support/topic/how-can-i-get-badges-to-appear-under-users-avatars-in-forum-topics?replies=3#post-6301447
Hi,
just had the same Problem with “bbp_new_topic_handler”.
Maybe my solution will help:
/*
After all Plugins are loaded, remove bbp_action hook.
Remove it after all plugins are loaded, because hook'S maybe not available at the moment you want to remove it.
After that, override the add_Action with a copy of the original function. Do all your changes in your own function
*/
function remove_bbp_new_topic_handler() {
remove_action('bbp_post_request', 'bbp_new_topic_handler',10);
add_action('bbp_post_request', 'my_bbp_new_topic_handler',10);
}
add_action( 'plugins_loaded', 'remove_bbp_new_topic_handler' );
function my_bbp_new_topic_handler( $action = '' ) {
/* copy of bbp_new_topic_handler and your changes */
}
Hi, I havn’t notices your answer earlier.
I installed bbPress as a try, but when I noteiced that it screwed up the roles I took it away, but to no use, and that is the situation today.
Configuration:
4.01
Responsive by CyberChimps
Plugins
Advanced Access Manager
Aksimet
Clef (i just took it awy but not differnce)
Contact Form
Download Monitor
Exportez les données utilisateurs.
Facebook
FooBox Free Image Lightbox
iFeature Slider Free
MailPoet Newsletters
Photo Gallery
Responsive Add Ons
Shortcodes Ultimate
Spreadsheet
TablePress
The Events Calendar
UpdraftPlus – Backup/Restore
WP Super Cache
I am 100%sure that the problems arrived with bbPress.
Today I am the only with admin rights, but I the user list I am given the role as Keymaster but as said, I am defacto an Administrator.
NOte that Administrator does not exisit in the list !!!
For the others, I can give them the roles as keymasters but defacto they rights will not be higher than Editors.
NOTE that bbPress is not intalled but the roles availbel are (a mix of English and French):
Keymaster
Participant
Moderator
Blocked
Spectator
Abonné (French)
Contributeur (French)
Auteur (French)
Editeur (French)
Thankful for all help because I really must give the roles as editors to some more peoples.
Hans
Indeed passwords are 100% converted and working now, I also removed that from the codex article 🙂
With the updated importer “Buzz” will be set as a “category”, with bbPress 2.5.4 “Buzz” would have been imported as a “forum”.
Apologies, that first reply above was spam 🙁
I presume you ran each of the repair tools after import? (Tools -> Forums), if you haven’t ran these, run each of them and you might be all set without going into the database.
If you have run the repair tools then at this stage I can really only suggest you dive into the database again to have a look at what is going on….
Some tips:
– bbPress 2.x uses custom post types, in the wp_posts table you should see three post types forum, topic and reply in the post_type column.
– If you look at one of your replies in the wp_posts table you should be able to get the post ID of the parent topic by looking at the post_parent value of the reply your investigating.
Thanks for your reply @netweb
So password conversion works in the import, but the codex doc still says otherwise?
Side note while testing, I noticed forum links like this
Permalink: http://www.mydomain.com/blog/forums/forum/buzz/press-stand/
I don’t understand why there’s /forums/forum/buzz.. ?
“Buzz” is set as category, press-stand as forum. Buzz has no parent but is a parent to press stand.
1. Custom vBulletin BBCodes are not supported eg. [youtube] – You will have to manually change these yourself either before importing in vBulletin or after importing into bbPress using phpMyAdmin.
Indeed this is now fixed to work with vBulletin’s default YouTube BBCodes:
Specifically the two following BBCodes are the only ones supported (many vB forums used to use custom BBCodes and this was primarily the main issue here)
// Replace '[video=youtube;$1]$2[/video]' with '$2"
// Replace '[video=youtube_share;$1]$2[/video]' with '$2"
For example [video=youtube;eOUq4Z6R7xI]http://www.youtube.com/watch?v=MfW2UJMIQvQ[/video] will be replaced with just the YouTube link http://www.youtube.com/watch?v=MfW2UJMIQvQ, bbPress (and WordPress) will automatically embed the video using the direct URL.
2. All ‘Ordered Lists’ will be displayed as numerical lists.
This is also fixed
3. You may find extra page breaks <br> and paragraph <p> elements in topics and replies and is less than ideal and is from the way the BBCodes are converted during the forum import conversion. You will find these primarily around ‘blockquotes’ and ‘lists’
This is fixed also 🙂
#1 If I create the exact bbcodes in BBPress prior to the import, I assume this would rectify this area correct?
Yes, modify your custom BBCodes to either a) Match the supported vBulletin BBCode above or b) completely strip the vBulletin BBCode so just the YouTube link remains 🙂
I have updated the codex article and removed quite a few things that were listed there that are now fixed including full support to convert user passwords and the items in red in this image are fixed and/or supported 🙂
With that said “some” of these features are not in the currently shipped bbPress 2.5.4 such as Forum and Topic subscriptions and guest/anonymous topic and reply support, I’m going to post an announcement here on the site in the coming day or two on the improvements and where and how to get this test release.
I came up with writing my own solution.
I’ve put that right after <?php do_action( ‘bbp_theme_before_topic_title’ ); ?>.
It checks if I wrote @pd@ in the thread title and adds based on other keywords images to the title and replaces it.
$sTitle = bbp_get_topic_title();
$bIsPred = strpos($sTitle, "@pd@");
if($bIsPred === false)
{
<a class="bbp-topic-permalink" href="<?php bbp_topic_permalink(); ?>" title="<?php bbp_topic_title(); ?>"><?php bbp_topic_title(); ?></a>
}
else
{
// check for other keywords in sTitle
}
see if this helps
https://github.com/robkk/bbPress-Hierarchical-Forum-and-Category-Layout
download the .zip file and upload the loop-forums.php file to your bbpress folder in your child theme.
you create a category by create selecting new forum in the WordPress backend and changing the type to category.
to put forums under each category make sure all the forums you want under a specific category has the parent as that category
the docs should help out alot for learing how to use a child theme for your bbPress installation
Codex
@korobochkin
in the trac they are trying to add this feature and at least an option to disable it.
-started 2010 -last reply 3 months ago
https://bbpress.trac.wordpress.org/ticket/1430
if you do not want pingbacks and trackbacks remove any code that is for the comments section when you create a bbpress.php and see if that fixes it.
https://codex.bbpress.org/theme-compatibility/getting-started-in-modifying-the-main-bbpress-template/
@elenams
i thought i replied to this one..
pretty much the plugins stlye.css file will get you headed into styling bbPress the way you want it.
you copy the style.css file from the bbPress plugin folder and put it into a folder called css in your child theme then edit the new style.css file from there.
if its just small changes you can also put it into a custom css plugin of your choice.
more information on styling bbPress.
https://codex.bbpress.org/theme-compatibility/
bbPress Styling Crib
Step by step guide to setting up a bbPress forum – part 2
this is not CSS its mostly PHP
from what it looks like just copy the templates the userpro plugin author gave you and place it a folder called bbpress in your child theme. the url to it should be wp-content/themes/avada-child/bbpress.
more info about bbpress theme compatibility
https://codex.bbpress.org/theme-compatibility/
info on creating a child theme
https://codex.wordpress.org/Child_Themes
thats not CSS at all …most of its PHP
it seems like you just put the PHP files that the userpro plugin author gave you and put it into a directory named bbpress in a child theme and it should work fine from there.
so the url to the directory should be wp-content/themes/avada-child/bbpress
if you havent created a child theme , here hows to
https://codex.wordpress.org/Child_Themes
more about bbPress theme compatibility
https://codex.bbpress.org/theme-compatibility/
anything in the style.css file really.
more info on styling bbPress.
Step by step guide to setting up a bbPress forum – part 2
bbPress Styling Crib
reading the rest of the docs wont be bad to read either 🙂
Codex
Hi,
Topics and Replies that have been edited are showing duplicate entries for each actual revision. Example (see the 3rd post): http://cancergrace.org/topic/webmaster-tests
See the 3rd post – it should only be showing 3 revisions, but they are listed twice for some reason. Nothing has changed on my end and I don’t believe I added any hacks to this part of the code, other than some CSS.
I’m not exactly sure when this started, but I believe it may have been when my WPMS was updated to 4.0.1, while running bbP 2.5.4-5380.
Thanks for any tips on how I might resolve this.
-Mark
Hello!
Paragraphs in posts have stopped working.
The paragraphs or new lines I create in the editor don’t show up when I submit the post. Instead, all the text is merged together, making it much harder to read.
Does anyone clever have some sort of magical solution to this very frustrating problem?
Thank you my friends!
———————————————————–
I wonder if it has anything to do with a recent fix I used for the forum search….
I added “bbpress.php” into my child theme. This file can be downloaded here: https://gist.github.com/mattyza/1b01583441b11c8d04d0
Add the following code into my “functions.php” file: https://gist.github.com/mattyza/f210cadb7f70188d513d
The bbPress Codex is back up and runninng for the users listed in @JJJ’s post abbove, a couple more tweaks are needed to fix a couple of outstanding issues.
@robkk I’ve added you as an Administrator, @robin-w you are also an Administrator now 🙂
If you have any questions please drop by the #bbPress Slack channel 🙂 https://chat.wordpress.org