# AdLinkFly - Monetized URL Shortener

Buy Now

- by: Mighty Scripts
- www.mightyscripts.com/
- email: admin@mightyscripts.com

### System Requirements

- PHP >= 5.5.9
- mod_rewrite module
- openssl or mcrypt extension
- intl extension
- curl extension
- dom extension
- MySQL 5.1.10 or greater

### Installation

- Download the zipped package to your local computer from codecanyon and extract the ZIP file contents to a folder on your local computer.
- In the extracted folder you will find ‘AdLinkFly.zip’ Extract this file and upload its content using an FTP client to access your host web server where you would like to install the script.
- Make sure you make tmp, logs and config directories and its sub-directories are writeable.
- Open your website where you have uploaded the extracted content like http://www.mydomain.com/
- You can see the below video for installation and overview of all features

- First screen is to check for server requirments as you can see on the below image

- Step 1, add database credentials as you can see on the below image

- Step 2, is to create tables and load initial data as you can see on the below image

- Step 3, is to create the admin user as you can see on the below image

- Last step is to infor you that the installation is successfully done :)

### How To Upgrade

- Backup all files and database
- Upload and replace the old file with the new ones
- Open this URL http://your-domain.com/admin/upgrade then click on ”Upgrade Database” button
- That’s it :)

### Translating to your language

We’ve built Wiz to be translation ready so you can translate into any language. The process of translating the theme is a user responsibility. The following instructions are given only for guidance.

- Download and install POEDIT
- Connect to your site via FTP and open src/Locale folder
- Download en_US folder and rename it to your language For example, if you’re translating Chinese for China, the file should be name zh_CH, and for a Tagalog translation for the Philippines would be tl_PH
- Open that folder then open default.po file and open it with POEDIT.
- Translate file and save it.
- Two files will be generated after saving default.po and default.mo
- Upload the entire folder to src/Locale folder
- Navigate to Settings -> General and select your new language
- Click on "Save" button

### Adding Interstitial Ads Price

- Navigate to Admin area -> Ads -> Interstitial
- From there you will be able add publisher and advertiser prices for each country as you can see on the below image

### PayPal Integration

- Navigate to Administration Area -> Settings -> Pyament tab
- From there you can enable the following
  - Sandbox mode
  - Add Payment PayPal Business Email
  - Add currency code

as you can see on the below image

### Important: Integrate IPN

You must turn on IPN into your PayPal account and set the notification URL to be like the following

http://www.yourdomian.com/member/campaigns/ipn

and of course make sure to replace www.yourdomian.com with your domian

### Using Quick Link Tool

Everyone can use the shortest way to shorten links with AdLinkFly.

Just copy the link below to address bar into your web browser, change last part to destination link and press ENTER. AdLinkFly will redirect you to your shortened link. Copy it wherever you want and get paid.

    http://www.yourdomain.com/st/?api=<<api_token_code>>&url=yourdestinationlink.com

Each member can find this information by navigating to member area >> Tools >> Quick Link as you can see on the below image

### Using Mass Shrinker Tool

Each member can Enter up to 20 URLs (one per line) to be shrunk and added to your account. You can find this information by navigating to member area >> Tools >> Mass Shrinker as you can see on the below image

### Using Developers API

For developers AdLinkFly prepared API which returns responses in JSON format.
Currently there is one method which can be used to shorten links on behalf of your account.
All you have to do is to send a GET request with your API token and URL Like the following:

    http://www.yourdomain.com/api/?api=<<api_token>>&url=yourdestinationlink.com

You will get a JSON reposnse like the following

    {"status":"success","shortenedUrl":""http://localhost/adlinkfly/xxxxx""}

As you can see on the below image

### Manage Campaigns

You can manage campaigns by navigating to Admin area -> Campaigns from there you will be able to see all campaigns and you will be able to pause, resume, cancel campaigns as you can see on the below images

### Manage Withdraws

You can manage withdraws by navigating to Admin area -> Withdraws from there you will be able to see all withdraws and you will be able to approve and complete withdraws as you can see on the below images

### Enabling reCAPTCHA

reCAPTCHA will help you prevent spam by adding the reCAPTCHA into create acccount page and lost password page.

- Login to admin area.
- Navigate to Settings menu item then click on "Captcha" tab
- From there you can add reCAPTCHA creadentials as you can on the below image