created: 15/10/2014
by: Nicola Franchini
email: support@veno.it

Thank you for purchasing QRcdr.
If you have any questions that are beyond the scope of this help file, please feel free to email via my user page contact form here: http://codecanyon.net/user/nicolafranchini
Thanks so much!

lab.veno.it/qrcdr

 


Installation

Copy all files and folders from /qrcdr directory to your web space via FTP (put everything in the root if you will use the whole domain as file manager, otherwise create a custom directory and upload everything in it).

Navigate with your browser to the url where you uploaded the files.

That’s all! You are ready to use QRcdr with its default settings.


Options

Default settings are adjustable inside the file config.php:

$_CONFIG = array(
    'lang' => 'en',                            // main language
    'uploads_dir' => 'temp',                   // uploads directory
    'qrcodes_dir' => 'qrcodes',                // qr codes directory
    'delete_old_files' => true,                // delete periodically old files
    'file_lifetime' => 24,                     // delete files older than..(hours) from /uploads_dir and /qrcodes_dir
    'uploader' => true,                        // let users upload their own logo
    'upload_max_filesize' => 1000,             // max filesize in Kb
    'thumb_size' => 130,                       // size of the squared thumbnail after uploads
    'qr_bgcolor' => '#FFFFFF',                 // default background color for generated qrcodes
    'qr_color' => '#000000',                   // default foreground color for generated qrcodes
    'session_name' => 'qrSession',             // custom session name for the script
    'placeholder' => 'images/placeholder.png', // default placeholder
    'link' => true,                            // activate link tab
    'location' => true,                        // activate location tab
    'email' => true,                           // activate email tab
    'text' => true,                            // activate text tab
    'tel' => true,                             // activate telephone tab
    'sms' => true,                             // activate sms tab
    'wifi' => true,                            // activate wifi tab
    'vcard' => true,                           // activate v-card tab
    'paypal' => true,                          // activate PayPal tab
    'default_tab' => '#link',                  // available options: #link | #location | #email | #text | #sms | #wifi | #vcard | #paypal
    'detect_browser_lang' => false,            // detect browser language
    );

Watermarks

If you want to change or hide default watermarks, simply replace or remove the images inside images/watermarks/

.jpg, .gif, .png file are accepted

Location

If you want to change the default location shown by Google map, open js/all.js, line 55.

var start = new google.maps.LatLng(40.7127837, -74.00594130000002);

Customization

QRcdr is built with Bootstrap v3

You can change the default theme editing index.php and style.css

Since version 1.6 you have a starter template called index-demo.php which reproduce the online demo, with header and footer. It can be used together with the file style-demo.css
Edit its contents and when you are done rename it index.php and replace the default index


Manage translations

If you want to add your custom language, duplicate and rename the file lang/en.php using the 2-letters ISO code desired and update also the value 'lang' => 'en' inside your main config file config.php

Language menu is displayed with the following function:

<?php echo langMenu(); ?>

you can choose if display it as dropdown menu (default) or as simple list, and set a custom class:

<?php echo langMenu('list', 'customclass'); ?>

The first variable can be 'menu' or 'list', the second is an optional custom class assigned to language menu (default: 'langmenu')

All translatable terms, including page title, description, and meta-keywords are inside the respective .php file in /lang/ folder.

default: /lang/en.php


Embed

You can embed your self hosted generator everywhere using iframes:

<iframe width="100%" src="http://www.example.com/qrcdr/" ></iframe>

Notes

Print media styles, Typography, Forms and Tables are based on Bootstrap v3

Icons are based on Font Awesome 4.1