mantisbt:users_directory
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
mantisbt:users_directory [2006/11/25 23:11] – created vboctor | mantisbt:users_directory [2011/11/16 07:41] (current) – The page rendering was broken (maybe since new PHP version on mantisbt.org). Added new line to fix it at end of file. atrol | ||
---|---|---|---|
Line 49: | Line 49: | ||
==== Users Directory Page ==== | ==== Users Directory Page ==== | ||
- | This page is similar to the [[http:// | + | This page is similar to the [[http:// |
+ | |||
+ | * Entries are group by the first letter of the company name. | ||
+ | * Empty groups must not be displayed (e.g. if no companies start with Z, then don't display it). | ||
+ | * Within each group, entries are sorted alphabetically by the company name. | ||
+ | * High profile entries are to be displayed in bold or have an icon next to them. | ||
+ | * The total number of entries should be shown at the end of the page. | ||
+ | |||
+ | ==== Contact Us Page ==== | ||
+ | |||
+ | Although this is not directly related to the users directory, it is very similar and hence it is included as part of the scope. | ||
+ | |||
+ | * Contact Name | ||
+ | * Contact Email | ||
+ | * Subject | ||
+ | * Body | ||
+ | * Captcha | ||
+ | |||
+ | Once the form is submitted an email is sent from the mantis email account on behalf of the email specified by the user. The Mantis administrator can then reply to this email and the reply will go directly to the email reported in the form. | ||
==== Database Schema ==== | ==== Database Schema ==== | ||
Line 58: | Line 76: | ||
* entry_id - primary key - auto-increment | * entry_id - primary key - auto-increment | ||
+ | * hash - an auto-generate hash that is used when approving / rejecting the entry. | ||
* date_submitted - timestamp | * date_submitted - timestamp | ||
* company_name - 50 varchar | * company_name - 50 varchar | ||
Line 66: | Line 85: | ||
* comments - text | * comments - text | ||
* status - int(1) - (0 - submitted, 1 - confirmed, 2 - approved). | * status - int(1) - (0 - submitted, 1 - confirmed, 2 - approved). | ||
- | * high_profile - int (1) - (0 - no, 1 - yes) - examples of high profile mantis users are Airbus, Volvo, Zend, etc. | + | * high_profile - int (1) - (0 - no, 1 - yes) - examples of high profile mantis users are Airbus, Volvo, Zend, etc. -- This will be set manually in the database, default 0. |
===== Technical Requirements ===== | ===== Technical Requirements ===== | ||
Line 75: | Line 94: | ||
* Use PHPMailer for sending emails. | * Use PHPMailer for sending emails. | ||
* Have a single configuration file (no changes to source files to modify configs). | * Have a single configuration file (no changes to source files to modify configs). | ||
- | * Follow Mantis coding guidelines (http:// | + | * Follow Mantis coding guidelines (http:// |
+ | * It must be very easy to change the users directory page layout or the content of the emails. | ||
mantisbt/users_directory.1164514268.txt.gz · Last modified: 2008/10/29 04:31 (external edit)