Skip to:
Content
Pages
Categories
Search
Top
Bottom

Redirect issue – bp-core-catchuri.php

Viewing 3 replies - 1 through 3 (of 3 total)
  • Profile photo of @ChrisClayton
    @ChrisClayton
    Participant

    @chrisclayton

    There is filter hooks in the function which you should use instead of modifying core, but assuming you’re just modifying core for temporary testing purposes only, you will need to modify the $mode variable as it defines mode 2 (login via wp) by default (https://buddypress.trac.wordpress.org/browser/trunk/bp-core/bp-core-catchuri.php#L463)

    For production purposes, there is a $redirect url arg (which can be filtered with ‘bp_core_no_access’) that you should use to set your custom login.

    Profile photo of trailmix5
    trailmix5
    Participant

    @trailmix5

    Hi @ChrisClayton,

    I would also rather use filter hooks, but I cannot figure out how to do it. I’ve searched everywhere, but I can’t seem to find the answer to this specific problem. Can you either show me or link me to a post where it is explained a bit? Also, would I just be modifying bp-custom.php? I understand to a certain extent, but I’m not a professional coder.

    Thanks.

    Profile photo of trailmix5
    trailmix5
    Participant

    @trailmix5

    Hello,

    Does anyone out there have any other info that may help me out? I’m stuck on this small issue and I can’t seem to figure it out.

    Thanks in advance.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Redirect issue – bp-core-catchuri.php’ is closed to new replies.
Skip to toolbar