Search by User ID Module (5.1 and 5.2 ready)

Adds search by user ID for the profile and top user page.

The module replaces the number of posts with a link (showing still the number
of posts) to the search by user id page. There is no form on the normal search
page.

Supports also the "Topusers in a templated Phorum-Page"-Add-on
(http://www.phorum.org/phorum5/read.php?16,7251).

Tested on version 5.1.16 and CVS (till revision 1334) for MySQL. DB-layer for
mysqli and postgresql included but not tested. Please give me a feedback if
this parts are working for you.

License:
-------
Free to use, modify, or redistribute this code so long as I am given credit for
the original development somewhere. This code comes with absolutly no warranty.

Installation:
------------
1. Unpack the archive.

2. Move the directory "search_user" to the directory "mods" within your
   Phorum installation. Don't change the directory name!

3. Move search-user.php to your phorum-directory. Rename the file if you want
   to use a localised file name (in this case you have to change the file name
   also in the settings).

4. Move search-user.tpl to your template-directory. You'll find a
   appropriate file for the default template (version 5.1 and 5.2) and for
   Eugenol in /mods/search_user/templates/.

5. If you want to use also the "Topusers in a templated Phorum-Page"-Add-on,
   you have to add the following line of code in topusers.php after the initial
   comment block:

define('phorum_page','topusers');

6. Login as administrator in Phorum's administrative interface and go to the
   "Modules" section.

7. Enable the module "Search by User ID Module".

Update from 1.0 to 1.1:
----------------------
Follow installation instructions. Additional disable and enable the module
once.

Sanity Checks:
-------------
If you have problems with this module login as administrator in Phorum's
administrative interface and go to the "System Sanity Checks" section. Check
for warnings or errors for the Search by User ID Module.

Changelog:
---------
2006/06/07 version 1.0.0 Initial version by Oliver Riesen (oliver@riesen.org)

2006/07/26 version 1.0.1 by Oliver Riesen (oliver@riesen.org)
- sanity checking of page var (http://www.phorum.org/cgi-bin/trac.cgi/ticket/382)

2006/09/07 version 1.1.0 by Oliver Riesen (oliver@riesen.org)
- Support for future version 5.2.
- Added change sets
  - 1204 (http://www.phorum.org/cgi-bin/trac.cgi/changeset/1204)
  - 1260 (http://www.phorum.org/cgi-bin/trac.cgi/changeset/1260)
  - 1229 (http://www.phorum.org/cgi-bin/trac.cgi/changeset/1299)
  - 1330 (http://www.phorum.org/cgi-bin/trac.cgi/changeset/1330)
- Added sanity checks

2006/09/12 version 1.1.1 by Oliver Riesen (oliver@riesen.org)
- Added change set
  - 1340 (http://www.phorum.org/cgi-bin/trac.cgi/changeset/1340)
- Added auto-installation of default settings.
- Extended sanity checks.
- Including template for version 5.1 and future 5.2.
- Support for the Eugenol template.
- Some HTML fixes.