Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Register member

edited March 2007 in Vanilla 1.0 Help
Hello, I have created a site (not public yet still need some testing before going live) and people need to register and login to use the site. Now I am thinking about having a forum as well on the site. So I would like to use a vanilla forum as it is so cute and powerful. I would need to: 1) Disabled vanilla registration as people have to register with the site 2) Let vanilla knows that people can login to the forum using their details from the site 3) Or even better than 2, if a user is logged in already with the site, they dont need to login as well for the forum. I simply use cookie to check if someone is logged in ... no PHP session or stuff So it is possible? How can I do? I guess when I create a user in my database I would need to create login information in a the right vanilla table? I am using PHP and MySQL. If someone could help me out :) Many thanks, Alixe


  • Options
    there's an article on how to integrate to wordpress, i'm sure you can get a clue onhow to do it with that guide. It's pretty understandable.

    Good luck!
  • Options
    Thanks :) Actually I came along this link last week and save it on my I have not give it a go YET, but it will be easy to add a record in LM_User table when someone register with my site. So it is cool user should be able to log to my site and vanilla forum with same details. Then I need to kill registration to the vanilla forum ... that should be a matter of removing a link to ther registration page, right? Then, the "hard stuff" is to find a way to somehow tell vanilla forum that the user is logged in already (if user has logged in with my site) This I am really not sure how to do it. I use cookie to see if someone is logged in. As a guess vanilla uses PHP session. I was hoping to set a flag in LM_User or anywhere saying user online or user login. Anyone for the last point? Alixe
  • Options
    Honestly, I would go the other route with it. I assume your site is a custom made application - it's always easier to mold your own code to work around something else rather than the other way.

    I would make people register via Vanilla, use Vanilla for user management (session storing, logging in, etc) and then have your app read the data from the LUM_User table (joining that with custom data for your own app in another table).
This discussion has been closed.