Search Results for 'test'
-
AuthorSearch Results
-
January 9, 2022 at 11:14 pm #226614
In reply to: member only 404
hny
ParticipantThank you for the suggestion.
We tested the plugin but it still does not redirect to the login page. We are using the Theme My Login plugin for the login page.
January 7, 2022 at 9:20 am #226571Robin W
Moderatorcan you just let me know what shortcode you are using, then I can try it out on my test site.
January 7, 2022 at 7:55 am #226567Topic: Pagination with threaded replies
in forum Troubleshootinggr19rute
ParticipantThe problem is known for years. I’ve tried this solution:
https://bbpress.trac.wordpress.org/ticket/2785
But it doesn’t work anymore.
Does anybody knows an actual tested fix?December 31, 2021 at 12:26 pm #226453Robin W
Moderatorok, lets try agian and see if we can get there.
Your site has
https://imhodom.ru/forums/users/ox/replies/
so we need to check for ‘/users/’ and ‘/replies/’
and we’ll try and up the priority so that other code does not overwrite
add_action( 'bbp_template_redirect', 'neon_check_replies', 100); function neon_check_replies(){ //only execute if the url contains both /user/ and /replies/, so test for this first if (strpos($_SERVER['REQUEST_URI'], '/users/') !== FALSE && strpos($_SERVER['REQUEST_URI'], '/replies/') !== FALSE) wp_redirect( 'https://imhodom.ru/forums' ); }December 31, 2021 at 9:05 am #226445Robin W
Moderatorok, so if the replies link goes to
https://mysite.com/forums/user/admin/replies/
then this
add_action( 'bbp_template_redirect', 'neon_check_replies'); function neon_check_replies(){ //only execute if the url contains both /user/ and /replies/, so test for this first if (strpos($_SERVER['REQUEST_URI'], '/user/') !== FALSE && strpos($_SERVER['REQUEST_URI'], '/replies/') !== FALSE) wp_redirect( 'https://mysite/home' ); }will send anyone clicking the link to the site home page
what does it do for you?
December 31, 2021 at 4:28 am #226437Robin W
Moderatorok try this
add_action( 'bbp_template_redirect', 'neon_check_replies'); function neon_check_replies(){ //only execute if the url contains both /users/ and /replies/, so test for this first if (strpos($_SERVER['REQUEST_URI'], '/users/') !== FALSE && strpos($_SERVER['REQUEST_URI'], '/replies/') !== FALSE) wp_redirect( 'https://example.com/some/page' ); }December 31, 2021 at 1:28 am #226430neon67
ParticipantThanks for your help, take the time – I really appreciate it! But … again nothing happens.
Have a clean new bbpress, latest version of WordPress, own Ngnix, cleared the cache, checked for syntax errors.
Little confused https://stackoverflow.com/questions/23614011/if-strpos-serverrequest-uri-true-doesnt-work/23614083 and whether the equation is correct. I can’t figure it out myself.December 30, 2021 at 2:50 pm #226426Robin W
ModeratorThis function will take all attempts to go to the replies page to whatever url you want
add_action( 'bbp_template_redirect', 'neon_check_replies'); function neon_check_replies(){ //only execute if the url contains both /users/ and /replies/, so test for this first if (strpos($_SERVER['REQUEST_URI'], '/users/') == FALSE && strpos($_SERVER['REQUEST_URI'], '/replies/') == FALSE) return ; else wp_redirect( 'https://example.com/some/page' ); }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
December 27, 2021 at 6:45 pm #226355neratashy
ParticipantThank you for your answer.
I have installed the plugin. Cleared all caches and tested it with existing forum and new forum – unfortunately the problem persists with the version. If I downgrade it, it works again – only then WordPress complains that there is a security risk etc… because the plugins are not up to date.
best, neratashy
December 27, 2021 at 4:37 pm #226352In reply to: Cannot access any topic or forum
m1ngum0u
ParticipantI’ve seen this before, already updated Redux plugin to the latest version but problem seems not to be resolved
December 27, 2021 at 12:49 pm #226351Robin W
Moderatorjust as a test, can you add
which has a fix for an issue in 2.6.7 which may or may not relate to this
If you install and activate the style pack plugin, does the problem stay or go away?
December 17, 2021 at 4:00 pm #226241Robin W
Moderatorok, best advice I can give is the standard fault finding :
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
Then come back
December 17, 2021 at 8:51 am #226234Topic: New posts and comments
in forum Troubleshootingsxsnationdave
ParticipantIs there a way to have a thread, forum or page that will show what’s new or new posts? I would like to be able to do this not in a sidebar but in an actual thread, forum or page.
I’, using the latest versions of bbpress and WordPress. I have also tried many different themes.December 14, 2021 at 2:31 pm #226175In reply to: BBp style pack
Robin W
ModeratorSorry, that file is back and corrupted I cannot say why.
I can only suggest 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
December 13, 2021 at 5:37 pm #226144In reply to: wordpress user role reduced to only 2
Robin W
Moderatorit 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
Then come back
December 13, 2021 at 4:11 pm #226138In reply to: Cannot access any topic or forum
m1ngum0u
Participant@robin-w could you check your engagements.php on your test forum?
(/yoursite/wp-content/plugins/bbpress/includes/common/engagements.php)i’ve got
public function get_users_for_object( $object_id = 0, $meta_key = '', $meta_type = 'post' )i think $meta_key value shouldn’t be empty…
December 13, 2021 at 4:11 pm #226137In reply to: Cannot access any topic or forum
Robin W
Moderatorok, again my test site works.
so we need to work out if it is the import, a theme or plugin issue, or something else.
I would suggest next you create a forum, and one topic for it. Then make the forum hidden, and see if this then works.
December 13, 2021 at 3:05 pm #226130In reply to: Cannot access any topic or forum
Robin W
Moderatorhaving one forum hidden works fine on my test site
December 9, 2021 at 12:11 pm #226055In reply to: Forum topic and replies not showing in profile
Robin W
Moderatorit 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
Then come back
December 9, 2021 at 8:21 am #226050In reply to: Dedicated Moderator ID changed
ecollart
Participanthello,
huge thanks for your efforts here !!!!
I’ll test your quick & dirty proposal and let you know
Eric Collart
December 8, 2021 at 1:52 pm #226040In reply to: New topic “No Forum” is gone !
Robin W
ModeratorI am not absolutely sure where you are, but yes everything I expect to work does work on my test site 🙂
December 8, 2021 at 1:19 pm #226038In reply to: New topic “No Forum” is gone !
Robin W
Moderatorok, this is free software with free support, and I have limited time to help – it works on my test site, so I cannot say why it does not work for you. Given that you can control it from the backend, then I hope you have enough of an solution to be workable.
December 8, 2021 at 1:16 pm #226037In reply to: Missing Forum Menu
Robin W
Moderatorit 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
Then come back
December 7, 2021 at 5:58 pm #226023In reply to: Dedicated Moderator ID changed
ecollart
ParticipantI just found a plugin named Easy Username Updater allowing an admin to change the username and even having a checkbox to send a mail to updated user but user never got the mail. It seems to work on my test site but gave an error when trying to login… Do not use that one !
A second plugin named Username Changer is working without any error and the mail is sent (if selected). This one works like a charm !
I explore this method because all moderators are from my company so I can update and inform them without disturbing customers…
I’ll test that on my production site and let you know the result.
Eric Collart
December 7, 2021 at 5:11 pm #226020In reply to: New topic “No Forum” is gone !
ecollart
ParticipantDoing some tests on a fresh WP install (theme Twenty Twenty-one) with only the bbPress plugin gives following results:
-
I can create topics not assigned to a forum from backend (being super sticky or not) and see them in “All Topics” from backend.
From backend, I can modify those topics
From Frontend, I can modify from top menu (admin menu) but I cannot use the “Modify” menu visible on the topic (this gives me error “Nothing found here” !So I clearly have a problem caused by one of the other plugin on my production site but it seems bbPress has also a small problem.
Eric Collart
PS: I am OK for any remote control short session to show you the erroneous behavior even on a fresh site. -
AuthorSearch Results