Blog Home | Forum Home | iCodes UK | iCodes US


Download and Configure Framework

Included in our service we allow you to downloada fully working code and offer website with admin area for you to use with our feeds.

If you prefer a no hassle, auto live updating, no database required site then download the Framework Live website.

Demo >> UK Framework <<
Demo >> US Framework <<

Step 1 – Download  >> UK Framework << or >> US Framework <<

Step 2 – Configure your framework script

 Replace ********** with your details

Open config.php

//icodes framework v3.0 16-02-2010

//database details

$db_username=”**********”;

$db_password=”**********”;

$db_database=”**********”;

$db_host=”**********”; //usually “localhost”

$table_prefix=”icodes”; //choose a suitable prefix to avoid any conflict with existing tables in your database

//end database details

//icodes details

$icodes_username=”**************”; // replace with your icodes username

$icodes_subscription_id=”***************”; //replace with your icodes subscription id

//end icodes details

//path to your script

$site_url=”**********”; // example: http://www.yoursite.co.uk

//end path to your script

Open ajax_search.js

(edit line 32 and enter your site url) example: http://framework.icodes.co.uk/path to your script)

var siteurl = “**********”; //example: http://www.yoursite.co.uk

//end path to your script

 

Step 3 – Create a Database and Database Username.

Step 4 – Upload your framework files using FTP software.

Step 5 – Login and Import Codes, Offers, Merchants and Categories.

 

Login to your admin area yoursite.co.uk/my_admin/

Username: username

Password: password

Click “create tables”

Click “import” and import codes, offers, merchants, categories

Login details can be changed in /my_admin/password_protect.php

Trouble Shooting

If you get the error: (URL file-access is disabled in the server configuration) then edit line 22 in config.php to use CURL

$httpRequest=”URL”; //options ‘URL’ CURL’

 

Please note – The framework sites can either be used to help you get started building your voucher code website, or for reference to see how to incorporate the webservices into your own websites. We will give support regarding the actual feeds, but not with the programming, although we do have a webservices forum you can use to ask programming questions.

Leave a Reply

Recent Comments