@tovabora
You can also use this CSS to remove the breadcrumbs if the code @casiepa gave you doesn’t remove it.
Place this CSS anywhere you can place custom CSS like in your child themes style.css file or in a seperate plugin.
div.bbp-breadcrumb {
display: none !important;
}
While browsing your forums though I did come across these common theme style issues that are conflicting with bbPress.
Add both these CSS code snippets into your child themes style.css file or in a separate custom css plugin.
This CSS should fix the gray avatar on your forum profile.
#bbpress-forums #bbp-user-avatar .avatar {
float: none;
}
This should fix the avatars looking off in your forums.
#bbpress-forums a img.alignnone {
display: inline;
margin: 0;
}
Are you talking about the bbPress login widget??
The widget has configurable fields in it to customize the register and lost password urls, and you should be able to customize the widget in the widgets section in WordPress in its respective sidebar. You can add the urls of your woocommerce registration forms too.
If your theme hardcoded it or something, you might want to contact your theme author as to how to set it up since the urls are heading to forums/register and such.
@bob1361
You can just use BuddyPress since you have that installed.
Also try to leave the plugins that you want to keep activated. There are a couple plugins that you have that have similar functionality.
Groups
bbP Private Groups
BuddyPress
Voting system
WP ULike
bbPress Votes
bbcodes/shortcodes
bbPress2 BBCode
GD bbPress tools
Unread Posts
bbPress Go To First Unread Post
bbPress New Topics
bbPress Unread Posts v2
Quotes
bbP Quotes
GD bbPress Tools
Hello,
Customizer doesn’t save correctly when WP_DEBUG is enabled and bbPress is active.
With that I mean that the save button doesn’t change state after the AJAX call has been successful. This leads to a “navigation confirmation” alert after saving when trying to navigate away from Customizer.
I haven’t tested this without enabled WP_DEBUG, but bbPress also outputs the following notice:
Notice: bbp_setup_current_user was called incorrectly. The current user is being initialized without using $wp->init(). Please see Debugging in WordPress for more information. (This message was added in version 2.3.) in /...../wp-includes/functions.php on line 3784
WordPress version: 4.4-beta3-35590
Theme: Twenty Sixteen 0.1.20150828
Thanks!
@katiemeeks
Does this php code snippet help any?? Make sure to place this php code snippet into your child themes functions.php file or in a plugin that can hold custom php code snippets like the functionality plugin.
//display bbPress search form above sinle topics and forums
function rk_bbp_search_form(){
if ( bbp_allow_search()) {
?>
<div class="bbp-search-form">
<?php bbp_get_template_part( 'form', 'search' ); ?>
</div>
<?php
}
}
add_action( 'bbp_template_before_single_forum', 'rk_bbp_search_form' );
add_action( 'bbp_template_before_single_topic', 'rk_bbp_search_form' );
I mean when I click on “Reply” link under your post, it should instantly paste [b]casiepa[b], into reply field, so I can mention your name in the text.
To be honest, never seen this question before. Normally you want to explain there what it is without cutting the phrase 🙂
The only way I see right now would be a jQuery like this one (50 is limit):
<script type="text/javascript">
function bbppc_cut_forum_text {
jQuery("div.bbp-forum-content").text(function(index, currentText) {
return currentText.substr(0, 50) + '...';
});
}
</script>
Then don’t forget to wp_enqueue_script to have this running.
But I have NO IDEA what the impact will be on other pages !!! And I didn’t test it either, just a quick thought.
Pascal.
Strange … Did you follow what Robin explained ?
ok, the simplest way would be
Dashboard>forums>all forums and edit each forum
put the banner in the description
then download my plugin
https://wordpress.org/plugins/bbp-style-pack/
and tick item 6 Add Forum Description on the forum display tab
Thanks, Pascal. I had tried one of those suggestions yesterday, and it “broke” my theme, so I was a little afraid to try again. However, I found the last post in the second link you posted, with the link to the Github code – that bit of code worked a treat. Thanks again.
Hi Jeroen,
If you indicate in the widget the ID of the subforum, you don’t get the recent topics of the childs of this subforum ?
If not, you will have to check the php code of the widget and play with the loop or ask for some help from a developer. But maybe somebody else has ideas here ?
Pascal.
Hi,
To remove it, add this filter in a child theme or create a plugin out of it:
add_filter( 'bbp_no_breadcrumb', '__return_true' );
If you don’t want to do it yourself, you can always install a plugin like ‘bbP Toolkit’ and set it in the options.
Pascal.
Then probably the best thing is to create a standard wordpress page, add any text/images you want and below that use the correct shortcode like [bbp-forum-index] for all forums or [bbp-single-forum id=$forum_id] for a specific forum.
Check out https://codex.bbpress.org/features/shortcodes/ for the shortcodes.
If that is not what you are looking for, get back here.
Pascal.
Thank you – I would like a text box/ content/ code. My purpose on this particular forum would be to move the content from this page: http://discoversee.com/see-readers/ above the forum.
I would like the option to have content above each forum as they all have different purposes.
I dont want them to have to click over to that forum to know what the purpose of the forum is. Also to provide some text and direction on posting for organization.
Hello! I have install plugin bbPress. And after that at the top of the every page of site I have see breadcrumbs.
Help please! How to deactivate it? Maybe some php code to delete?
Forum link:
Форум туристический обстоятельный
Well, for your specific case, you would probably go with:
function bbptoolkitpc_shorten_freshness_time($return) {
$return = str_replace( "hour", "hr", $return );
$return = str_replace( "minutes", "min", $return );
return $return;
}
add_filter( 'bbp_get_time_since', 'bbptoolkitpc_shorten_freshness_time' );
add_filter( 'bp_core_time_since', 'bbptoolkitpc_shorten_freshness_time');
Pascal.
Hi,
The section is fine 🙂
You will have to change the regular expression inside, but the basic function would look like this:
function bbptoolkitpc_shorten_freshness_time($return) {
$bbptoolkit_short_fresh = get_option('bbptoolkit-short-fresh', false);
if ($bbptoolkit_short_fresh) {
$return = preg_replace( '/, .*[^ago]/', ' ', $return );
}
return $return;
}
add_filter( 'bbp_get_time_since', 'bbptoolkitpc_shorten_freshness_time' );
add_filter( 'bp_core_time_since', 'bbptoolkitpc_shorten_freshness_time');
Pascal.
Hi,
It depends if you want to play yourself with CSS like this:
.bbp-topic-content p,
.bbp-reply-content p {
font-size: 16px;
}
Or if you want Robin’s plugin that can do most of that for you : https://wordpress.org/plugins/bbp-style-pack/
Pascal.
Then I’m really out of ideas 🙁
What you could do is just delete all of it and restart from scratch : https://codex.bbpress.org/getting-started/testing-your-bbpress-installation/creating-a-test-site/
There is something wrong with your local installation… I have never created a local one, but immediately went to a provider to have an account (even the very basic one). Maybe someone else has some ideas here.
Pascal.
I’ve tried to use single-user.php instead of page.php to display user profile, following this: https://codex.bbpress.org/themes/theme-compatibility/template-hierarchy-in-detail/
But my single-user.php show posts, instead of user info. Why?
But did you put the [bbp-forum-index] shortcode on that page ?
Hi Casiepa and thx for your answer 🙂
I already tried this operation several times without results …
This is my activate extension :
Akismet, bbP private groups, bbp style pack, bbPress, bbPress Enable TinyMCE Visual Tab, bbPress Go To First Unread Post, bbPress New Topics, bbPress New UI, bbPress Quotes, bbPress Unread Posts v2, bbPress Votes, bbPress WP Tweaks, bbPress2 BBCode, bbPress2 shortcode whitelist, BBSpoiler, BuddyPress, BuddyPress Captcha, Emojin, GD bbPress Tools, Krown Portfolio, Mandrill For WordPress – Email form under Post, oAuth Twitter Feed for Developers, Revolution Slider, TinyMCE Advanced, User Role Editor, Widgets on Pages, WordPress Social Login, WP Emoji One, WP Maintenance Mode, WP ULike, WPBakery Visual Composer
Perhaps one is inconsistent ?
I modify CSS too, but i think it’s not a problem ?
Hi Rhonda,
Never give details in here as millions will see it when picked-up by search engines, I agree with that.
You say you created your own page for the forums. What did you put in it ? Did you put and [] shortcode ?
Pascal.
Nevermind, I traced to problem back to other code that’s using a bbpress filter and causing this issue.
Yep, the default theme there’s no topic display issue (tested before I posted here.) Just wondering if there was a standard code snippet that should be included in any template in order to get bbpress (wasn’t thinking it would be terribly different from template to template.) Since it’s a pro template, at least I can give their support forum a shot.
Anyone out there w/a similar theme conflict issue, how did you resolve it?
I am so very frustrated…I am getting very very close to completing my website and getting it out in cyberspace…but one problem I am having is that I cannot get the forum in bbpress to work correctly…I have buddypress set up as well and it is working fine…I created a forum page which is showing as a child page under my “community” tab in the main header menu…when going to the forum page there is nothing at all except what I wrote when creating the page…by tutorials I have seen there should be other things showing such as “topics” and “replies” and there is nothing showing up…please help I am so so frustrated…is it that my theme doesn’t support it or do I have to break into code…Also I am afraid to send my login info or any other private info as not sure who all is seeing it….I will be checking back later tonight…I will probably be stuck on this all night as I am determined to figure this out!! Thanks, Rhonda