Installation instructions to get Koolielu plugin set up and running NB! During the developement period the creation of custom databases is hooked up with "/mod/koolielu/" plugin see "install_custom_databases" function in "/mod/koolielu/start.php". 1. Install elgg and configure it. Make sure that your PHP has all the required libraries. (Current required version is 1.6.1) 2. Make sure to install the PHP libraries needed by Koolielu. These are: exif, SOAP 3. Enable all koolielu package plugins 3.1 You will need to install custom databases. For that you would need to enable a creator-method. Go to ELGG_ROOT/mod/koolielu/ and edit "start.php" file uncomment function call "install_custom_databases();". Go to your browser and open any page of your elgg instance, refresh it. Databases should be installed now. NB! Make sure you undo the changes you have made to "start.php" file. 4. Curriculum database needs to be manually populated with the data. Data file can be found from "/mod/waramu/" named "curriculum.sql". 4.1 After you have populated the datebase, you might want to set all the level 1 objects as subjects. Assuming that your Database Prefix is "elgg" this can be done in this way (should be included at the end of the file): UPDATE elggcurriculum set isSubject=1 WHERE level=1; 5. Create folder "ke_data" into "ELGG_ROOT/", permission change might be needed (chmod 755 ke_data). 5.1 Create subfolder "images", "rss_cache", "tempstore" and "localstore" make sure webserver has permission to write to this directory. eg. chmod 755 5.2 Create a .htaccess file into "ke_data" folder. That file shouldtell teh system to show source code for executable files instead of executing them. eg. RemoveHandler cgi-script .pl .py .cgi .php .js 6. Add additional third-party plugins required by Koolielu. These are: - flickr: http://community.elgg.org/pg/plugins/dave/read/95/simple-flickr-widget - status: http://community.elgg.org/pg/plugins/gpo1/read/4187/status-mod - tagcloud: http://community.elgg.org/pg/plugins/steven/read/1275/tagcloud-plugin - xgadget: http://openedweb.com/blog/wp-content/uploads/xgadget.zip - customsearch http://community.elgg.org/pg/plugins/jeabakker/read/256951/full-text-search !NB Go to ELGG_ROOT/customsearch/, edit file index.php >>> change line 6 to $searchstring = addslashes(get_input('tag')); !NB addslashed will get over mysql error when searching with ' symbol !NB Read "Installation instructions", as you will have to make some changes to the core !NB Put following code instead of line 127 in "ELGG_ROOT/customsearch" file "index.php": if ($entity instanceof ElggEntity) { $entitiesList[] = $entity; } 7. Make sure that you enable all the needed plugins from the "Tool management". Some plugins should be disabled: "custom_index", "zaudio", "crontrigger", "categories", "embed", "logrotate". 8. Visit http://recaptcha.net/ and register API keys for your instance. Add these keys to [setting] of the "discussions" in "Tool Administration". - NB! reCaptcha is not longer used, default captcha plugin is used instead - NB! Enable Elgg captcha plugin for discussions to be used by anonymous users 9. You should install estonian language file, take the one named "et.php" in "mod/koolielu/" and add that to "ELGG_ROOT/languages/". 9.1 Additional plugins translation files are now part of Koolielu product package. Go to ELGG_ROOT/mod/koolielu/plugin_languages/ and run "install.sh" script. It will show you information for every plugin language file being istalled to "/languages" folder of the plugin. 10. Make sure you configure waramu plugin from Koolielu "Manage" section. You should provide "WSDL url", "username" and "password". Koolielu requires Waramu to be associated with it to work properly. 11. Install TCPDF library and write a path to that into "koolielu" plugin settings, use plugin management page for that. Homepage: http://www.tecnick.com/public/code/cp_dpage.php?aiocp_dp=tcpdf 11.1 Once you have installed TCPDF in your system. Go to Tools administration in koolielu portal administration part and add it to "koolielu" plugin settings. NB! Please check out the file "ELGG_FIXES.txt"