Miscellany

All given sections of the site are under the jurisdiction of a specific individual, generally recognized by office. That person is known as the Maintainer, and is responsible for providing the Internet Department with new content, requesting the deletion of old content, and for ensuring that their section complies with all relevant IDept regulations.


Naming Requirements

ALL directories and files will be named in all-lowercase.

The main page of any directory must be named index.html (or index.php if appropriate). All other index page names are forbidden. (Example: MainPage.html, fleetpage.html, etc.)

All file names should be descriptive of what they are, even if that results in a longer name. Thus:


Directories managed by non-IDept Personnel

Fleets

Each fleet will be given a directory of the form /stfX/, where X is the number of the fleet. The current FComm of each fleet will be recognized as Maintainer.

Ships

Each ship will be given a directory of the form /stfX/shipname/, where X is the fleet in which the ship resides and shipname is the standard name of the ship. The current CO of each ship will be recognized as Maintainer.

The "standard name" of a ship is defined as the name listed on the WeBB, converted to lower-case, minus any leading "USS" designation, minus any spaces. Thus, for example:

Departments

Each department will be given a directory named for the two- or three-letter abbreviation of the department, or other established "short name". For example:

The current QDir of each department will be recognized as Maintainer.

Sub-directories

The Maintainer of each directory may create an arbitrary number of subdirectories as needed, provided that each conforms to the naming rules specified in this document and remains in active use.

Maintainers are strongly encouraged but not required to use the current Internet Department template in order to maintain a consistent site-wide look-and-feel.


Directories managed by the Internet Department

All directories not falling under the jurisdiction of a Department, Fleet, or Ship as listed above are under the direct jurisdiction of the Internet Department. Historical directories may, under special circumstances, be granted leave to remain at their current location.

Selected subdirectories may be symbolically linked to the root web directory by the IDept upon request, but only if a reason can be shown for them to require "top billing". Department-specific directories may not exist at the top level; they may only be linked to there. For example, /id/irc/ -> /irc/.


Resource Directories

The following top-level directories will be maintained by the Internet Department:

Both directories will contain resources maintained by the Internet Department directly. Subdirectories may be created to ease organization of images. Image names will be selected by the Internet Department, and may be used by any STF web page or MOTD.

Additionally, each section of the site will have a subdirectory under the resource directory dedicated to it, and symbolically linked to their respective resource directories throughout the site. That is:

The reason for such "double-naming" is so that the Internet Department may maintain a centralized archive of all images to ensure that they remain consistently named and in use, while page and MOTD authors may maintain "local" archives of their sites that still have all of the links working.

The Internet Department reserves the right to rename resource files (images and stylesheets) to maintain a standard naming system. As per the STF Terms of Service, the Internet Department reserves the right to move a resource file to another directory if it is applicable to the club as a whole. By submitting a file for upload, the Maintainer gives permission for STF to do so and make the resource file available for other Maintainers to use. For instance, all rank pip images will reside under /images/ranks/... so that they may be referenced by all Maintainers without having duplicate copies cluttering up the system.

The Internet Department reserves the right to remove resource files that are not in use. If a resource file is to be moved or deleted, the relevant Maintainer will be notified at least one week prior to the removal.

Under no circumstances save for historical directories exempted above may resource files be placed in any directory except those described here. Such files will be removed immediately.

Resource files must be hosted on the STF server. Web pages on the STF server may not link to off-site resources, in order to maintain the performance and integrity of the system. Any references to off-site resources will be removed immediately, with appropriate notification to the Maintainer.

Special Resources

The following image files will have special significance:

Thus the following are valid:

The following style sheet files will have special significance:

Those directories will, of course, be linked to each section's resource directory.


File Types

Maintainers may provide HTML/XHTML documents for upload for their respective sections. Maintainers may provide PNG, JPG, or GIF images or CSS stylesheets to be added to the resource directories.

Maintainers may provide PHP-based scripts to be uploaded for dynamic pages if they prefer. However, all PHP code MUST be reviewed by at least one member of the IDept before it is uploaded to ensure that there are no security holes, and the IDept reserves the right to reject PHP scripts on security grounds.


Web Applications

Departments may at times need to use a web-based application, either developed by STF or a 3rd party open source application. That is permitted, subject to the following conditions:

The Internet Department reserves the right to review and audit all web applications and reject them on security grounds in order to protect the integrity of the system.


Uploading Files

All files to be uploaded should be sent to upload@star-fleet.com. The files must be sent as attachments, and the message must include the following:

You may choose to either: The IDept will upload the files as soon as possible, and inform the Maintainer when it has done so as well as the name of any submitted images, if they were changed.


How to Create a Web Site

As a practical example of how this works, here's how a CO would go about creating their ship's web page. The same applies for pretty much any other Maintainer. For this example, we will use the USS Alliance.

Create a directory (folder) on your own computer named "alliance". In that directory, create the following skeleton:
alliance
|
|- /images
|
|- /styles
| |- main.css
|
|- index.html

index.html is, of course, the main page for the site. main.css is the CSS file that applies to the entire site. Any other CSS files that apply to only part of it should be named something else, but also go in that directory ONLY. Image files should go in the /images directory ONLY.

When linking to an image file that is in your own image directory, use a relative URL, like so:

<img src="images/alliance-logo.png" alt="Logo" />
When linking to an image file that is in the main STF image directory, however, use a FULL URL:
<img src="http://www.star-fleet.com/images/ranks/collar/blue/cmdr.jpg" alt="Commander" />

The same applies for linking to CSS files.

The advantage of doing it this way is that the local copy will work completely fine, but when uploaded, it will still continue to work fine, even if the ship is moved to another fleet.

If for some reason you want to link to an image in another section (say, to the Fleet Four section), use a full path through the /images/ directory, like so:

<img src="http://www.star-fleet.com/images/stf4/stf4-logo.jpg" alt="Fleet Four" />

Do not do:

<img src="http://www.star-fleet.com/stf4/images/stf4-logo.jpg" alt="Fleet Four" />
While it may seem like it doesn't make a difference for a fleet, it does make a difference when linking to other ships and we'd like to be consistent.


Global, Fleet, and Ship Characters

effWeBB stores "characters" for members in a number of different places. There are three places: At the ship level, at the fleet level, and at the global level. Ship-level characters can be edited from the ship's Admin Menu. Fleet and Global characters can only be edited manually by the Internet Department. In order to ensure accurate and up-to-date data, the following rules apply to what characters may be created and by whom:

Ship

Ship characters are at the discretion of the ship commanding officer or other primary administrator. Department ships are at the discretion of the appropriate Department Director. Other ships are at the discretion of their edictified Maintainer.

Fleet

Fleet characters are unused, as any official positions are handled at the global level.

Global

All official Command positions will have a global character created for the appropriate individual by the IDept. That includes Fleet Commanders, Assistant Fleet Commanders, Department Directors, Assistant Department Directors, the President, Vice President, and any Executive Assistants. It does not include internal department positions like Dockmaster or Academy tutors. Member ranks will be included. Joke characters will not be included.