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.

Tips how to integrate this forum with a website?

Hey, I need to use Vanilla forum as part of my website. Users will be registered and loged in by other script.
I've found this topic: http://forum.kohanaframework.org/discussion/2964/vanilla-integration/p1
It's basicly what I'm planing to do, but this tutorial is for older version of Vanilla.
How to accomplish this in the newest one?
I don't really want to use SSO.

Cheers!

Answers

  • I don't really want to use SSO

    It is all SSO.

    I would suggest jConnect probably easiest for you, still some work.

    grep is your friend.

  • Does it work even if I don't use cookies, only session?

  • Vanilla stores it's sessions in cookies.

    The way SSO works is you pass the information to Vanilla after a user is authenticated on your site. Vanilla then creates a session cookie that 'logs' you in.

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

  • @zervis said:
    Does it work even if I don't use cookies, only session?

    What you mean you don't use cookies? Chances are you use cookies / session cookie.

    The only other way is passing session id through the url, which is really bad security, and ugly, and would be pretty obvious.

    Anyway jsConnect only cares if the session is valid on the server (cookie is irrelevant), and uses client scripting to handshake, then ti creates a vanilla session.

    grep is your friend.

  • Ok, thanks!

Sign In or Register to comment.