22
Multiple Auth installationsThe Auth module can easily be installed with multiple instances, by chaning the "auth" folder name to anything you want. After that you will need to change the name in the "xoops_version.php" as well.
Multiple Auth with SearchWhen you are using Auth with search functionality, a few more modifications will need to be done.
In the "AuthFolder/search.php"
In Line 6 the Auth search function is declared
le="color: #000000"><?php function auth_search ( $queryarray , $andor , $limit , $offset , $userid )
Multiple instances of these will yield an error, so you need to change it to another name, e.g.
le="color: #000000"><?php function auth2_search ( $queryarray , $andor , $limit , $offset , $userid )
This search function is called in the "xoops_version.php" line 30, so it needs to be changed accordingly
le="color: #000000"><?php $modversion['search']['func'] = "auth2_search";
With these modifications, the auth module can be installed with multiple instances.