I want to use bbpress in sub-site network.
I was able to install it, create a forum and display it on [bbp-forum-index], but when I click on the permalink to display it, I get an error that not even wordpress itself is loaded. Please let me know if you know a solution.(I cheked it run correctly in main site)
this is the code what I can show the forum page
<html>
<head></head>
<body></body>
</html>
yes I suspect it is wordpress update.
as a punt, try this – I have low hopes of it working 🙂
function fnctn_add_thickbox () {
add_thickbox();
}
add_action ( 'wp_enqueue_scripts','fnctn_add_thickbox' );
Put this in your child theme’s function file –
ie wp-content/themes/%your-theme-name%/functions.php
where %your-theme-name% is the name of your theme
or use
Code Snippets
ok, it is a theme issue.
2 further things to suggest
you could look at this
https://codex.bbpress.org/step-by-step-guide-to-setting-up-a-bbpress-forum/ item 8
and/or you could add this to your custom css
#bbpress-forums {
width: 90% !important;
}
Otherwise you need to reach out to the theme authors
Hi everyone,
global-wrestling.com/forum – I’ve embedded the forums here using the shortcode. however, if you click for example the ‘wrestling’ forum, you’ll note that it isn’t picking up the website layout.
I’ve tried editing topics, forums, login and newtopic in the pages section of WordPress in pagelayer, and it just comes up blank.
Can anyone help advise me how I embed the sub forums (i.e. wrestling, OOC, etc) into the website template?
Thanks,
Sc00t
I need help. It loads it, but it breaks the website. It seems to add code in the #main DIV of the site, causing it to lose all the full width element so the page on which I place it.
It’s applying “Boxed” as a class to the #main ID of the Container of the website homepage. The theme has a “Boxed” format, which puts spacing around it all, but we are not using that format.
It only does it when I apply that shortcode right at the bottom of the homepage though.
Iv’e no idea why
you can use the shortcodes
Shortcodes
I’ve created a page with bbpress shortcode for login, users will need to give their name and email information, but when they are directed to the registration page I set for them, they need to give the password, as a matter of fact, there is a no process when they have required a password, and no emails will be sent to their mailbox, I am confused.
The page needs support is https://eventmelt.com/
Hello,
I also have a question regarding the order of topics in a forum. For me it’s very easy, the topics should be sorted from the date they have been published (old to new) and stay that way. What code do I have to use?
Thank you!
Best regards
René
This really should be added to bbpress. In the meantime, you can use
https://YourDomain.com/wp-admin/profile.php
as a permanent link to a user’s profile. HOWEVER: This sends people to their WordPress profile page, not to the more friendly looking bbpress profile. It does still allow them to do all the changes to their settings though.
The easiest way is to create a ‘category’ forum as a holder
so if you had 3 forums related to say flowers and 3 forums to trees, you would add 2 new forums called ‘flowers’ and ‘trees’
so in dashboard>forums>add new when adding the forum in ‘forum attributes’ in the top right of the screen change the ‘type’ from ‘forum’ to ‘category’
then in each ‘flower’ sub forum you would edit these
dashboard>forums>select forum> edit and change the ‘parent forum’ (right hand side) to the category forum ‘flowers’
and repeat for trees.
then in your page use the forum category as the id
so if the flowers category was forum id 365 then the shortcode would be
[bbp-single-forum id=365]
since categories don’t have topics, just the forums show.
You might want to improve how they look by looking at this plugin
bbp style pack
and looking at the 3 first forum tabs. there’s lots of other useful stuff in that plugin as well.
Hi
I have 6 forums. I’d like to display 3 of them on one page and the other 3 on anoter page in WordPress. I thought that I could use the shortcode [bbp-single-forum id=32] but when using this, the single forum is added to the page but it’s already expanded showing all the topics within that forum. Is there a way to show single forums but in a collapsed format?
Thanks for any help that you can offer (I’m not a programmer, so please keep replies easy for a non techie 😀)
Thanks – David
It is not new. It is mine. And TinyMCE has not changed for several versions in WP so all I had to do is change readme.
If I deactivate mine then it just shows an error for EnlighterJS instead (which adds code buttons)
I don’t get this.
Look here:
Create New Topic
I am getting a message under the TinyMCE toolbar. My two icons are now showing either.
My code is very basic:
<?php
/**
* Plugin Name: Add AutoSave | Fullscreen to TinyMCE
* Description: This will install the TinyMCE AutoSave | Fullscreen Plugins (version 4.9.11) and register them with TinyMCE.
* Version: 2.1
* Author: Andrew Truckle
* Author URI: https://www.trucklesoft.co.uk/
**/
/**
* Add the TinyMCE AutoSave and Fullscreen Plugins.
*
* @param array $plugins An array of all plugins.
* @return array
*/
function aaft_custom_plugins( $plugins ) {
$plugins['autosave'] = plugins_url( 'mce/', __FILE__ ) . 'autosave/plugin.min.js';
$plugins['fullscreen'] = plugins_url( 'mce/', __FILE__ ) . 'fullscreen/plugin.min.js';
return $plugins;
}
add_filter( 'mce_external_plugins', 'aaft_custom_plugins' );
I don’t have a copy of this plugin, but given that calling these functions does by necessity involve specifying all the variables, I’d suggest you simply take out the='' in the function where it is erroring.
so in your example change
public function __construct ( $file = '', $version ) {
to
public function __construct ( $file, $version ) {
and do this for all the ones erroring
Recently upgraded to WP 6.1 and this plugin bbPress Advanced Statistics gives deprecation warnings when I have debug mode enabled:
The official website for the plugin seems dead now.
The warnings:
Deprecated: Required parameter $version follows optional parameter $file in /customers/e/9/c/publictalksoftware.co.uk/httpd.www/wp-content/plugins/bbpress-improved-statistics-users-online/includes/core/class.utils.php on line 25
Deprecated: Required parameter $version follows optional parameter $file in /customers/e/9/c/publictalksoftware.co.uk/httpd.www/wp-content/plugins/bbpress-improved-statistics-users-online/includes/core/class.utils.php on line 64
Deprecated: Required parameter $version follows optional parameter $file in /customers/e/9/c/publictalksoftware.co.uk/httpd.www/wp-content/plugins/bbpress-improved-statistics-users-online/includes/core/class.statistics.php on line 153
Deprecated: Required parameter $version follows optional parameter $file in /customers/e/9/c/publictalksoftware.co.uk/httpd.www/wp-content/plugins/bbpress-improved-statistics-users-online/includes/core/class.statistics.php on line 332
Deprecated: Required parameter $version follows optional parameter $file in /customers/e/9/c/publictalksoftware.co.uk/httpd.www/wp-content/plugins/bbpress-improved-statistics-users-online/includes/core/class.activity.php on line 98
Deprecated: Required parameter $version follows optional parameter $file in /customers/e/9/c/publictalksoftware.co.uk/httpd.www/wp-content/plugins/bbpress-improved-statistics-users-online/includes/public/class.online.php on line 86
Deprecated: Required parameter $version follows optional parameter $file in /customers/e/9/c/publictalksoftware.co.uk/httpd.www/wp-content/plugins/bbpress-improved-statistics-users-online/includes/public/class.extras.php on line 47
One example:
public function __construct ( $file = '', $version ) {
$this->init();
} // End __construct ()
I understand what it means, and I see that the parameter is ot used in the function. Dos that mean we just delete the parameter?
Another example:
public static function instance ( $file = '', $version ) {
if ( is_null( self::$_instance ) ) {
self::$_instance = new self( $file, $version );
}
return self::$_instance;
} // End instance ()
Problem here is that the version value is being used.
Advice appreciated.
from this article
https://www.tiny.cloud/docs/plugins/opensource/paste/
try this, otherwise I don’t have a further solution
//clean html when copy and paste into forum
function bbp_tinymce_paste_plain_text( $plugins = array() ) {
$plugins[] = 'paste';
$paste_word_valid_elements[] = 'b,strong';
return $plugins;
}
add_filter( ‘bbp_get_tiny_mce_plugins’, ‘bbp_tinymce_paste_plain_text’ );
Hi!
When our users copy emails into the forum all the HTML table code shows up in the published post (it’s fine in the editor itself though). I found this filter which I suppose cleans out all HTML when copying
//clean html when copy and paste into forum
function bbp_tinymce_paste_plain_text( $plugins = array() ) {
$plugins[] = 'paste';
return $plugins;
}
add_filter( ‘bbp_get_tiny_mce_plugins’, ‘bbp_tinymce_paste_plain_text’ );
I’m wondering if there’s a filter that would still allow bold to remain, but remove everything else?
Thank you in advance!
You can use the Yoast plugin to display breadcrumb!
wp-dashboard –> Yoast –> search appearance –> breadcrumbs and then aticate it.
later on you will have to add a code to header.php
@codejp3 thanks for all your efforts on this, much appreciated.
I have now incorportated your code into my plugin.
Great work 🙂
I’m been exploring different view shortcodes but I can’t make it seems to work.
I wanted to display both latest topics and most popular topics at the same time in the home page.
I use [bbp-display-topic-index show=’5′ forum =’10,11,12′] or [bbp-single-view id=’popular’] and [bbp-single-view] but only one view is showing up.
took me a few minutes to work it out !!
Try
.post-type-archive-forum p {
display: none ;
}
Thanks for the response I have read through the Codex. I knew i wasn’t being very clear lol.
I created a Board Admin Role in Memberpress and assigned the roles needed for wordpress permissions i wanted the role to have.
The problem is, I can clone Keymaster, which is a bbPress Role, but it doesn’t show up in Forum Roles dropdown, I can give forum permissions, but by giving edit user she can edit site admin, if i restrict edit user, she can’t manage users.
I am looking for a way to restrict access to upper-level site admin, while having certain admin, yet needs Full admin rights in Forum, but not the ability to accidentally delete or change higher admin roles and create or manage lower level bbPress forum roles.
Basically, I Need a MODERATOR Role with adjusted Admin Privileges and forum roles that can still perform role functions based on their level rather than just on or off, weighted capabilities with if statements that disables edit links or delete links unless the weighted role is below the administrator that is performing the tasks.
This needs to be something that each role has the same ability to adjust for each role, like you would have in tech support with tech support roles but 3 tiers of tech support levels vs customer service vs billing department. Customer Service and billing have access to user profile to view, however billing can only see user address and phone number and payment information, customer service can only see name, phone, email, previous tickets, plan type and tier 3 tech support can see everything that customer service can see plus ipaddress, database, files where tier 2 can see tier 3 level plus has the ability to backup or reboot, where tier 1 can see and do everything… except travel agency type stuff with boards.
bbpress has roles of keymaster, moderator, participant, spectator and blocked – see
bbPress User Roles and Capabilities
The rest of the above is either roles that you have created or come with memberpress, or roles that don’t exist but that you want – it’s not quite clear which 🙂 – please come back with further info.
so is a ‘secondary keymaster’ a concept you want, or something that you have created or exists in memberpress???
If you want to create a new memberpress role then the capabilities in the link above might help.