session site&forum; - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: session site&forum; (/showthread.php?tid=21638) |
session site&forum; - El Forum - 08-16-2009 [eluser]benfike[/eluser] I have an own made site. And i have an forum from this forum, this -> http://codeigniter.com/wiki/Forum_written_with_CodeIgniter/ I want, if anyone login on my site, that will login forums too. Code: function verifyUser($u,$pw){ And in the install.txt - > "set your auth system to create $this->session->userdata('username') as the username from the database, and $this->session->userdata('id') as the users id, and $this->session->userdata('admin') for users that match an administrative role." What i need to do with this? help me please session site&forum; - El Forum - 08-16-2009 [eluser]mohamedhelal[/eluser] i think you mast use and where function db |