Skip to:
Content
Pages
Categories
Search
Top
Bottom

Redirect Login to Activity Stream

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

  • techguy
    Participant

    @crashutah

    The login stuff should be easy, just modify this plugin to go to activity instead of profile: https://buddypress.org/community/groups/bp-redirect-to-profile/

    I think there’s a similar plugin for redirecting after log out. Although, I think the default log out action is to send you to the home page.

    To get the landing page as the home page, you can either modify the index.php in your theme to be what you want. Or you can make a page template and set that as the home page in your WP settings or…I think there’s other ways, but that should work.

    I’m using the buddypress side bar which is great for creating new widget areas for widgets, I haven’t quite figured it all out yet but so far pretty promising. Then more to the point of your question is the “login with ajax” module which allows for redirects and all other sorts of options. This module is very easy to understand. I did have my site crash though, when I used it in conjunction with the “theme my login” module that I forgot to remove first. After setting up the redirect url’s for the “login with ajax” module, I then went into the widget setup area, and added the “login with ajax” widget into one of the side bars. Works great so far!!! I just have to search for a way to get rid of the login link on my buddy admin bar and I am good to go, well I still have to figure out how to put a widget into my header, but that’s for another forum search topic. Hope this helps you out.
    Eric


    Jigesh
    Participant

    @jigesh

    Hello, i have got another way to redirect user to show all activity
    1) Install BP-PROFILE-AS-HOMEPAGE plugin
    2) INSTALL PLUGIN
    3) in admin dashboard where list of plugin is listed you will find BP PROFILE AS HOMEPAGE PLUGIN, under it THERE IS TWO OPTION deactivate & edit
    4) click on EDIT
    5) Replace following line
    wp_redirect( $bp->loggedin_user->domain );
    WITH THIS
    wp_redirect( bp_loggedin_user_domain() . BP_ACTIVITY_SLUG . ‘/’ . BPCOM_ACTIVITY_SLUG );
    6) You are Surely done. It works 100 Percent. i have also used help from this forum i am thank ful about it.
    Anyone facing problem mail me on jigesh.raval@gmail.com

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Redirect Login to Activity Stream’ is closed to new replies.
Skip to toolbar