Recent versions: ||| Galaxytool: v5.1 ||| Galaxytoolbar: v2.6.32 |||

Installation

From Galaxytool wiki
Revision as of 01:14, 18 December 2006 by 85.97.150.116 (talk) (After installation)
Jump to: navigation, search

After donwloading the file, you need to extract it. After that you will have to modify the config.php to suit your needs. You receive the required information for the database connection from your webhoster. If the modification of your config.php is finished, you need to upload all files to your server. Start the install.php on your webserver by typing adress.of.your.webspace/path/to/galaxytool/install.php in your browser and see what happens (of course with your specific address and path). If there are any problems during the installation, you have to look what is wrong with your config.php! After the installation you should delete the install.php and the update.php. The attributes.php allows to modify the Galaxytool, but you donÄt need to change anything there.

And now a detailed description of the config.php:



attributes.php

$owner = 'yourname'; 

Write your alliance or OGame nickname in the quotation marks. It is shown at the login screen to show which tool you are using if you play in different univereses.

$maxshouts = 15; 

This is the number of shouts shown in the shoutbox on the overview page. All shouts which are not shown are deleted!

$statspage = 100; 

Number of entries at the statistics page. If you don't like to scroll down use a smaller number.

$email_from = $_SERVER['SERVER_ADMIN']; 

Here you can add an email address which should be shown in the FROM field of registration emails. Put the address between quotation marks. If someone registers himself at the galaxytool, an email is sent to this address showing that someone registered and needs to be activated. If you want to disable registering, you have to delete the register.php file.

$default_language = 'german'; 

Write the default language for the tool in the quotation marks. You can choose between: german, english, spanish, dutch, balkan, french, portugues, turkish, danish, italian and polish.

$default_charset = 'iso-8859-1'; 

This iso-code should work for most languages. If not - adjust it for your needs.

Modify the main menu

$additional_links_english = array( 
'Ogame' => 'http://www.ogame.de' 
); 

In this example the main menu gets an additional link to the OGame startpage. If you like, you can add new links (e.g. to your alliance board) by adding a new entry.

$additional_links_english = array( 
'Ogame' => 'http://www.ogame.de',
'Allyboard' => 'http://www.yourallypage.de/path/to/board'
); 


The more links you add, the more complex the main menu will get. You modify only the english main menu in this example. If you want to have the extension in other languages too, you need to modify their array too.

Ostat

After several requests to add links to ostat these links are integrated now. You need to modify the ostat-server ("de" for german, or "org" for english universes). You should always fill in the universe value, to help other users to know for which universe the tool is used. The universe is shown above the main menu if you have filled in a value.

$ostat_universe = '2'; 
$ostat_server = 'org'; 

This is an example for the english universe 2.

After installation

After the installation you have to delete the install.php and the update.php!

The first login:

Loginname: ilkbay
Password: ilkbay

You should change the password for the admin account after you log in the first time!