Hi,
Looks like, I have been able to pin-point error which was related to the “Fastest Cache” Plugin. It was interfering with the login.
Is there any safe cache plugin which can be used along with BBPRESS. If there are any settings specifically to prevent login/logout issues, then please let me know.
Please guide on Cached Plugins interfering with the bbpress login and how to avoid it.
regards
BS
you are right ! Looks like it change on 2.6.
It now does it on register
so to change back to how it used to work
in
dashboard>settings>forums untick Automatically give registered visitors…etc
Then 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
add_action('wp_login', 'rew_add_role');
function 'rew_add_role' () {
$user_id = $user->ID ;
$role = bbp_get_user_role( $user_id );
if (empty($role)) {
bbp_set_user_role( $user_id, 'bbp_participant' );
}
}
This code is untested, but should work, if not come back
I have rolled back style pack to v4.5 and issue remains.
I also created a test forum on another site I own and the style pack works as it should do 😉
It just does not work for my forum and alas I do not know why ?
forum
ok, so can you give me a hierarchy that does not work eg
category x has 2 sub forums y and z and z does not show
ie something I can build on my test site
I was curious if anyone has or knows of any function or shortcode that I can use that pulls the first topic from a specific forum and shows it on a page?
@robin-w , does your bbpress shortcode plugin do this?
I basically want to create a section on my homepage called “Announcements” and have the latest two topics from my forums with the Title and an excerpt from the post body included.
I’m not sure why you are not working – it works both on this forum and on my test site.
I disabled the theme and plugins. They are all out of the question.
That’s what it seemed to me, they are all out of the question.
In addition, here I did the test, the error also exists. The error is therefore linked to the bbpress plugin.
I just tested, it’s the same, knowing that with version 2.5 I never had this problem.
Well, we’ll stop here, I’ve bothered you enough, I’ll go back to version 2.5 which runs without any problem, thank you again.
when you restore it, it then becomes a draft – so you need to go into the topic in the tableau de bord and approve it – can you test this please
re,
I have just tested the manipulation,
whether we go through WordPress as you told me or try to restore directly from the topic it doesn’t work.
I redid the test on a clone of the site and the problem recurred.
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
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
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
I’m creating my own custom forum view using the register_views code. The function works but for some reason the url isn’t working. What am I missing?
function my_custom_register_views() {
// Latest Replies Custom View
bbp_register_view(
'latest-replies',
__( 'Latest Replies', 'my_custom_register_views' ),
apply_filters( 'bbp_register_view_latest_replies', array(
'orderby' => 'meta_value',
'order' => 'DESC',
'meta_key' => '_bbp_last_active_time',
'post_status' => array(bbp_get_public_status_id(), bbp_get_closed_status_id()),
'post_type' => bbp_get_topic_post_type(),
'show_stickies' => false
)
) );
}
Yes, but look below:
PREMIUM PERFORMANCE OPTIMIZATION The free version is enough to speed up your site but in the premium version there are extra features such as Mobile Cache, Widget Cache …
Also seen the difference by Page speed test my website – between desktop(highest mark) and mobile(middle bottom) pages.
Of course, I can to convince my client to buy this premium, but first I would like to understand: is there a more simpler plugin for mobile cache (in this case a lot of redundant unnecessary features). What else can to see?
the plugin says it does
WP Fastest Cache
Features :
…
8. Enable/Disable cache option for mobile devices
Thank you for your time.
It seems that making copy-paste from Libre Office to Bbpress editor brings the format data with the text.
I tested and the result in the editor is:
<b>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt</b>
I wonder, why the editor can not handle the format data in the paste text.
But if you do the text formatting in the editor with the text you are typing, then there is no problem.
It only happens to my account as keymaster. I tested with another as participant and it logs in just fine.
suspect this is what you need – untested !!
$user_id = bbp_get_displayed_user_id() ;
$last_login = get_user_meta($user_id, 'last_login', true);
so if you go down the route you have, you’d add a second shortcode
function rew_lastlogin () {
$user_id = bbp_get_displayed_user_id() ;
$last_login = get_user_meta($user_id, 'last_login', true);
$the_login_date = date_i18n(get_option('date_format'), $last_login);
return $the_login_date;
}
add_shortcode('bbp_lastlogin','rew_lastlogin');
and then use
<?php echo ‘Last seen: ‘. do_shortcode(‘[bbp_lastlogin]’) .’ ago’; ?>
No, that didn’t work either. I’m configuring here on my Computer and we tested it with my husband’s phone, that had no contact to the site before.
I can also test it by moving the “Align Default Max Width” adjuster in the General Options Menu of the Theme’s customizer.
the latest activity widget in
bbp style pack
lets you do this
Thanks Robin. I did try it with no luck. I’ve completely reset my wp install and starting from scratch with bbpress as the first plugin. I will try data import again with a small test sample and try your plugin again.
I see what you mean now – and can replicate on my test site. I can’t say if this is as a result of 5.6 as my site os now at that, and I don’t have a test site at 5.5.x, but when I next generate one, I’ll look at it.
I’ve removed you site, can you remove me from your site please
The question is about the redirect folder, not for plugin. Moreover, This plugin hasn’t been tested with the latest 3 major releases and the Author out of reach at support.
Is it possible to redirect any folder with pictures to standard admin library?
i dont know whats wrong, no error or anything, just lett it run for days or can someone explain what happening?
got everything new installd whit the latest of everything on a ubuntu server 20.04
