Default output looks like
<span class="bbp-admin-links">
// inside different classes of links
</span>
I would like change it to
<a class="button"></a>
So I want to delete span from output and use one style for each <a> link, if its possible.
And the thing is – I could do it by modifying forum files, but after update it will be overwritten. So I want to use bbpress functions php file to change output, but I don’t know how. I hope I’ve explained it well 😛
Hi
Bit of a beginner here so forgive me if I’m asking something which should be obvious!
I have installed BBpress on my wordpress site but when I click on the forums tab on the wordpress dashboard it seems the link is broken. It takes me to a “HTTP 500 error” default screen. I can click on “New forum” but not “All forums”. Similarly when you click on any of the forum links on the homepage, even those links appear broken as you don’t land on that forum. Even then, I get the same HTTP error. Any ideas?
Is there a way to add a list of topics users are subscribed to on a page so they can manage it?
I created a custom profile editor so they don’t go into the wordpress backend when users click on their forum gravatar seemed to be default on my installation. Or is there a front end profile editor I can use like in this forum (I can’t seem to find a plugin or anything for it)
my permalinks are set to month & name. my .htaccess has only the default WP rewrite rules. I have bbPress 2.5.12, jetpack 4.7, and woocommerce 2.6.14.
When i visit mysite/forums/topic/* I get my topic.
When i visit mysite/forums/user/admin I get the admin profile.
When i visit mysite/forums/user/anyone-else I get the site homepage.
This works wether I am logged in or out. I have no security plugins or cache plugins.
Please: Why is this happening and how do I fix it?
I think also the “forum info” is a good widget to have in default instalation of bbpress.
I want this also. Maybe a lot of people love this.
Is not possible made a default widget with these information for the next versions of bbpress?
it may be a conflict ot it could be a theme or plugin issue
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
as a test switch to a default theme such as twentyfifteen, and see if this fixes.
Same error here, this happens because of this code
$post_stati = $posts_query->get( 'post_status' );
// Default to public status
if ( empty( $post_stati ) ) {
$post_stati[] = bbp_get_public_status_id();
in \includes\forums\functions.php on line 1800
there isnt an option within bbpress to do it but if you install https://buddydev.com/plugins/bp-default-email-notification-settings-control/ this and modify everyone to ahve no notifications it seems to stop it.
The notificatiosn are still a bit of a mystery to me tbh. they seem to be queued somewhere but i have not had time to look into it. installign that plugin and deactivating all notifications worked for me.
hi I am still confused, where is my default styling? I have your pack
http://my-impressionz.cu.cc/forums/
Here’s the list of names as set by default: http://hookr.io/functions/bbp_get_dynamic_roles/
You should be able to use:
$roles = bbp_get_dynamic_roles();
$print_r( $roles );
to see what the names of your roles are.
I am trying to replace all the topics in a specific forum with the new topic form whenever I press on the Create New Topic button.
Then I tried to ajaxify it using the shortcode [bbp-topic-form], but the form didn’t showed up…
In the functions.php I have added this:
wp_enqueue_script( 'script', get_stylesheet_directory_uri() . '/js/topicButton.js', array ( 'jquery' ), 1.1, true);
wp_localize_script( 'script', 'script', array(
'ajaxurl' => admin_url( 'admin-ajax.php' )
));
..
..
add_action('wp_ajax_script', 'scriptfunc');
add_action('wp_ajax_nopriv_script', 'scriptfunc');
function scriptfunc() {
echo do_shortcode("[bbp-topic-form]");
die();
}
The ajax file
(function($) {
function find_forum_id() {
var forumidval = document.getElementsByTagName("article")[0].id;
forumidval = forumidval.replace(/\D/g,'');
return parseInt( forumidval );
}
$(document).on( 'click', '.bbp-new-topic-button', function( event ) {
event.preventDefault();
forumid = find_forum_id();
$.ajax({
url: ajaxurl,
type: 'post',
data: {
action: 'scriptfunc',
forumid: forumid
},
beforeSend: function() {
$('.bbp-topics').remove();
},
success: function( html ) {
$('article').append( html );
}
})
});
})(jQuery);
It could be a theme or plugin issue
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
@JohnJamesJacoby
The problem is if you create a page with the same slug as your forum index and insert the forum index shortcode, this page will just be a page that happens to contain bbpress content. It isn’t a real bbpress page.
If you would like your index page (mysite.com) as your forum index how can you make that a real forum page? NOT just a page that contains bbpress content.
You can’t set your forum root index to nothing cause this will make default value (forums) to reappear. Of course you can 301 redirect /forums to index page. But as mentioned, this will display a page with forum content. NOT a real forum page.
Appreciate any kind of suggestions.
It could be a theme or plugin issue
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
if it looks like a theme issue then try
bbpress wp4 fix
or
bbpress wp4 fix2
yes it will get your admin back.
Then :
It could be a theme or plugin issue
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
This is in a file called form-anonymous.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
find
wp-content/plugins/bbpress/templates/default/bbpress/form-anonymous.php
Make a copy of this file, and put in in the directory called bbpress that you created above, so you end up with
wp-content/themes/%your-theme-name%/bbpress/form-anonymous.php
bbPress will now use this template instead of the original
and you can amend this
you will see that lines 26-29 contain
<p>
<label for="bbp_anonymous_email"><?php _e( 'Mail (will not be published) (required):', 'bbpress' ); ?></label><br />
<input type="text" id="bbp_anonymous_email" value="<?php bbp_author_email(); ?>" tabindex="<?php bbp_tab_index(); ?>" size="40" name="bbp_anonymous_email" />
</p>
Just delete this and save, and this field will not be shown
It could be a theme or plugin issue
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
Thanks for your reply.
This might seem obvious for the creator of bbpress. But it really isn’t. I think you need to drop the word “partner” cause that is really confusing.
Method 1:
This doesn’t do anything other than adds a page that you can add to your navigation. You could instead basically add a custom link to your navigation because the page itself isn’t displayed since you have the same slug as you set for forum root index. The default bbpress index will be displayed. Having a wordpress-page is just confusing since nothing added to that page is displayed.
Method 2:
This method doesn’t mention the slug at all so I presume the slug here is different then the one set as forum root index. Fine. Name your page anything and add anything along with the shortcode [bbp-forum-index]. There you have it. You think…
You think you have customized your forum index page. But in fact that page is just a non-bbpress page that happens to have bbpress content in it. How so?
1) Your breadcrumb forum index link will still display the default index page.
2) And if you use the bbp style pack to add login-logout-buttons to your navigation it won’t recognize your custom index page as a bbpress-page. (The buttons won’t display when option is set to only display on forum pages)
Maybe it’s just me, but If I create my own index page, of course I want that page to be the index page linked to in the breadcrumbs as well.
So. I’m struggling with the word “partner” here. In my mind it says a wordpress page can partner with bbpress and act as the forum index page. As a replacement not as an addition. It can’t be that you should have TWO different index pages, can it?
So, how do I create a custom forum index page that is recognized as a forum page and acts as the forum index page in the breadcrumbs?
Cheers!
Customize your Forums root. Partner with a WordPress Page and use Shortcodes for more flexibility.
What does this mean??
I’ve set the forums root to “forums”. Then I’ve created a WP-page with slug “forums” and included some shortcodes.
The WP-page is ignored, so content displayed on /forums is the bbpress default index page.
What does this mean: “Partner with a WordPress Page and use Shortcodes for more flexibility.”??
How do I replace the default index with a WP-page?
I just installed bbPress 2.5.12 on WordPress 4.7.2. I created a test forum with one topic. I haven’t changed any of the default settings. When I load the forum page, I get this:
Forums
by (Edit)
Search for: Home › Forums Forum Topics Posts Freshness Cardstock 1 1 1 hour, 55 minutes ago Cheryl
It looks just like a bunch of text with no formatting. Here’s the link: http://livelovecards.com/forums/
I haven’t tried disabling plugins because I have a lot of them and my site is subscription, so I don’t want to disrupt service. I’m hoping this is an obvious problem to someone out there.
Thanks so much for your help!
Darlene
I think it might be due to use of the ‘Full Width’ page template. There is a ‘default page’ template which i can choose while adding pages, but i don’t know the location of the .php file of that one.
It could be a theme or plugin issue
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 am looking to change the buttons in the default text editor to those that appear in the fancy visual editor. My audience is overseas and are familiar with the “microsoft word” style of buttons. I have tried Enabling the visual editor however am experiencing issues with inline replies. I actually prefer the default text editor as it strips out copied html, so really I just need so fancy buttons. Can I do so with css or create a filter to call the other toolbar instead of qt_bbp_topic_content_toolbar ?