Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • @Famous I wasn’t trying to squelch your questioning the way it works but this is a How-To and Troubleshooting thread. So, I thought I would nudge us back to the question at hand. Glad you got things working the way you want. I, too, redirect for the same reason.

    Here is a site with 3,000+ members: http://www.h-mag.com/.

    I dig some digging into this problem since I was having it as well. The user’s account is activated successfully when they click the email. The problem occurs when you login from the activation successful page (activate.php). If the user opens another browser and goes to the site homepage to login, there will be no problem. For me, this was happening because the plugin that I was using to handle logins was including a hidden redirect to the source page in the form. So after the user logged in, it was redirecting to activate.php which by default asks you to activate, even if you are logged in.

    So check the html for the form that you use to login and make sure there is no redirect to the source page.

    > but why does BuddyPress think it’s not the case that a user should redirect to their info?

    That’s just the way it works. By default, the BuddyPress front page is not the user’s profile page.

    > Is there a way to code this, without getting into BuddyPress and later regretting it. I don’t want to use anymore plugins.

    You can either edit/create bp-custom.php in the plugins directory or use a plugin that someone has created like bp-profile-as-homepage. If you look at the code for this plugin (one short php file), it is very simple. It taps into a wordpress hook to add a check to see if the user is logged in and if so whether the current page is the front page. If it is, then it redirects to the user’s profile page. That seems to be what you want.

Viewing 3 replies - 1 through 3 (of 3 total)
Skip to toolbar