To install the aplication follow these steps:
$K->SITE_URL = 'http://www.yourdomain.com/';
// MySQL SETTINGS $K->DB_HOST = 'YOUR_SERVER_DB'; $K->DB_USER = 'YOUR_USER_DB'; $K->DB_PASS = 'PASS_DB'; $K->DB_NAME = 'NAME_DB';
In the folder "Applicacion" edit the file ".htaccess".
This step is very important, so do it right. The proper functioning of the website is conditional on this file is properly configured.
<IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{HTTP_HOST} ^yourdomain\.com$ [NC] RewriteRule ^(.*)$ http://www.yourdomain.com/$1 [R=301,L] RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?%{QUERY_STRING} [NE,L] RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L] </IfModule>
5. RewriteBase /
5. RewriteBase /yourfolder/
The application is divided into the following folders:
This is the folder where you store files uploaded by users. This folder in turn is subdivided into:
This is the folder where the files most important application. Are the classes, languages and controllers. In this folder you can find the following:
This is the folder where the themes that are used in the application. This folder in turn is subdivided into:
In future updates can add new themes in this folder.
The Themes are located in the folder "themes".
Each theme folder, has in turn other folders: css, html, imgs, js.
If you want to create your own theme, can use as reference the themes that comes into the application.
The fastest way to have your own theme, is duplicating a folder theme and then editing the files it contains.
First edit the file theme.php:
<?php
$current_theme = (object) array (
'name' => 'Default Theme',
'version' => '1.0',
'description' => 'Default Theme for iSocial.',
'author_name' => 'Kanorika Team',
'author_url' => 'http://www.kanorika.com',
'author_email' => 'info@kanorika.com',
);
?>
The line to edit to have a thme with other name is:
'name' => 'Default theme',
Then proceed to edit the CSS file css.css (file located in the folder CSS) to give the desired look.
The folder where the language files is: system/languages/
Each language has a folder, for example es (spanish), en (english).
If you want to create a new language, only duplicates a folder and change the texts with the desired language.
The text within the language files have the following structure:
'dashboard_vmenu_opc_home' => 'Home', 'dashboard_vmenu_opc_myinformation' => 'My Information', 'dashboard_vmenu_opc_myphotos' => 'My Photos', 'dashboard_vmenu_opc_mymessages' => 'My Messages', 'dashboard_vmenu_opc_myfavorites' => 'My Likes', 'dashboard_vmenu_opc_mycomments' => 'My Comments', 'dashboard_vmenu_opc_followers' => 'My Followers', 'dashboard_vmenu_opc_following' => 'My Following', 'dashboard_vmenu_opc_logout' => 'Log Out',
username: usermain
password: 123456
You can visit to see a demo functional: www.kanorika.com/isocial/demo
User: usermain
Password: 123456
This user is an administrator.
Thank you so much for purchasing this aplication. I'd be glad to help you if you have any questions relating to this theme. No guarantees, but I'll do my best to assist. If you have a more general question relating to the aplication, please do so to info@kanorika.com.