1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Integrating with another site

Discussion in 'XenForo Questions and Support' started by Adrian Mester, Jan 18, 2011.

  1. Adrian Mester

    Adrian Mester New Member

    I looking into integrating xenForo with another site (also based no Zend Framework). For this I need to be able to do a few things:
    • disable registration (done) and login from the xenForo site
    • when users are registered on my site, I need to create the user in the XF database
    • when users logs into my site, I have to log them in into XF too.
    Any ideas on the best way to do this?
     
  2. Mikey

    Mikey Well-Known Member

    Have you looked for the user creation query that is run when a user signs up to xf? you can simply run this alongside your own registration system I would imagine, so it inserts the same data into both tables, or you could use the same user table for each script?
     
  3. Brogan

    Brogan XenForo Moderator Staff Member

  4. Adrian Mester

    Adrian Mester New Member

    Yeah, user registration should be easy...Disabling logins in XF shouldn't be too hard, though I haven't had the chance too look at the source yet.
    Being able to log users into XF when logging into my site is what might be a bit harder.

    I'm not having any specific problems yet, I'm just asking whether someone has done this before, if they have any suggestions

    Edit: thanks for the link, Brogan, didn't think of looking there :)
     

Share This Page