WordPress.org

Forums

bbPress Moderation
[resolved] Redirect after Creating Topic (5 posts)

  1. mariz
    Member
    Posted 1 year ago #

    I just want to ask if someone here can help me on how to implement redirection after the bbpress create-topic form? The default function of bbpress moderation is when you submit a topic it stays in the page. My idea is to redirect it to a thank you page saying his post is awaiting moderation.

    I have posted this problem to various forums but none of them can answer me. I also have tried changing the bbpress form action of create topic but it won't save it's value.

    I hope someone here can give me an idea. Just an idea then I will do the rest and share my codes with you guys.

    Thanks.

    http://wordpress.org/plugins/bbpressmoderation/

  2. mariz
    Member
    Posted 1 year ago #

    Okay I made this thing possible by adding this code in the redirect function. Thanks.

  3. PeterRankin
    Member
    Posted 1 year ago #

    I had the same problem. I was able to get redirects working and posted my solution here:

    http://wordpress.stackexchange.com/a/133672/47245

  4. crzyhrse
    Member
    Posted 1 year ago #

    I am finding that though the modification works fine for redirecting a first topic, but it is not redirecting for a first reply, though the changes were made in both form-topic.php and form-reply.php...

    Have double-checked every way I could to confirm... Because either moderation enables the other as well, it'd be nice to have the redirect work for both...

    And just to note, the code to replace occurs on line 24 in form-reply.php, rather than line 32 as it does in form-topic.php...

  5. Morgensonne
    Member
    Posted 11 months ago #

    -
    @mari_p: You've written:

    Okay I made this thing possible by adding this code in the redirect function.

    How did you solve it? Do you like to tell us your code?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • bbPress Moderation
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic