Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

Wordpress + Vanilla Forum, Display Discussion Form in page

Hello, I want to display the discussion form in other page of my wordpress site, how can I do that?

Comments

  • Options

    Need some help here, my client wants me to put a discussion form alone in some pages..

  • Options
    x00x00 MVP
    edited May 2013

    A forum a form. You would just need a the TransientID and valid session.

    You could use an iframe just point to the form (maybe at least check for a session cookie before dispalying).

    or you could request it as data

    http://vanillaforums.org/post/discussion?DeliveryType=VIEW

    that comes with none of style, and scripts you would have to load those separately.

    not a good idea to promise work you have no idea if you can come good on though.

    grep is your friend.

  • Options

    Thanks, it works on me.. now the problem is, after I submit http://seemynewwebsite.com/g2bm/our-experts/
    it redirects on the root of my vanilla forum, is there any way to ajax this? so that it wont redirect in any part of my page or root of vanilla, then a success message should appear after the submission.. Are these possible at this point?

  • Options
    x00x00 MVP
    edited May 2013

    it doesn't currently, redirect to target but you could use a hook, such as with a theme hook or pluign

    PostContraller_AfterDiscussionSave_Handler and do Redirect('http://yoursite.com/target');

    I would stipulate it by including a Target in the query string, and only redirecting with the Target provided.

    grep is your friend.

  • Options

    Page Not Found..

  • Options
    x00x00 MVP
    edited May 2013

    you have to create the page. You are not using rewrite urls, so you have to append the target to the query string, then you need to create a hook to do the redirect with the target.

    grep is your friend.

Sign In or Register to comment.