Skip to:
Content
Pages
Categories
Search
Top
Bottom

"Theme My Login" and bbpress login redirect conflict


  • andersvinther2
    Member

    @andersvinther2

    Hello,

    I am trying to get bbpress and theme my login to play nicely together…

    Everything almost works just perfectly… only one problem exists…

    The redirection after login does not work as expected.

    Everyone is always redirected to the homepage after logging in with the TML widget.

    On logout everyone is redirected to the login page.

    I’ve found this page, which describes the same problem on the TML support page: http://www.jfarthing.com/support/topic/redirection-feature-doesnt-work-with-other-plug-in-bbpress/

    If I disable TML and use the bbpress login widget it works fine…

    Has anyone gotten this to work?

    Thanks!

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

  • Gene
    Participant

    @gene158

    I am also having the same problem, is there a fix for this? If not, what can I do to setup page redirection for bbPress Participant users?

    Thanks!


    Diggories
    Participant

    @diggories

    Have you enabled Custom Redirection

    Enabling this module will initialize custom redirection. You will then have to configure the settings via the “Redirection” tab.

    If not just go to Theme My Login “General” settings and enable it there then go to “redirection” and click “Referrer” on all sections or whatever you prefer.


    Will Brownsberger
    Participant

    @will-brownsberger

    The redirection settings don’t help.

    Having the same problems.

    Problem also appears here: http://wordpress.org/support/topic/plugin-theme-my-login-login-redirect-issue-with-bbpress

    For me, these coding solutions don’t seem to work either:

    http://wordpress.org/support/topic/plugin-theme-my-login-redirection-module-not-sending-to-referer


    Will Brownsberger
    Participant

    @will-brownsberger

    Stumbled into a solution for this.

    In this file:
    /public_html/wp-content/plugins/bbpress/includes/users/functions.php

    Comment out lines 34 and 35. Lines 33 through 35 as appearing in the original are shown below. Line 33 contains the comment from the original.

    33	// $url was manually set in wp-login.php to redirect to admin
     34	elseif ( admin_url() === $url )
     35		$url = home_url();

    Hate to edit the core functions, but it works.

    Please note: Running Theme-my-login Version 6.3.8, bbPress Version 2.5.1, WordPress 3.8.

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

You must be logged in to reply to this topic.