PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Redirect not working in Buddypress

  1. I'm using gravity forms in the widget field of a dropdown panel. I have the form redirecting with some $_GET Variables and it works fine on pages and posts but if the user is within a buddypress directory like thedivinscience.com/members/member-name/ it just refreshes the page and doesn't redirect.

    The redirect link is 'http://thedivinescience.com/askesis-entry/' so it couldn't be caused by relative linking. It must have something to do with the way buddypress handles form submissions or something. Any ideas?

    Posted 12 years ago on Thursday April 12, 2012 | Permalink
  2. Neal Chester
    Member

    I'm having the same problem. I have an embedded hard-coded from in my footer on all pages and it doesn't work if you on Buddypress pages. Maybe I'll check this forum some more or see what Buddypress forums has to say about this.

    Posted 12 years ago on Sunday May 27, 2012 | Permalink
  3. David Peralty

    Yeah, I am not sure about why this would be happening, except that maybe BuddyPress handles redirects differently. I will send a message to our developers to see if they know of anything off the top of their head.

    Posted 12 years ago on Tuesday May 29, 2012 | Permalink
  4. Hi guys,

    Looks like the issue is that BuddyPress cancels processing after running the functionality necessary for BP. This means Gravity Forms' form processing hook is never triggered. You can get around this by pasting the following in your theme's functions.php file:

    http://pastie.org/4003689

    Posted 12 years ago on Thursday May 31, 2012 | Permalink