Admin Config Section

This Book will explain, what each feature does in the admin config section.

From domain names to Uploading Settings.

Admin Email, Username and Password

Admin Email:
This is the email that will be sent, when a user registers onto your site.
It will also be displayed on the contact link on all pages.

Admin Name:
You're able to set the login name that admin can login as.
This field is then implented onto the Database for security.

Admin Password:
The Password for admin 'log in' can be set here, setting this email is encrypted and this is placed in database for extra security.

There is no limit towards the character and you're able to use a combination of letters and numbers. The admin password is case sensitive, so be sure to remember this when logged in.

Custom Features on/off

Attachmax has a group of Features that can be turned on or off. Here we briefly describe the purpose of each feature.

Use abBlocks:
Turning Adblocks on enables you to set up advertisments or custom blocks in specified regions.

Use upload progress meter:
Attachmax comes with an Advanced Progress meter, however it requires php patching, if your script isnt patched, you should leave this to off.

Use download ticket:
Admin is able to set a timer of how long videos should last before they are able to be downloaded by users. If you dont require this feature, it should be set to off.

Use user-friendly URL's:
In most servers this can be set to on, what this feature does is allow all url's to be displayed in short form, however if you dont have mod rewrite enabled, this needs to be off.

Use Perl upload:
This can be set to on, if you would like a progress indicator, as most servers have Perl, this will give shared hosting an opportunity to have indication of uploading progress. Use strict hotlink protection:

Extensions

There are 3 different forms that can be controlled in the Extensions field.

Image Extensions:
Video Extensions:
Other Extensions:

To add an extension type in the letters of the extension into the related type. If needed add a comma to seperate the extensions.

Example: You wanted to add wmv into the streaming extension.
Current extensions are:
mpeg,mpg,avi,mov,asf,rm,flv,mp3,mp4

To add wmv, that list would now look like:
mpeg,mpg,avi,mov,asf,rm,flv,mp3,mp4,wmv
This is the step you would take for any of the extension types.

Each of these types output in different ways.
The first extension acts an image, when a user uploads an image, it will display relevant hotlinking information to enable a user to post these images outside of the script.
Other options are that it will allow you to view your uploaded image.

Addin an extension to the Video types, allows Videos to streamed after they have been uploaded.

The last extension is Other, this will treat any extension, as an extension that can be downloaded, but not streamed, or viewed.

Another Option is Forbidden Extensions, this will be phased out of this version, but it will allow certain extensions to not be available to be uploaded, for security purposes.

Limiting Uploading, Comment, Rating Access

Admin has the ability to limit permissions via 4 sets of Drop Down Menu's.

Comments permissions:
Via this menu, you're able to restrict comments being made from guests or Registered Users only.

Type of upload access:
Via this option, you can set whether you would like All users to be able to upload or only Registered Users.

Use rate feature for users:
This allows you to choose whether you would like Users to be rated.

Use rate feature for files:
Here you also have the option to set the rating feature for files, usually Compressed Files (Other Files Extension)

Premium Settings

Attachmax is more than just a youtube clone, it can also operate as a paid Downloading Membership Service. Therefore you will need several key features that will allow you to seperate the Guest users from Paid Users.

There are three key points here:
Guest Speed Limit: This will affect the speed for all registered users, if you have a value of 200, then 200 will be the maximum that each user will be able to download at.

Guest Thread Limit:
This allows users to set the number of connections that a Guest may have, for instance, a value of one will only allow 1 download at a time. "0" will allow infinite downloads.

Guest Key Timeout:
This will be the amount of time a user must be able to download this file, before that download is considered timed out.

This also acts as hotlinking protection, so the same download link will not be accessible after a certain time period.

The Premium Settings act the same way, the only difference is that it affects Registered or Paid Members.

Site Name

This will be displayed, on the title of every page, followed by the content title.

Example: Site Name = 'Attachmax'

Nike Football Joga Bonito Ibrahimovic vs C Ronaldo - 'Attachmax'

Site Url & Absolute path

Site URL:
This feature basically sets the Domain Setting.

Its usually filled in with the installation, if another domain is set, your downloads will be pointing to the location of another domain.

Absolute path to site:
This is the full path to where you script is run from, changing this values alters the location of the script. This factor is also set up with the installation. So in most cases its not needed to change.

Store without counting rate for (Days)

There's a special script on attachmax that can delete any file on your webpage, by running a certain file on your webpage.

Via admin you can control the specifics.

Setting this allows you to: Start calculating the time until x(Days) has been reached.

So for instance, if you set (Days) to 10, then after 10 Days, this file will now be able to be deleted on Server.

This works in conjuction with the field:
(Min downloads per day to keep file saved)

Using these two factors combined you can set formula to delete unpopular Videos/Files.

Min downloads to keep file saved

In conjuction with: [Store without counting rate for (Days)]
and
[Min downloads per day to keep file saved]

You have the ability by running a file on your server, to delete unpopular or unused Videos on your Server. There are two values in, [Min downloads per day to keep file saved] that determine the popularity of the files.

The first value, determines, the amount of (x)avg amount of Downloads a file must have before it can be deleted.

The second value, determines the amount (x) days that a file must be before it can be deleted.

Here is a formula to work out this AVG = [# of downloads] / [Days file has been on server]

So for example:
avg = 14
days - 6

Then the value to delete files will be 14/6 = 2.2

Video Tool

The Video Tool is a powerful feature of attachmax, basically through 3 radio buttons, it changes how the Videos will be Displayed and Encoded.

Video Tool:
Here you have 3 choices:
- FFmpeg
If your server is compiled with ffmpeg, you're able to choose ffmpeg and your videos will be encoded using ffmpeg encoder.

You'll have the option to set these values.
Bitrate:
The affects the quality of the Video, choosing a value such as 750k is average quality, Putting a number such as 2000 is higher quality, however it will take longer to load the video.

Resolution:
This affects the size of the Video, the larger value you set, the more quality is produced for larger viewing sizes. You should match this to the size of your player.

- Mencoder
Mencoder is an alternative to FFmpeg, if your server isn't compiled with ffmpeg and is compiled with mencoder, than you're able to switch from the different encoders at your disposal. Mencoder is set to be a faster option and supports more Video Formats, with very good picture quality under compression. Bitrate and Resolution can also be set for Mencoder.

- None
Choose this option if your server doesn't have FFmpeg or Mencoder Software, this will allow you to share videos, and add thumbnails, the only difference is that the final video isn't in Flash Format and thumbnails will be create Manually rather than Automatically.