tips:integration_with_ipb_2.x
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
wiki:tips:integration_with_ipb_2.x [2008-05-15 14:37] – problem displayed name vs. login name 217.225.102.77 | tips:integration_with_ipb_2.x [2011-06-18 17:05] – changed external links to dokuwiki.org to internal links ach | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Integrate with IPB 2.x ====== | ||
+ | |||
+ | This is a description of how to integrate the user authentication and group facilities in IPB (Invision Power Board) with dokuWiki. | ||
+ | |||
+ | FIXME **I search yet how to connect AUTOMATICALY the user to IPB in Dokuwiki !!!** | ||
+ | |||
+ | A good start might be the source of the Coppermine Gallery. The Bridging works fine with IPB 2.x.x. | ||
+ | Some say it won't but I have tried it bymyself and it works fine. | ||
+ | http:// | ||
+ | |||
+ | An issue is the displayed names and login names. Not sure if it is possible to prevent DokuWiki from showing the loginname (user) anywhere and show just the name. | ||
+ | |||
+ | ===== Requirements ===== | ||
+ | |||
+ | * A working installation of IPB 2.x | ||
+ | * A working installation of dokuWikiDELETEME | ||
+ | * Some patience | ||
+ | |||
+ | Facts | ||
+ | * This method of integrating relies on the use of groups in IPB. | ||
+ | |||
+ | ===== Steps ===== | ||
+ | |||
+ | - [[# | ||
+ | - [[# | ||
+ | |||
+ | ===== Configure local.php ===== | ||
+ | |||
+ | The code below is best placed in **conf/ | ||
+ | |||
+ | We use IPB '' | ||
+ | |||
+ | <code php> | ||
+ | $conf[' | ||
+ | |||
+ | $conf[' | ||
+ | |||
+ | $conf[' | ||
+ | |||
+ | $conf[' | ||
+ | |||
+ | $conf[' | ||
+ | $conf[' | ||
+ | $conf[' | ||
+ | $conf[' | ||
+ | |||
+ | $conf[' | ||
+ | FROM ibf_members, | ||
+ | WHERE name=' | ||
+ | AND converge_pass_hash = MD5(CONCAT(MD5(converge_pass_salt), | ||
+ | $conf[' | ||
+ | FROM ibf_members | ||
+ | WHERE name=' | ||
+ | $conf[' | ||
+ | FROM ibf_members | ||
+ | WHERE ibf_members.name=' | ||
+ | </ | ||
+ | |||
+ | Use following queries for development version of DokuWiki: | ||
+ | |||
+ | <code php> | ||
+ | $conf[' | ||
+ | FROM ibf_members, | ||
+ | WHERE name=' | ||
+ | AND converge_pass_hash = MD5(CONCAT(MD5(converge_pass_salt), | ||
+ | $conf[' | ||
+ | FROM ibf_members | ||
+ | WHERE name=' | ||
+ | $conf[' | ||
+ | FROM ibf_members | ||
+ | WHERE ibf_members.name=' | ||
+ | </ | ||
+ | |||
+ | If it doesn' | ||
+ | |||
+ | ===== Configure acl.auth ===== | ||
+ | |||
+ | How to configure the acl.auth is described in [[acl]]. The group numbers are the ones that you have created in IPB. | ||
+ | |||
+ | An example : | ||
+ | <code php> | ||
+ | # Access Control | ||
+ | # | ||
+ | # none 0 | ||
+ | # read 1 | ||
+ | # edit 2 | ||
+ | # create 4 | ||
+ | # upload 8 | ||
+ | |||
+ | # Groupes existant sous IPB | ||
+ | # @1 Validating | ||
+ | # @2 Invités | ||
+ | # @3 Membres | ||
+ | # @4 Admin Principal | ||
+ | # @5 Bannis | ||
+ | # @6 Modérateur Principal | ||
+ | # @7 Donateur | ||
+ | # @8 Site Admin | ||
+ | # @9 Modérateurs | ||
+ | # @10 Wikistes | ||
+ | # @11 Traducteurs | ||
+ | # @12 Equipe de Dev | ||
+ | |||
+ | |||
+ | * | ||
+ | * | ||
+ | * | ||
+ | * | ||
+ | * | ||
+ | * | ||
+ | * | ||
+ | * | ||
+ | * | ||
+ | * | ||
+ | sommaire | ||
+ | sommaire | ||
+ | sommaire | ||
+ | sommaire | ||
+ | sommaire | ||
+ | sommaire | ||
+ | menu @ALL 1 | ||
+ | menu @4 255 | ||
+ | menu @6 255 | ||
+ | menu @8 255 | ||
+ | menu @9 255 | ||
+ | menu @10 255 | ||
+ | </ | ||