Skip to:
Content
Pages
Categories
Search
Top
Bottom

bbpress not logout

Viewing 13 replies - 1 through 13 (of 13 total)

  • W-P-Zar
    Participant

    @carbashop

    [upgrade info]

    change theme and disable all plugins (works ok)

    (error is caused if bbPress is activated)

    thanks and sorry for my English


    Robkk
    Moderator

    @robkk

    Tested it out on your site and I saw the issue. I don’t really have a fix for this yet but I know another guy that had something similar and I wonder if something in your guys set-ups could be causing the issue.

    I emailed you some questions to help me try to pinpoint the issue.

    If I still can’t find anything, I will just collect some data and post what you two guys already did and report a bug on the bbPress trac linking to both of your guys topics.


    W-P-Zar
    Participant

    @carbashop

    Thank you
    mail contact you and hope your prompt response

    thanks for your time
    sorry for my English


    Robkk
    Moderator

    @robkk

    I get that you are sorry for your English haha you don’t have to keep telling me 🙂

    Okay try adding this to your child themes function.php file to see if this helps solve your issue, but try just logging out from the WordPress Toolbar only for now.

    remove_filter( 'logout_url', 'bbp_logout_url' );


    W-P-Zar
    Participant

    @carbashop

    Robkk thanks..

    but.. Not work the remove_filter

    the link to logout continues same. in the wp toolbar

    http://diversidadculturalyjusticia.com/ar/wp-login.php?action=logout&_wpnonce=6237c9730a&redirect_to=http%3A%2F%2Fdiversidadculturalyjusticia.com%2F%3Floggedout%3Dtrue

    if delete the argument (%2F%3Floggedout%3Dtrue) the link work ok

    jaaa I write: Sorry for my English
    what for interpret the text as if a child writes!!!


    W-P-Zar
    Participant

    @carbashop

    the add_filter( ‘logout_url’, ‘bbp_logout_url’, 2, 2 );

    filter bbp_logout_url in logout_url

    function bbp_logout_url() call apply_filters inside the function

    so

    if remove_filter remove the filter but it is already apply

    it’s like that???

    precarious resolved

    my own plugin or in function.php

    add_filter( 'logout_url', 'my_logout_page', 10, 2 );
    function my_logout_page( $logout_url, $redirect ) {
        	$logout_url = str_replace('%3Floggedout%3Dtrue', '', $logout_url);
    	return $logout_url;
    }

    Robkk
    Moderator

    @robkk

    Glad that you solved your own issue. 🙂

    I am going to bookmark this so that I can lead user to your fix if they come across the same issue.

    I wonder if this is related to past issues with bbPress with logging out, before I make a trac trac ticket of this issue.

    Was this site set up in a multisite installation?? If not I will create a unique ticket for this issue.


    W-P-Zar
    Participant

    @carbashop

    First, thanks for your time

    no, not wordpres multisite

    but maybe something unusual is that wordpress is installed in a subdirectory

    I do not understand is because the argument loggedout in redirect_url is set in true and redirect to home and not logout

    if eval argument only add by bbp_add_error ‘You are now logged out.’
    in add_action( ‘bbp_head’, ‘bbp_login_notices’ );

    please if you consider solved the topic set [solved]


    Robkk
    Moderator

    @robkk

    You installed WordPress in a subdirectory? This is one of the trac tickets that I found and it may seem to have the exact issue you do. Confirm so I can make sure the issue is not fixed.

    https://bbpress.trac.wordpress.org/ticket/1645

    I will mark the topic as [resolved] and close it after you reply to confirm the issue.


    W-P-Zar
    Participant

    @carbashop

    in tiket does not seem to be the same problem

    sorry
    think it was understood
    since the url says http://diversidadculturalyjusticia.com/ar/wp-login.php
    wp in subdirectory ar but site_url is http://diversidadculturalyjusticia.com

    ¿this is the problem? wp in subdirectory


    Robkk
    Moderator

    @robkk

    hmmm yeah yours is different, but it might be related to the ticket at least.

    I will contact the devs to see what they think it could be to make sure.


    W-P-Zar
    Participant

    @carbashop

    OK! thanks..

    count on me for anything you need
    greetings


    Robkk
    Moderator

    @robkk

    When I contacted the devs yesterday, one of them said that they haven’t come across this issue lately, and also if WordPress was installed in a subfolder.

    They said a possible issue is that there might be some caching where it shouldn’t be.

    I replied and said that I will at least keep this bug, that you and some other guys are experiencing, as a possible issue with bbPress. I will also report back to the devs if it happens to another user again, then we can go to bug finding from there.

Viewing 13 replies - 1 through 13 (of 13 total)
  • You must be logged in to reply to this topic.
Skip to toolbar