User Tools

  • Logged in as: anonymous (anonymous)
  • Log Out

Site Tools


mantisbt:users_directory

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
mantisbt:users_directory [2006/11/25 23:11] – created vboctormantisbt: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://www.mantisbugtracker.com/directory.php|users directory]] that we currently have.  However, it is populated from the approved entries in the database, rather than from entries that are hard-coded in the PHP file.+This page is similar to the [[http://www.mantisbugtracker.com/directory.php|users directory]] that we currently have.  However, it is populated from the approved entries in the database, rather than from entries that are hard-coded in the PHP file.  Following are some guidelines: 
 + 
 +  * 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.  The idea is to add a form from which website visitors can send emails to the administrator.  The form should have the following fields: 
 + 
 +  * 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.  The entry_id is not used since it is a predictable sequential number.
   * 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.  There should be a configuration entry that can be used to specify the path where phpmailer is installed on the webserver.   * Use PHPMailer for sending emails.  There should be a configuration entry that can be used to specify the path where phpmailer is installed on the webserver.
   * 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://www.mantisbugtracker.com/guidelines.php)+  * Follow Mantis coding guidelines (http://www.mantisbugtracker.com/guidelines.php)
 +  * It must be very easy to change the users directory page layout or the content of the emails.
  
mantisbt/users_directory.txt · Last modified: 2011/11/16 07:41 by atrol

Driven by DokuWiki