Hello. I have bbpress forums setup on http://class.mistblogs.com/forum. This page shows the default theme header,but when I click on a forum or forum topic,the header is not being displayed. Is there any way to show the theme header? Thank you.
Hi Stephen – many thanks for your lengthy and considered reply. You are right that a lot of the php MySQL is over my head
I believe that the issue is that between 1.5.9 and 1.6 of kunena, the layout of the database changed in more ways than renaming the tables and therefore my old-style database won’t work. My information is in the jos_fb_ format
I have tried updating Kunena to a 1.6.x version however I’m hitting other problems with that –
Uncaught Exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘TYPE=MyISAM AUTO_INCREMENT=9 DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci’ at line 9 SQL=CREATE TABLE jos_kunena_version
( id
int(11) NOT NULL AUTO_INCREMENT, version
varchar(20) NOT NULL, versiondate
date NOT NULL, installdate
date NOT NULL, build
varchar(20) NOT NULL, versionname
varchar(40) DEFAULT NULL, PRIMARY KEY (id
) ) TYPE=MyISAM AUTO_INCREMENT=9 DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci.
I believe I need to change TYPE to ENGINE and have found one set of instructions for that, but they do not work so I’m backed into a different corner.
I put up a post on the kunena forum asking for help, even if I have to pay a few bucks for that – but really I only need the old database content to be transferred into the new database in the correct format, the rest of the site is to be scrapped – is it possible that the database tweaks can be done independently from upgrading the kunena installation? or can I tweak the importer to work with the jos_fb_ version – I don’t have the skills to do that but I suspect it’s a major job and probably unfeasible.
Your importer clearly works as intended and thank you for making it available, the problem I believe is most likely to be upstream but I won’t know until I can sort that bit out. Unless there is a way to make the database transfer (I can pay a wee bit) I’m not quite sure where to go next.
Many thanks
Paul
I’m not familiar with exactly what you need but bbPress JavaScript files typically live here:
/wp-content/plugins/bbpress/templates/default/js
for the following 5 files:
editor.js
, forum.js
, topic.js
, reply.js
& user.js
The following should work, a few CSS & JavaScript changes came with bbPress 2.5 😉
add_action( 'wp_print_styles', 'deregister_bbpress_styles', 15 );
function deregister_bbpress_styles() {
wp_deregister_style( 'bbp-default' );
}
This is a start…
https://gist.github.com/ntwb/8037110
add_filter ( 'bbp_before_has_search_results_parse_args', ntwb_bbpress_custom_search_results);
function ntwb_bbpress_custom_search_results() {
$default_post_type = array( bbp_get_forum_post_type(), bbp_get_topic_post_type(), bbp_get_reply_post_type() );
$args['post_type'] = $default_post_type;
$args['orderby'] = 'date';
$args['ignore_sticky_posts'] = 'false';
$args['order'] = 'DESC';
return $args;
}
Just need to work out how to parse the other $args :/
https://bbpress.trac.wordpress.org/browser/trunk/includes/search/functions.php
https://bbpress.trac.wordpress.org/browser/trunk/includes/search/template.php
Hi, I want to disable the default bbpress .css file. I searched through the forums and found several solutions, but none seem to work.
I used to deregister bbp-default-bbpress with the code below, but that doesn’t work anymore after the WP 3.8 upgrade.
add_action( 'wp_print_styles', 'deregister_bbpress_styles', 15 );
function deregister_bbpress_styles() {
wp_deregister_style( 'bbp-default-bbpress' );
}
WP 3.8
bbpress 2.5.1
Thanks!
Currently the new feature (bbPress 2.5) of Subscribe to Forum returns plain text email. Perhaps this was a conscious decision to implement it in that way. I’d implore either changing the content-type default to TEXT/HTML or be given an option within the admin settings.
Typically you would only need to add the following:
add_filter('wp_mail_content_type',create_function('', 'return "text/html";'));
…before @wp_mail
Have you created the topic using the form that’s part of the forum, or using the administration panel? If I use the administration panel, everything is saved as it should; however, when I use the submit form in the forum, characters get converted to HTML entities.
I tested it using a clean installation of the latest version of WordPress with the default theme where the only plugin installed was bbPress, with exactly the result I have described above.
or just change the link towards the WP profile edit:
bbpress 2.5.1 on line 65 in bbpress/templates/default/bbpress/user-details.php
You can try the ‘Remap existing users to default forum roles’ repair tool to see if that fixes the bbPress Roles: https://codex.bbpress.org/repair-forums/
I had a quick look at https://wordpress.org/plugins/role-scoper/ and they make no specific mention of supporting bbPress’ ‘Dynamic Roles’ and that could be where the core of the issue is.
Yes, Role Scooper is the issue and it appears there will be no longer further development or support:
https://wordpress.org/plugins/role-scoper/faq/
With the production release of Press Permit, is Role Scoper still supported?
Basic Role Scoper support (bug fixes but not necessarily plugin conflict resolution) will be provided while WP 3.6.x is the active WordPress version. Compatibility with WP 3.7 and beyond is not assured, as I do not plan any further unfunded development of the Role Scoper code base. Further development and support will be available on a consulting basis as indicated on agapetry.net, but I will encourage migration to Press Permit – a superior platform with a sustainable funding model.
The good news is the new plugin ‘Press Permit’ does support bbPress’ Dynamic Roles 🙂
https://wordpress.org/plugins/press-permit-core/
Customize bbPress forum permissions
As it is used in many spots I would suggest you add the translation now.
Most of these translations only happened in the past two days so I would expect you won’t have to wait long for the translations to be updated.
Once you translate that string fill out this form https://he.wordpress.org/contact/
More info is also here in Hebrew https://he.wordpress.org/translate-wordpress/
It might be in form-forum.php (bbpress/templates/default/bbpress)
It has these lines, have not tried it and be sure to have a backup:
<p>
<label for="bbp_forum_type"><?php _e( 'Forum Type:', 'bbpress' ); ?></label><br />
<?php bbp_form_forum_type_dropdown(); ?>
</p>
<?php do_action( 'bbp_theme_after_forum_form_type' ); ?>
<?php do_action( 'bbp_theme_before_forum_form_status' ); ?>
<p>
<label for="bbp_forum_status"><?php _e( 'Status:', 'bbpress' ); ?></label><br />
<?php bbp_form_forum_status_dropdown(); ?>
</p>
It looks like “Topic Status” has not been translated yet 🙁
Hebrew 91% Translated 943 Strings Translated 92 Strings untranslated
https://translate.wordpress.org/projects/bbpress/dev/he/default?filters%5Bstatus%5D=untranslated&sort%5Bby%5D=priority&sort%5Bhow%5D=desc
You could help by translating those 91 remaining strings and then fill out the form here and let them know “There are some strings for bbPress waiting to be validated”, once these are approved you can update your translations.
צרו קשר
Note: In the very near future any updated translations will arrive via WordPress’ automatic updates 🙂
My wp theme is Luminescence Lite. Bbpress is default.
If I ever get any issues like this then here is what I do in this order:
1. Go to settings > forums and then recalculate permissions
2. Go to the permalinks page
3. Start disabling plugins one by one to see if there is a plugin conflict
4. Disable my theme and activate a default theme (this is for front end issues).
Just wondering if anyone can tell me how I can add a user to participate in the bbpress forums, but not allow them access to sign on to my wp-admin panel. When the registration email is sent out, it includes in the default message the sitename/wp-admin for them to sign on. I don’t want my forum users to get routed there, but want them to just be sent back to the forum sign on page internally.
Any help? Am I missing something simple?
Ok so I’m using buddypress, and as I understand it subscribers to my website have the comments, buddypress, and bbpress all connected. So if you upload a avatar for one it’ll be used for all. As I understand it being on wordpress for a month.
Is there a (simple noob) way or plugin to get options on avatar sizes? And somehow get it to work for buddypress, bbpress, and comments. Or at least bbpress.
In other words if users upload a square avatar it’ll be square in the comments, buddypress profile, and bbpress since they’re all connected. Or if they upload a long rectangular one it’ll be long and rectangular everywhere also. I can settle for square in the comments but I really want long ones in buddy and bbpress.
Or would I have to change the code in buddypress, and in bbpress, and somehow for the comments as I think I do. If thats the case I only ask for help with the bbpress since this is bbpress support.
I know how to change the avatar size in buddypress from this article (though I haven’t tried it yet, I like to gather information then potentially ruin my site afterwards). http://premium.wpmudev.org/blog/how-to-change-the-default-buddypress-avatar-sizes/
Problem is I’m not sure if the cropping will still work if I change from square to rectangle as the cropping seems to only work in squares. So I found this article to deal with the cropping. http://offthewallmedia.com/programming/buddypress-crop-avatar-to-any-ratio Though I haven’t tested it yet.
So I just wanted to ask before I mess something up if there is a better way to accomplish all this or if there was a plugin or anything and if I change all these settings in buddypress would it be the same for bbpress andor the comments. Thanks for any help.
The creator/developer of bbPress or the Mods, can not help in translations, they just have to trust anybody whom submits a translation.
Kind of correct, all the translations are handled by the same translation process for WordPress
https://codex.bbpress.org/bbpress-in-your-language/
Using pt_BR
as an example if you take a look at: https://translate.wordpress.org/projects/bbpress/dev
You will see that Portuguese (Brazil) is at 94% translated, 975 strings translated and 60 strings untranslated.
@tvieira If you open this link it shows you the 60 strings that have yet to be translated for bbPress. You can update these strings yourself and then contact the Brazilian translator team via one of these links to get these translations approved. Once approved they should then become available via WordPress’ automatic updates in the very near future.
https://br.wordpress.org/contact/
https://br.forums.wordpress.org/
http://wp-brasil.org/
no, i mean the default loaded for people who don’t have a gravatar. the one that is assigned by bbpress. I know how to change my gravatar
Hi all. is there some way for me to change the default gravatar image (mystery man) to something CUSTOM (i.e. that I made). There must be a way. i don’t like the generic image and i don’t want to usee one of the other gravatar images
If you want to make the tickbox ticked by default you could use a small bit of jQuery
jQuery("#checkbox").prop('checked', true);
Then just include it in the admin or frontend – where ever you need it.
I’m trying to make this checkbox checked by default: Create a Group -> 4. Forum -> Group Forum -> “Yes. I want this Group to have a forum.”
I found the code that handles this at /plugins/bbpress/includes/extend/buddypress/group.php, a function called create_screen
. I’d like to customize this function, so I copied the function to a plugin script. I figure I have to do something like
remove_action(‘whereever_the_hook_for_the_group_creation_thing_is’, ‘create_screen’);
add_action( ‘whereever_the_hook_for_the_group_creation_thing_is’, ‘create_screen’ );
to get my custom version to replace the stock version, but I don’t know where the hook is or how to go about finding it.