this is what I might out in style pack
add_action ('bbp_template_before_single_forum' , 'bsp_template_notices') ;
add_action ('bbp_template_before_single_topic' , 'bsp_template_notices') ;
function bsp_template_notices() {
// Bail if no notices or errors
if ( ! bbp_has_errors() ) {
return;
}
// Define local variable(s)
$errors = $messages = array();
// Get bbPress
$bbp = bbpress();
// Loop through notices
foreach ( $bbp->errors->get_error_codes() as $code ) {
// Get notice severity
$severity = $bbp->errors->get_error_data( $code );
// Loop through notices and separate errors from messages
foreach ( $bbp->errors->get_error_messages( $code ) as $error ) {
if ( 'message' === $severity ) {
$messages[] = $error;
} else {
$errors[] = $error;
}
}
}
// Display errors first...
if ( ! empty( $errors ) ) : ?>
<div class="bbp-template-notice error" role="alert" tabindex="-1">
<ul>
<li>
<?php echo implode( "</li>\n<li>", $errors ); ?>
<a href="#new-post">
<?php _e('Click here to correct', 'bbp-style-pack') ; ?>
</a>
</li>
</ul>
</div>
<?php endif;
}
Perfect. Thx Robin!!
The following now works
/* only run forum script in forum area */
add_action( 'wp_print_scripts' , 'deregister_forum_script');
function deregister_forum_script(){
if ( !is_bbpress() ){
wp_deregister_script('forum-js');
}}
This ticket is now closed. thx!
both the top and bottom login links are the default login, they were there to start with
which probably suggests they are theme related.
bbpress just passes details to WordPress login, and if the theme is also using WordPress login, it may well be that on a single page you have 3 things sending info to WordPress authorisation, so any one might send an ‘after login’ redirect, and it might be different dependant on which is completed.
If you also have membership plugins active, then these might also catch a login and do a redirect.
computers are consistent (often annoying so!) so it might be either different logins, or other changes you are making to membership that are affecting.
I’d start by stripping back and working out what is doing what.
so
it could be a theme or plugin issue
Themes
As a test switch to a default theme such as twentytwenty, and see what changes.
Plugins
If that doesn’t work, also deactivate all plugins, and see what the login at the top and bottom do. Then add bbpress and see what changes.
If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users
Health Check & Troubleshooting
Then come back
bbpress login widgets
both the top and bottom login links are the default login, they were there to start with
I’m surprised that this issue persists. We are looking to develop an interactive blog function in which everyone sees images on everything all the time, without needing to realize that they are in WP and bbPress handles everything but images well. Even with Mediapress or any of the various image attachment and styling plugins, the limitations on displaying image posts persists.
Assuming that I’m not interested in someone else’s concern over the integrity of the uploaded files, has anyone found a plugin, piece of PHP or any other means to display the posts in a topic or forum, along a thumbnail image?
I feel like by this point, we should be able to display topic indexes and posts as a list, a grid, masonry or something that looks rather like FB, all with images included.
What is the obstacle, and more importantly, are there solutions?
so what are you using to login – bbpress login widgets, shortcodes or what?
After the first couple of days when everything seemed to work, we started having login re-direct issues: after login the user was sent to her Profile page. To re-direct the user to the homepage, a message pointing to the copyright link at the bottom of the page was inserted in the Profile page.
Another couple of days later, now the top Login link sends the user to the Members page (no login) and the user needs to click on the Login link at the bottom of the page to login, find herself on her Profile page, go to the bottom etc.to go back to the homepage.
This is by far too complicated for our users – they need to stay on the homepage after login. How can I do that ? And why are things changing every couple of days ? How is it that the top Login link and the bottom do not work the same ?
WordPress version: 5.5.3–it_IT
bbPress version: 2.6.6
site: https://www.durecomemuri.it
ok, I can only suggest you look at possible conflicts
it could be a theme or plugin issue
Themes
As a test switch to a default theme such as twentytwenty, and see if this fixes.
Plugins
If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users
Health Check & Troubleshooting
Then come back
ok, the discussion also points to
GD bbPress Tools
have you tried this ?
Best current solution for quoting replies?
I wish two options: “reply” and “reply with quote”
vBulletin
I found this guide there is no written how to do it …
this plugin lets you set who can post links, and lots of other features.
It still works fine, despite not having been updated for a while
bbPress – Moderation Tools
Hello Robin,
in another forum (based on phpBB) they have a very useful feature to keep spammers out: It is not allowed to place links before someone has made 30 postings.
I suggest that the owner of this forum has made a script himself, because it does not work very good – the error message “Links not yet allowed” appears also when answers with quote are started. But I find the idea very good!
Do you think that something like this might be implemented in bbPress?
Best wishes
Hannelore
are you using the text editor in bbpress, or have you got a visual editor running ?
as I understand it, now it will be given to insert only own feeds after registering a token, and it will not be possible to insert, for example, Leonel Messi. Therefore, no updates to bbpress will help. Now everyone needs to solve this problem independently (((
I take it you have an add action statement
add_action( 'bbp_register_views' ....
View Topic By
2.5 should upgrade quite easily, so either your upgrade has failed, or you have another issue.
new versions of bbpress are unlikely to help, as tens of thousands of bbpress users are already at 2.6.6 without problem.
I can only suggest that you create a copy of your site that you can test in and then
Themes
As a test switch to a default theme such as twentytwenty, and see if this fixes.
Plugins
If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
You can use the ‘troubleshooting’ features of this plugin to let you test without affecting needing to deactivate lots of plugins
Health Check & Troubleshooting
Bonjour,
BBpress est un programme chouette, le souci est que je suis obligé de revenir à la version 2.5.14 car dès que je passe à l’une des versions récentes le forum rencontre de nombreux soucis, pb horodatage, sujets qui disparaissent, édition d ‘ un post impossible sans perdre le sujet complet, bref, compliqué!
Je précise que j’ai changé d’hébergeur et de thème ces derniers mois… c’est bien BBPRESS le souci…
J’attends la version 2.6.7 avec espoir…
Hello,
BBpress is a nice program, the problem is that I have to go back to version 2.5.14 because as soon as I upgrade to one of the recent versions the forum encounters many problems, bp timestamp, topics that disappear, editing a post impossible without losing the complete topic, in short, complicated!
I would like to point out that I have changed host and topic in the last few months… it’s BBPRESS the concern…
I’m waiting for version 2.6.7 with hope…
If I understand it, site admins need to create new tokens and then it should work in bbpress – is that correct @neon67 ?
@robin-w well well, it seems that is not my problem, it seems that bbpress has to adapt…
bbpress has not changed in that time, so it will probably be an update in your theme, wordpress or another plugin.
for future you should note what you upgrade and when to allow you to work out which changes affect your site.
ok,
https://jes.klu.cl/wp-content/uploads/2020/12/bbpress-elementormodules1.png
does not show a bbpress widget that shows who is online
but
https://jes.klu.cl/wp-content/uploads/2020/12/bbpress-whoisonline1.png
that says ‘editor buddypress‘ not bbpress.
you’ll need to ask in their support forum
https://buddypress.org/support/
or it may be part of elementor
sorry, it’s not part of bbpress.
Ok, I’m using Gwangi theme with bbPress and Budypress plugins
bbpress doesn’t have a widget that shows members online.
This must be coming form your theme, or another plugin- you’ll need to find out which and then I’ll try and help further