this <div id=”bbpress-forums”> is used in several places – if you can describe where you want to add, I can probably find the right hook for you.
Most of the hooks are in the templates, located in
templates/default/bbpress/
the main forum uses
content-archive-forum.php
which has an action hook of
‘bbp_template_after_forums_index’ so if it just the main forum list then
add_action( 'bbp_template_after_forums_index' ,'after_content_hook');
#
would work
@sovvyg Please delete and reinstall the latest version of bbPress plugin. Also please clear the autoptimize cache that you are using on your site.
This can be your theme issue so to confirm it just temporary use the default WordPress theme like Twenty Seventeen on your site. If everything works fine then it’s your theme issue.
We have encountered an issue whereby when multiple forums are placed on a page, using the [bbp-single-forum id=##] shortcode, the HTML buttons do not appear for all but the 1st forum. The class=”quicktags-toolbar” div still appears, but it is empty (the HTML input buttons do not appear within the source HTML).
This issue has been confirmed on multiple installs, with all plugins disabled and using the default WP theme.
Here is a screenshot example: https://imgur.com/rqPiXa6
The shared Elegant Themes support topic page is not accessible for us as it is members only.
As this functionality works fine with default WordPress 2015 theme so it is not bbPress plugin issue. This seems conflict issue with Divi theme, may be due to not following WordPress standards so please contact the theme author to resolve the issue in the theme.
This can be your theme issue used on your site so to confirm it just temporary use the any default WordPress theme like Twenty Seventeen theme on your site. If everything works fine then it’s theme issue.
I have tested it on my test site and it’s working fine for me using latest version of bbPress plugin.
Please make sure you are using latest version of bbPress plugin.
This can be your theme issue on your site so to confirm it just temporary use any default WordPress theme like Twenty Seventeen theme. If everything works fine then it’s your theme issue.
Also this can be due to plugin conflict on your site so please try temporary deactivating all plugins except Unyson plugin and see whether everything works fine and then enable the plugins one by one to see which plugin is conflicting if any.
Could you please share me your site URL where it’s happening so that i can troubleshoot it?
You can just hide it using below custom CSS code on your site as described here http://freewptp.com/how-to-use-custom-css-in-wordpress-site/
#bbpress-forums fieldset.bbp-form label[for="bbp_anonymous_website"],
#bbpress-forums fieldset.bbp-form #bbp_anonymous_website {
display:none;
}
Or you can overwrite following bbPress template file in your child theme and remove website field code from it.
/bbpress/templates/default/bbpress/form-anonymous.php
can only give you the area for html
so two files
wp-content/plugins/bbpress/templates/default/bbpress/form-topic.php
wp-content/plugins/bbpress/templates/default/bbpress/form-reply.php
create a directory on your theme called ‘bbpress’
ie wp-content/themes/%your-theme-name%/bbpress
where %your-theme-name% is the name of your theme
Make a copy of the two files above, and put in in the directory called bbpress that you created above, so you end up with
wp-content/themes/%your-theme-name%/bbpress/bbpress/form-topic.php
and
wp-content/themes/%your-theme-name%/bbpress/bbpress/form-reply.php
bbPress will now use this template instead of the original
and you can amend this
Suggest your html/php needs to replace
<?php bbp_the_content( array( 'context' => 'reply' ) ); ?>
but you’ll need to work out exactly how yourself !!
In the spirit of sharing stuff, if you work it out, please post the solution to this thread !!
ok, you have two choices
either use the default wordpress lost password and register
http://mysite.com/wp-login.php?action=lostpassword
http://mysite.com/wp-login.php?action=register
obviously changing the ‘mysite.com’ to your sites name
or create pages within your site and use the bbpress shortcodes
and then reference the page url
eg create a page called ‘password’ and have it’s permalink as say ‘password’ and put
[bbp-login]
as the page content (you can precede this with any text you like, or have text after) eg
Lost you password?- enter your email and we'll send a new one straight to you
[bbp-login]
Then in the widget you would put
http://mysite.com/password/
you can do the same with [bbp-register] to display the register screen.
ok, you’ll need to do some elimination
Plugins
Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
Themes
If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentyfifteen, and see if this fixes.
Then come back
I had a lot of trouble getting registration to work on my site until someone told me my host doesn’t support “membership plugins” which I think means I can’t make login and register pages with short-code like [bbp-login]. So to log people in I just use the default WordPress login. I put “/wp-admin” at the end of my domain to load the page. Then I made a custom link to load it and did the same for register and reset password. Now people can log in and post.
I am getting a HTTP ERROR 500 when I click on a Forum e.g.: https://ebps.org.uk/forums/forum/biology/
If I click on a post – it works, i.e: https://ebps.org.uk/forums/topic/sporangia-under-the-microscope/
If I click on “All Forums” from the dashboard, I get the 500 error
If I click on “NEW Forum” it works
The error_log says:
functions.php:1800
Stack trace:
#0 /var/sites/e/ebps.org.uk/public_html/wp-includes/class-wp-hook.php(298): bbp_pre_get_posts_normalize_forum_visibility(Object(WP_Query))
#1 /var/sites/e/ebps.org.uk/public_html/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array)
#2 /var/sites/e/ebps.org.uk/public_html/wp-includes/plugin.php(515): WP_Hook->do_action(Array)
#3 /var/sites/e/ebps.org.uk/public_html/wp-includes/class-wp-query.php(1683): do_action_ref_array(‘pre_get_posts’, Array)
#4 /var/sites/e/ebps.org.uk/public_html/wp-includes/class-wp-query.php(3248): WP_Query->get_posts()
#5 /var/sites/e/ebps.org.uk/public_html/wp-includes/class-wp.php(617): WP_Query->query(Array)
#6 /var/sites/e/ebps.org.uk/public_html/wp-includes/class-wp.php(735): WP->query_posts()
#7 /var/sites/e/ebps.org.uk/public_html/wp-includes/functions.php(955): WP->main(”)
#8 /var/sites/e/ebp in /var/sites/e/ebps.org.uk/public_html/wp-content/plugins/bbpress/includes/forums/functions.php on line 1800
This is the code
1793 /** Default ***********************************************************/
1794
1795 // Get any existing post status
1796 $post_stati = $posts_query->get( ‘post_status’ );
1797
1798 // Default to public status
1799 if ( empty( $post_stati ) ) {
1800 $post_stati[] = bbp_get_public_status_id();
Any ideas?
Just to be clear, I’m using bbPress to make my forums and I assume the big white capital “W” in the blue circle stands for WordPress which is why I think it must be a default login screen.
Hello –
I want my regular blog sidebar to show up on all my forum pages, but for some reason it just won’t appear. If I switch to a different theme, the sidebar appears in most of them, which tells me the bbpress scripts are probably fine.
In my staging area I added a plugin that adds the sidebar to pages (which is not the default for Twenty Seventeen). That worked fine for regular pages – but still no blog sidebar in the forums. So that’s not the issue.
My website is: http://qwinnmods.com/
The forum I’m trying to fix is: http://qwinnmods.com/forums/forum/dragon-age-origins-fixpack-forum/
As you can see, the forum width is very narrow, plenty of room for a sidebar, but nothing shows up.
I do have coding experience and am not afraid to try it, I just don’t see how, if the sidebar shows up in the forums when I try it with other themes, why it wouldn’t show up in this theme. So mucking about with child themes or bbpress scripts doesn’t logically seem like it would make a difference.
Thanks in advance for any help.
The site that hosts my wordpress site told me that they don’t allow membership plugins on wordpress sites. So I can’t make login and register pages and put shortcode in them which is what many people do. My host says users can register and login via a different window which they sent me a picture of. I don’t know how to do an attachment so I’ll describe it. There’s 2 text boxes. The first one is “Username or email address” and the second one is Password. Above the small window is a big white capital W in a blue circle. Below the window is “Register” and “Lost Password”. I assume this is a default login window. This is what my host wants me to use. How do I set this up? Thanks.
Make sure you’ve created a custom page titled “new topic” with a friendly url of “new-topic”
Place the new shortcode we registered into this page:
[wpmu_bbp_topic]
This will automatically display contact create form of the selected forum if ID exists in the URL otherwise fall back to default shortcode.
You can see it in action on my site:
happy deepavali images 2017
Make sure you’ve created a custom page titled “new topic” with a friendly url of “new-topic”
Place the new shortcode we registered into this page:
[wpmu_bbp_topic]
This will automatically display contact create form of the selected forum if ID exists in the URL otherwise fall back to default shortcode.
You can see it in action on my site:
happy deepavali images
How to avoid user/visitor when use register page and login page of bbpress and fill not correct validate at same page with information which one is not correct.
default bbpress login and register is redirect to wp-login
is any way to customize wordpress login register page?
I ended up having to dig this snippet backup for a new project and made some tweaks.
@struth Updated to only output if user is logged in.
/**
* Generate BBpress Edit Profile Link in a shortcode
*
* @param $atts, text|class
* @example [bbp_edit_profile text="Edit My Profile" class"my-link-style"]
* @return string|void
*
*/
function bbp_edit_profile_link( $atts ) {
//If user isn't logged in, return nothing
if(!is_user_logged_in()) {
return;
} else {
extract( shortcode_atts( array(
'text' => "", // default value if none supplied
'class' => "" //Style class for link
), $atts ) );
if ( $text ) {
$current_user = wp_get_current_user();
$user = $current_user->user_login;
return '<a class="' . $class . '" href="/forums/users/' . $user . '/edit">' . $text . '</a>';
}
}
}
add_shortcode( 'bbp_edit_profile', 'bbp_edit_profile_link' );
Hi!
Im using buddypress and wordpress in general with bbPress. I want to know if somebody knows a way to give ALL forums a set of default topics. So for every new buddypress group if there is a new forum they already have a basic set of topics. Anyone know how to achieve this without setting it up yourself everytime a new group is added or a new forum is being created.
JCParticipant
Hello all, I’m using WordPress 8.0 and bbPress2.5.13.
I have added this function to add the visual tab to the editor:
function enable_visual_editor( $args = array() ) {
$args['tinymce'] = true;
return $args;
}
add_filter( 'bbp_after_get_the_content_parse_args', 'enable_visual_editor' );
When I signed in as admin is everything OK, the editor tab is selected by default and I can start to type. However, when I do as a participant no tabs are selected and I have to select one of them in order to start to type. This is not intuitive at all for participants that want to write a post in the forum and eventually they will leave.
Why is happening that? Can anyone give me support? Thank you in advance 🙂
Hey there … I got mine working.
There is a file in the bbPress plugin folder
plugins > bbpress > templates > default > js > reply.js
On line 18, there is a line of code that is throwing a JavaScript error every time the “reply” link is clicked.
reply.parentNode.insertBefore(respond);
I basically commented this line of code out, and threaded replies are working again.
I have no idea if this line is needed, but it got rid of the error, and there are no new errors to speak of.
I wish a plugin developer would chime in here, but that doesn’t seem likely.
I hope this helps you.
If anyone else reading this know what this line does, and why it was causing the error, please let us know.
Okay so I copied the code from my page.php and made a bbpress.php
<?php get_header(); ?>
<div class="content">
<!-- Sidebar With Content Section-->
<?php
$ultimate_kickoff_wrapper = 'container';
$ultimate_kickoff_theme_option = get_option('ultimate_kickoff_admin_option', array());
if(isset($ultimate_kickoff_theme_option['enable-boxed-style']) && $ultimate_kickoff_theme_option['enable-boxed-style'] == 'wide-style'){
$ultimate_kickoff_wrapper = 'container-fluid';
}else{
$ultimate_kickoff_wrapper = 'container';
}
if( !empty($ultimate_kickoff_content_raw) ){
echo '<div class="vc-wrapper '.esc_attr($ultimate_kickoff_wrapper).'">';
while ( have_posts() ){ the_post();
if( has_shortcode( get_the_content(), 'vc_row' ) ) {
echo ultimate_kickoff_content_filter(get_the_content(), true);
}
}
echo '</div>';
echo '<div class="pagebuilder-wrapper">';
ultimate_kickoff_show_page_builder($ultimate_kickoff_content_raw);
echo '</div>';
}else{
echo '<div class="'.esc_attr($ultimate_kickoff_wrapper).'">';
$default['show-title'] = 'enable';
$default['show-content'] = 'enable';
echo ultimate_kickoff_get_default_content_item($default);
echo '</div>';
}
?>
</div><!-- content -->
<?php get_footer(); ?>
My theme options aren’t showing when I try to edit the forum.
ok, I can’t see why on a default theme with no other plugins it should not work.
I am currently suspecting wplms is turning it off.
In any event, clicking the freshness profile just goes to the home page, so something is affecting your site.