Skip to:
Content
Pages
Categories
Search
Top
Bottom

bbPress login redirect WITH woocommerce

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

  • Robin W
    Moderator

    @robin-w

    Can you say which login form?

    and have you tried the bbpress login widget?

    a url to your site and then login page would also be useful

    Hi,
    bbPress login is a WordPress login. I suppose woocommerce is also using standard WordPress logins ?

    Check any of the snippets or plugins in this thread if it can help: https://bbpress.org/forums/topic/setup-login-for-private-forum/

    Pascal.


    joshcarey
    Participant

    @joshcarey

    @robin-w: The site is currently in local development. And yes, as @casiepa said, I’m not using any particular form, so I’m assuming it defaults to the standard WP login. I am using the woocommerce page and shortcode (woocommerce_my_account) for the “my account” page.


    @casiepa
    : I’ll look through those 2 resources to see if anything there helps.


    joshcarey
    Participant

    @joshcarey

    @casiepa – I looked at your links – I actually did try the bbpress-login-register-links-on-forum-topic-pages plugin before asking for help. Using the links that plugin provides, I was taken to the correct login screens, however, I was still redirected to the woocommerce “My Account” page after login.

    I also tried “Peter’s Login Redirect plugin” without any luck. It was actually error-ing out when I was trying to define custom redirect for roles. I just installed it to try again… “ERROR: Unknown error adding role-specific redirect for role bbp_participant” So I’m not sure what the issue is with that plugin. Also, I’m not sure, but even if I got it to work, I wouldn’t want to just redirect the user back to the “forum landing” page – they should be redirected back to the topic they originally tried to login from.

    I may just try to upload the site to the development server to see if it will possibly work there for some reason – instead of trying to make it work locally.

    Ok, keep us informed.
    Pascal.


    Robin W
    Moderator

    @robin-w

    it’ll be a filter on

    add_filter( ‘woocommerce_login_redirect’, xxxxxx );

    I have woocommerce and bbpress sites, but not one with both !!


    Robin W
    Moderator

    @robin-w

    Yes, I’d move it to an internet server and see if the issue persists.


    Robin W
    Moderator

    @robin-w

    just seen this !

    https://wordpress.org/plugins/woo-login-redirect/

    if you download and unwrap it you’ll see two functions, one the filter above !

    Depending on your site it might take a

    if (is_bbpress()) $redirect = xxtype statement on line 71


    joshcarey
    Participant

    @joshcarey

    Man, oh man. I’m so ticked. I spent probably 4 hours trying to get the dumb login redirect thing to work. COULDN’T get it to work locally.

    As soon as I upload the site to a dev server, the login redirect just works flawlessly.

    I really wish I understood all the nuances of real web server-side process in browser vs. local browser interactions… But I’m just not that geeky.

    Alas, my friends – If you try to develop bbPress locally and have login redirect issues, be sure to upload it and try it on the server. Yes, you’ll have to do multiple theme file uploads and migrations (Migrate DB Pro works great for this) – but its well worth the time and headaches you’ll leave behind by troubleshooting local issues.

    Thank you both for your input… I greatly appreciate your time 🙂


    joshcarey
    Participant

    @joshcarey

    @robin-w I had actually used that “woo-login-redirect” plugin as well. I was able to make it so that woocommerce redirected to any other page that I wanted, however the bbPress login STILL redirected to “My Account”. So unbelievably frustrating.


    Robin W
    Moderator

    @robin-w

    Thanks for the update – and we’ve all spent hours trying to fix something that was really simple in the end, so I share your frustration !

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