Step by step installation guide
- PHP 5.6+ with crypt_blowfish and GD Library with freetype support enabled
- MySQL version 4.0+ Database
- 10+ MB Free Space
- FTP Access
- Write/Read Access (CHMOD777/755)
- Apache Server with mod_rewrite enabled
Product by themeZO
If you need any kind of help don't hesitate to Email. Thank you!
Table Of Contents
Thank you for purchasing this script. This template allows you to build, run, maintain, and customize your own monetized link shortener, similar to sites like AdFly or Shorte.st.
This documentation is intended to be a guide for installing, customizing, maintaining, and supporting your own LinkGEN installation. It will cover installation, using the administration panel, customizing aspects (such as developing your own theme), and more.
Please note that we do provide basic support for this script and your custom installation as long as it directly relates to your legally purchased copy of LinkGEN and concerns bugs and/or other issues. We do not provide support for 3rd-party themes, plugins, or your own script customizations.
Our code is fully documented and accessible. We do not provide free template customizations
Username: admin Password: password
It is recommended you change the admin password from ‘password’ to something a lot more secure. You can do this by visiting http://yourdomain.com/my_account while logged into the main admin account (username: admin).
One of the first things you might want to do is to change the name of the site to a name of your liking. The site name appears often in the default template, and it is recommended that the name be short, e.g. similar to adf.ly.
You can change the Site Name on the ‘General’ page in the admin panel. Make sure that you hit ‘Save’ on the bottom of the page after making changes.
There are different ways to change the site logo and alternative logo:
On the same page, ensure to change the timezone to the timezone where the server is located in. Refer to the following site for timezone codes: http://php.net/manual/en/timezones.php
The publisher dashboard allows publishers to create, manage, and view their shortened links and see how well they are doing.
The dashboard allows members to directly shorten links without visiting the home page. It also presents account information like username, account balance, and e-mail.
Clicking on Statistics will present the same information as the ‘Statistics’ panel in the Dashboard, but for an individual link.
Interstitial Banner
If no campaign is found, no ads will be shown and the user will be immediately redirected to the link.
Rates define different prices and locations that advertisers can purchase. For example, one rate named ‘US Package’ could be priced at 1.00 USD CPM with location ‘US’. This means, that if an advertiser purchases this rate, they have to pay 1 USD for every thousand views their campaign receives. Also, the campaign is then only displayed to visitors from the United States.
You can view, create, and delete rates in the administration panel under ‘Campaigns’, then ‘Rates’.
In the admin panel under ‘Campaigns’, then ‘Settings’, you can change the following percentages:
Your share of profit from each valid view would then be: 100% - Publisher Percentage = Your Profit
Here is an example for competitively priced rates that have proven to be effective:
You can change the global site language under ‘General’ in the admin panel. You can turn off the language picker by unchecking ‘Show language picker’ and saving the changes. Languages are automatically discovered - simply place them in the ‘langs’ folder and ensure the filename ends with ‘.lang.php’.
In order to translate the whole main website (not the admin panel), linkGEN uses PHP language files. These files simply contain an array with the translations that are then used by the template and some core functions.
As of version 1.0, LinkGEN is prepackaged with an english translation file. Use this file as a template for further translations.
In order to add a new translation, simply copy the ‘english.lang.php’ file located in the ‘langs’ folder. Then, rename the file to ‘new_language.lang.php’, where new_language is the language of the new translation (e.g. ‘german.lang.php’ or ‘swedish.lang.php’). Please note that the name of the language in the file name is also the name that will be displayed in the language picker and the admin panel.
In your new language file, simply start translating by replacing the text in the quotes after each array item with the new translation.
For example, this is what it might look like for an English-German translation:
Original ‘english.lang.php’:
$langs[0] = 'Earn money by sharing links.'; $langs[1] = 'Get paid to share your links on the Internet!'; $langs[2] = 'Your link will be immediately shortened. Want to earn money while you are at it? '; $langs[3] = 'Make money with links'; …
New ‘german.lang.php’:
$langs[0] = 'Verdiene Geld bei dem Du Links verteilst.'; $langs[1] = 'Werde bezahlt Deine Links im Internet zu verteilen!'; $langs[2] = 'Ihr Link wirdt sofort gekuerzt. Willst du Geld damit verdienen?'; $langs[3] = 'Verdiene Geld mit Links'; ...
Since pages are not stored in the language files but in the database, you have to translate them through the admin panel. If the language is different than the language that the page is stored as, the page will not be found. However, you can have translated pages with the same slug in order for the translated pages to appear when a different language is set.
For example, to translate the ‘about’ page, simply add a new page under ‘Pages’ in the admin panel. You can then translate the title and content, but make sure that for slug you put ‘about’, since this is the translation for the about page. For the language field, put the language of the translated page.
Creating your own theme requires knowledge of Smarty, a PHP templating engine. To get started, it is a good idea to copy the ‘default’ template folder and start from there. Refer to the Smarty Documentation to learn more.
v1.1 — First release