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.
i am learner and i tried to create plugin in vanila for providing the login to user . so how to inse
versha
New
i am learner and i tried to create plugin in vanila for providing the login to user . so how to insert in the database and then retrieve the userid ???
Tagged:
0
Answers
what is the "providing the login to user"?
basically i am asking how to insert in vanila forum database ?????
in vanila forum , you can use facebook plugin to login into vanila . so i want to ask which required field is filled in database after that we login in vanila
some fields in Gdn_Users table i suppose
yes you are right but inserting in the Gdn_Users table and then
" Gdn::Session()->Start($User_id);" , not provide the login.
"facebook plugin code ":
<?php
/*
Copyright 2008, 2009 Vanilla Forums Inc.
This file is part of Garden.
Garden is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
Garden is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with Garden. If not, see http://www.gnu.org/licenses/.
Contact Vanilla Forums Inc. at support [at] vanillaforums [dot] com
*/
in facebook plugin code, which function is used for inserting in database????????