Hello. I just updated to the latest WordPress version 2.5.1 and now the replies in my bbPress forums threads are not showing up, only the initial thread posts. My theme is Oxygen. Any ideas?
Okay, sorted!
I took a dive into bbPress source code, and ‘bb_get_user_profile_url()’ is the correct function to use to get to a user’s profile. Here’s the source link
And an example usage:
<?php $this_user = wp_get_current_user(); ?>
<a href="<?php echo bbp_get_user_profile_url($this_user->ID); ?>edit/">Edit Forum profile</a>
Menu link to Profile
<?php global $current_user;
get_currentuserinfo();
echo $current_user->user_login . "";
?>
Here is my current converter: https://gist.github.com/gijs5/7943186#file-bbpress-minibb-converter
I’m gonna use it tomorrow to launch bbpress.
Cheers.
So, I’ve added bbpress to quite a big WordPress site. While everything works fine and dandy for the admins, most (if not all) regular users aren’t able to view their profile page or edit their profile. I’ve changed all regular users to the “Participant” role, but it still simply returns a 404. Which capabilities do I need to add to the Participant to enable the profile?
Additionally, I’m generating the edit profile link like so:
`/forums/users/<?php wp_get_current_user()->user_login ?>
However, this feels a bit hacky and fragile – is there a better way?
WP 3.8, bbPress 2.5.1
Is it possible to combine Forum Index with Topics by Freshness?
ie. list the fresh topics beneath the Forum title link to which they belong?
I’m not sure why Forum Settings page has:
Topics & Replies Per Page
Topics – How many topics to show per page in the forum index
..when topics is only represented as a number – feels like I may be missing something.
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.
Thanks, indeed it does help, gets some of those pesky regex strings half sorted out.
It be extremely keen on seeing what JOIN expressions you used to join the posts & topics table as if I remember correctly this was the only thing holding me back from including this as one of the new featured importers in bbPress 2.5.
You probably want to look into WordPress’ ‘Conditional Tags’
https://codex.wordpress.org/Conditional_Tags
And then a list of bbPress’ conditional tags https://codex.bbpress.org/bbpress-conditional-tags/
You can also go down the path of add Post Thumbnails to your forums and topics, not so much replies though unless you have some awesome templates 😉
There is some example code in this thread:
Add Featured Image to the BBpress Index
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/
It looks like whatever plugin you are using to control user access to your forums is causing the URL’s of your links to be rather strange to say the least.
To try and resolve conflicts with other plugins please disable all your plugins except bbPress to see if the error persists. Re-enable each plugin one at a time and if things break again you should be able to now know which other plugin is causing the conflict.
I know many sites that are using bbPress for code are using the ‘Crayon Syntax Highlighter’ plugin. Have you had a look at this plugin? Will that do what you require?
I’m seeing the same issue with WP 3.8 and bbPress 2.5.1 when MemberDeck 1.2.1 is activated. I reached out to their developer and with debugging turned on the following error occurs with the bbp_setup_current_user function/hook:
The current user is being initialized without using $wp->init()
I see a ticket for this already filed with both bbPress and upstream in WordPress:
https://bbpress.trac.wordpress.org/ticket/2412
https://core.trac.wordpress.org/ticket/24169
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
The “js minify” feature of performance plugins such as W3TC breaks the bbpress Visual editor. Which code can I add to the “exclude” list to make it work again? Ie. I’m looking for the bbPress TinyMCE/Visual editor js code to add to that list.
WP 3.8
bbPress 2.5.1
Hi,
.bbp-template-notice {
display: none !important;
}
and
.bbp-template-notice p {
display: none !important;
}
Are causing the message that no search results were returned to be hidden, which causes part of the blank page. Along with that you also have a minus margin on your sliderdiv which cause a lot of the bbpress forum to go underneath it.
Good luck!
I’m not 100% on what is happening without seeing a site link, if you can find out where the coupons are being rendered then you could wrap them in if(!is_bbpress()) { }
HI
I need to know how to make bbpress in Arabic into a English website?
Best Regards
i don’t know why this one was so hard for the support people to answer, but the hook I was looking for was
add_filter( 'bbp_get_reply_content', 'lp_access_enforcement', 99,2);
this allows me to take the content just before it is posted on the screen and manipulate it how I want. now my forums here
http://thelightningpath.com/forum/subject/the-need-for-spirit-to-sustain-a-growing-baby/
can be locked down. people now need to pay for a subscription to get access to certain forums on my site.
i’m posting this for anybody else that might want to expand on bbpress’s limited access functionality.
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.
Be sure to check bbPress versions (latest 2.5.1) and if you are up to date then the developer/mods may have to update the POT files also, which is something to forget easily.
The dialog in bbPress for inserting a link into a post by default shows a search box and a list of existing content on the site.
I am using WooCommerce on the same WordPress installation as bbPress. The problem is that WooCommerce coupons use Pages. This means all of my coupons (often ones that are created for specific people or specific purposes) can be publicly displayed in this list.
I’ve edited my css to display: none; this section, but I’m not satisfied with this solution as it is still possible for someone to change the css and view these pages.
Is there a way I can disable this feature? How might I go about modifying the code to remove it?
File _pot in pt_BR (Brazilian) and I have this working perfectly, select only those options that are not translated and has nothing on file to reference them. There’s no way in the bbpress files even I translate these terms? Because it seems that this file _pot complete and translated all but the select only those terms that are in English yet.
Don’t know in to which language you are trying to translate, looks like Brasilian (which is I think is almost Portugese).
There is a _pot (in the language folder) file that comes with bbPress, that you can translate and use on your bbPress and hopefully submit for others to use also if they need it.
If the current translation of BR/PO is wrong feel free to change it and submit it.
The creator/developer of bbPress or the Mods, can not help in translations, they just have to trust anybody whom submits a translation.