Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'test'

Viewing 25 results - 676 through 700 (of 11,611 total)
  • Author
    Search Results
  • #226614

    In reply to: member only 404

    hny
    Participant

    Thank 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.

    #226571
    Robin W
    Moderator

    can you just let me know what shortcode you are using, then I can try it out on my test site.

    #226567
    gr19rute
    Participant

    The 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?

    Robin W
    Moderator

    ok, 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' );
    }
    
    Robin W
    Moderator

    ok, 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?

    Robin W
    Moderator

    ok 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' );
    }
    neon67
    Participant

    Thanks 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.

    Robin W
    Moderator

    This 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

    Code Snippets

    #226355
    neratashy
    Participant

    Thank 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

    #226352
    m1ngum0u
    Participant

    I’ve seen this before, already updated Redux plugin to the latest version but problem seems not to be resolved

    #226351
    Robin W
    Moderator

    just as a test, can you add

    bbp style pack

    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?

    #226241
    Robin W
    Moderator

    ok, 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

    Health Check & Troubleshooting

    Then come back

    #226234
    sxsnationdave
    Participant

    Is 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.

    #226175

    In reply to: BBp style pack

    Robin W
    Moderator

    Sorry, 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

    Health Check & Troubleshooting

    #226144
    Robin W
    Moderator

    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

    #226138
    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…

    #226137
    Robin W
    Moderator

    ok, 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.

    #226130
    Robin W
    Moderator

    having one forum hidden works fine on my test site

    #226055
    Robin W
    Moderator

    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

    #226050
    ecollart
    Participant

    hello,

    huge thanks for your efforts here !!!!

    I’ll test your quick & dirty proposal and let you know

    Eric Collart

    #226040
    Robin W
    Moderator

    I am not absolutely sure where you are, but yes everything I expect to work does work on my test site 🙂

    #226038
    Robin W
    Moderator

    ok, 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.

    #226037

    In reply to: Missing Forum Menu

    Robin W
    Moderator

    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

    #226023
    ecollart
    Participant

    I 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

    #226020
    ecollart
    Participant

    Doing 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.

Viewing 25 results - 676 through 700 (of 11,611 total)
Skip to toolbar