documentation

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

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.

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.

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.

Admin Config Section

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

From domain names to Uploading Settings.

Convert wmv files Automatically

You can set up your crontab to automatically, convert your wmv files.

1)Set up crontab
#crontab -e

Using your editor add this lines

*/10 * * * * /usr/bin/lynx -source http://www.yourdomain.com/convert_wmv.php

Where yourdomain.com is the url of your where your script is installed.

This will set up your script to run the conversion script if needed every 10 minutes.

To manually run this command anytime, just type in your browser - http://www.yourdomain.com/convert_wmv.php

Changing Contact Email

How to change Contact Email

1)Log into your Admin panel, and navigate to Config section

2)Replace Admin Email with yours

This will affect, every contact page as well as the Registration Contact Details.

Changing Flash Player Text

Attachmax v2.0.2

To change Text on Flash Player
1)Navigate to frontend/dl/player_notwmv.tpl Find attachmax.com
value="flvTitle=AttachMax.com
Replace with any value

i.e value="flvTitle=yourdomain.com

Full structure to look like

Attachmax v2.1.0

To change player pop up text, you can edit configPlayers.php file, find line with
'flvTitle' => 'AttachMax.com'
and change 'AttachMax.com' to your title.

Tariffs

More About Tariffs
Tariffs basically control the Payment Mechanism for the Attachmax Script, currently there is two Payment method which the administrator can receive payment.
- RSS Feed Advertising (http://yourdomain.com/advertise.php)
- or via Premium Memberships (http://yourdomain.com/register.php).

By default the script creates a Free Tariff for Premium Registration.
Also created by default is Gold, Silver, Bronze for the Rss Feed Advertising.
Basically the concept is that you can give priority to High Paid Advertisements, and organise them via Names.


What's configurable?
Customizable in the admin section is the removal of all current tariffs and the creation of new payment methods..
Allowing you the option to set these factors:
- Name
- Price
- Time Period
- Type of Payment
- Priority for Rss Feeds

The option to create these fields can be done via in the empty form fields, upon entering the information below, you will then be able to click the Add New Button.
Or to edit any current field, just make the changes in current fields and click the Update Button.

Approve Rss Feeds

Approve RSS

When users Purchase Rss Feeds via
http://yourdomain.com/advertise.php

You will then have the ability to Approve or Disapprove the Rss Feeds via admin.
Firstly it will show relevant information such as:
- Category chosen
- If payment was made
- Date Submitted
- Title of the Feed
- Full Passage of the feed
- Link to the Rss Feed

Then you will be able to approve the Rss Feed, which will then be submitted into the chosen category section for that feed.