R-a-y – that doesn’t work for me unfortunately.
I am using the:
- latest version of WordPress 3.1.2
- Child theme of Suffusion
And the latest plugins for Suffusion BP Pack (1.02), BuddyPress (1.2.8), and s2Member (3.5.7).
Using the s2Member plugin settings, I have set my site to redirect users to a “Member Home” page upon logging in. This function used to work before I added BuddyPress + Suffusion BP Pack. However, since adding those plugins, I initially could not figure out why it no longer worked upon logging in. Currently, when a user logs in, the site just directs them to the main page (the default Wordpress & site address). I disabled the other plugins and determined that it was BuddyPress handling the redirection.
So I made a bp-custom.php and added that code just to see if I can test the redirection function itself and it didn’t work. I even tweaked his code as well to try add_filter(“login_redirect”,”bpdev_redirect_to_profile”,100,3); Did I need to do anything else to activate the plugin or did it automatically run and link to BuddyPress?
Ultimately, it seems like I may have to implement a technique that onyx mentioned or something like http://www.thinkinginwordpress.com/2009/12/tweak-your-buddypress-login-to-redirect-to-the-page-user-was-viewing-while-login/
Does anyone have any thoughts? Thanks!