Forum Replies Created
In reply to: Profil slug in french
This is not related to bbPress, but to BuddyPress, you should post this to BuddyPress forum. But, as I remember, there were options to change some of the slugs in BuddyPress too.
bbPress is very open to adding all sorts of features, you can change practically everything related to how the forums are displayed, add all sorts of the feature. My GD Quantum Theme Pro plugin replaces the whole bbPress theme package with a custom one that can be controlled via Customizer. My plugins add hundreds of features into bbPress.
I have a lot of bbPress plugins, and all are up to date (free and pro): https://bbpress.dev4press.com/. What kind of features are you looking for? You can request the test website access from my website.
MilanIn reply to: Alignment text coming with HTML tags
Enabling TinyMCE is just one step, bbPress uses filters to limit the set of tags and attributes allowed, and for participants, it can be very limiting. In this case, bbPress doesn’t allow the ‘style’ attribute in HTML. A lot of things TinyMCE does require various HTML tags support and support for ‘class’ and ‘style’ attributes.
I have support for this in my GD bbPress Toolbox Pro plugin. Or, if you prefer coding the solution, check out ‘bbp_kses_allowed_tags’ filter for bbPress allowing you to pass modified list of HTML tags and attributes to use instead.
MilanIn reply to: how to customize search results
Your code doesn’t look complete. You posted ‘my_bbp_filter_search_results’, but there is no filter it is tied into. Which filter did you use to hook this function too?
I can recommend you trying my advanced search plugin: GD Power Search for bbPress – https://wordpress.org/plugins/gd-power-search-for-bbpress/ it allows you to select forums to search through and other things.
MilanIn reply to: Display Message on the top of a Forum Page
My plugin GD Forum Notices Pro allows you to define rich messages to display anywhere you want in the forums, with rules to define how the messages/notices will look like and the rules for display to different user roles. You can also schedule date range to display message.
No coding needed, all done via the admin interface. Check it out here: https://plugins.dev4press.com/gd-forum-notices-for-bbpress/
MilanIn reply to: “Reply To” Combo – When editing a “Reply”
CSS styling for the select field is most likely limited by the theme in length (bbPress default styling does it also), so you need to change the width for that element to 100%.In reply to: Remove /topic from url
That is very hard to do because the rule would conflict with default WordPress rules. It is possible, but there is no plugin that can do something like that as far as I know. For my purpose (not forum related, but similar), I had to create custom rules and override and intercept default rules to make it work. And, it can highly depend on other rewrite rules added by other plugins. I never managed to find universal solution that will just work.
There is a short tutorial in the knowledge base with code example. If you need more help, just open a new topic in the official support forum, and I will help you there.
1. There is the only a widget. But, there is some plugin that can turn widget content into the shortcode, you should check that. I might add shortcodes in the future.
2. No, the widgets don’t use AJAX to refresh content. I don’t see any benefit in that really, because users rarely sit on one forum page for a long time to even notice changes in such a widget. If the forum content is loaded fully using AJAX, that would be a different case, but bbPress doesn’t support something like that right now.
There is a function that can be called if you want to display the status outside of the forums, so you can update your theme templates to use it to show the status. But, the online status update is done only on the forum pages, with 5 minute offset. I can add a feature request to set status outside forums too.
My GD bbPress Toolbox Pro has users online status tracking, among hundreds of other features and tweaks.
I currently have many bbPress plugins, and they can add wide range of features that other forum software (like phpBB or similar forums) already have. Check out my other plugins for more information.
@delta5 How the stats block looks like is visible to logged in users on my forums, but that can be controlled via settings, here is the demo forum with the feature enabled for the visitors: https://xscape.info/quantum-default/forums/. If you want to test the plugin on our demo website (full admin test), you can request demo here: https://www.dev4press.com/request-demo/.
Some of my plugins really heavily on different caching methods to make sure that things are optimized and fast. And, many things in bbPress are not very optimized due to the nature of data storage used by WordPress, so whenever I can use the cache, I do it.
As for the statistics function, I am not sure exactly what it returns, I use my function which is quite different, but from what I remember, it returns an array with pairs including labels and values.
That function has a filter at the very end ‘bbp_get_statistics’ where all the data gets filtered, so you can hook that filter, and modify what you need.
For my plugin, I have written a new function, because I needed more data, and I implemented short term cache to avoid expensive calculation each time it needs to be displayed.
Yeah, ‘members’ sounds much better, I never liked the ‘users’ that is the norm in WordPress. I have created a plugin GD Members Directory that adds a new page listing all forum members with options to filter and order the list of members, and it would be good to have the change from users to members done in bbPress core too.
My GD bbPress Toolbox Pro has a more advanced statistics widget, but I have checked there, and I did the same thing, so only public forums are counted. And, some in case of hidden forums, they are visible to keymasters only. Your idea about logged and not logged-in users is great, and I will update my plugin to reflect that better for the release next week, and I will expand list of statistical information to include different variations of this count.
Yeah, that is correct, the widget uses WordPress function that counts only published forums (in this case, that is only public visibility), the rest is not counted for this widget statistics.
Usually for forums, ‘posts’ count includes both topics and replies, and in this case, that is true (163+393 = 556). As for the forums, do you have more than 2 forums created? This is an official bbPress widget, so the count should be correct.In reply to: bbPress 2.0: designed for scale?
If you need a forum to look a certain way, that can be done with WordPress and bbPress. bbPress look and feel can be fully customized.
By default, bbPress doesn’t make any AJAX calls with the exception of subscribe/favorite actions. You should determine what is making the calls (there should be ‘action’ argument sent with each AJAX request).
There has to be something. It is very unlikely that high load is caused by PHP code only, my guess is that MySQL queries are causing high load. That too is strange, because it should not be happening normally, but at least, it can point to some configuration issue with MySQL server.
It is way faster if not “logged in” site don’t use cache plugin so that’s not issue either but is much slower if logged in to site vs not logged in
You need to determine what is causing so slow load times. Use the Debug Monitor or similar plugin to find out which SQL queries are slow.