auth:mysql_phorum
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
auth:mysql_phorum [2013-01-27 18:13] – old revision restored (2011/03/22 17:25) ach | auth:mysql_phorum [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | [[mysql|« MySQL Authentification Backend]] | ||
- | ====== Phorum ====== | ||
- | |||
- | User authentication with [[http:// | ||
- | |||
- | Tested on Phorum version 5.1.24b and DokuWiki version 2007-06-26b.\\ | ||
- | Update on 2008/12/07: works fine with Phorum 5.2.8 and DokuWiki 2008-05-05. | ||
- | |||
- | This assumes that all user accounts will be created and maintained through Phorum. | ||
- | |||
- | Do not forget to either create a " | ||
- | |||
- | Eventually, change the table prefix in the queries below (here it is **phorum5**). | ||
- | |||
- | <code php> | ||
- | $conf[' | ||
- | " | ||
- | FROM phorum5_users | ||
- | WHERE username=' | ||
- | AND password=MD5(' | ||
- | |||
- | $conf[' | ||
- | " | ||
- | FROM phorum5_users | ||
- | WHERE username=' | ||
- | |||
- | $conf[' | ||
- | " | ||
- | FROM phorum5_groups g, phorum5_users u, phorum5_user_group_xref ug | ||
- | WHERE u.user_id = ug.user_id | ||
- | AND g.group_id = ug.group_id | ||
- | AND u.username=' | ||
- | AND ug.status=' | ||
- | |||
- | </ | ||
- | |||
- | --- // |