Additions:
~6 Navigate to the site and log in as an administrator (admin/test)
~6 Go to wherever you put the installation - for example http://localhost/infox-0.98/ - and log in with the upper left hand corner, using the pair "admin" and "test" as username/password
~6 Go to wherever you put the installation - for example http://localhost/infox-0.98/ - and log in with the upper left hand corner, using the pair "admin" and "test" as username/password
Deletions:
~6 Go to wherever you put the installation - for example http://localhost/infox-0.98/ - and log in with the upper left hand corner
Additions:
~5 Edit includes/config.inc.php and set the database variables and email variables
~7 Use the software - please view down below the section titled "Translation Notes"
~5 Edit ##includes/config.inc.php## and at least set up the database variables and the email url
~7 Read the section below titled "Translation Notes"
~7 Use the software - please view down below the section titled "Translation Notes"
~5 Edit ##includes/config.inc.php## and at least set up the database variables and the email url
~7 Read the section below titled "Translation Notes"
Deletions:
~7 Edit passReset to give proper URLs in the emails
~8 Use the software - please view down below the section titled "Translation Notes"
~5 Edit ##includes/config.inc.php## and at least set up the database variables
~7 Edit line 79 of passReset.php
~8 Read the section below titled "Translation Notes"
Additions:
~7 Edit passReset to give proper URLs in the emails
Deletions:
Additions:
~7 Edit line 79 of passReset.php
~8 Read the section below titled "Translation Notes"
~8 Read the section below titled "Translation Notes"
Deletions:
Additions:
~7 Edit the lost password emails to include your new URL
~8 Use the software - please view down below the section titled "Translation Notes"
~8 Use the software - please view down below the section titled "Translation Notes"
Deletions:
Additions:
~1 Make sure that you have PHP 4.3+ or MySQL 4 on your server.
~~- create a script with just ##phpinfo();## in it to obtain information about your copy of PHP, or if you have shell access and a CLI version of PHP you can use ##php -version##
~~- to obtain your MySQL version you can type ##mysql -v##
~2 Visit [[InfoXDownloads our download page]] and pick the appropriate version and appropriate archive form. Windows users probably want the ##.zip## file and Unix/Linux (this includes OSX) users probably want the ##.tar.gz##
~3 Decompression
~~- Users with a ##.zip## file can use Win Zip or another utility to uncompress
~~- Users with a ##.tar.gz## file can either use Win Rar (windows) or use ##tar -zxvf infox-whatever.tar.gz## (Unix/Linux and variants)
~~ //where # represents a number in your file name (eg infox-0.98.tar.gz)//
~4 ##mysql -u (username) -P < dump.sql## from the /sql directory
~5 Edit ##includes/config.inc.php## and at least set up the database variables
~6 Go to wherever you put the installation - for example http://localhost/infox-0.98/ - and log in with the upper left hand corner
~7 Read the section below titled "Translation Notes"
Now that you're set up, read [[InfoXHelp our help]] for more details!
Right now Info-Exchange is rigged to provide both a Spanish and English version, the default language is set to Spanish. If you want to view the english version without being logged in append ##?l=en## to any URL.
If you want to change the dictionary please edit the database tables ##lang_en## and ##lang_es## respectively. If you edit any of the KEY field, or add new ones you will need to go into the PHP and edit the ##translate()## call for that string. If you wish to add a new dictionary, make ##it lang_[tag]## and go into the ##languages## table and insert a record with the tag, description and enabled (set to either 0 or 1). Then insert the translation into ##lang_[tag]## for all the keys in the system.
<< Hint: it might help to dump ##lang_en## or ##lang_es## to get all the keys. [[http://sourceforge.net/projects/phpmyadmin phpMyAdmin]] is quite nice, or you can find another front-end tool on the web. <<::c::
~-Instead of plaintext, have a call to ##translate()## on a key for the new text
~-Create a table called ##lang_tag## (where tag is like en, esr, es, fr) with the structure of ##lang_tag(KEY, value)## where KEY is also a primary key/unique. Both fields are varchar.
~-Insert a record into languages, example: ##INSERT INTO languages(tag,description,enabled) VALUES('en','English',1)##
~~- create a script with just ##phpinfo();## in it to obtain information about your copy of PHP, or if you have shell access and a CLI version of PHP you can use ##php -version##
~~- to obtain your MySQL version you can type ##mysql -v##
~2 Visit [[InfoXDownloads our download page]] and pick the appropriate version and appropriate archive form. Windows users probably want the ##.zip## file and Unix/Linux (this includes OSX) users probably want the ##.tar.gz##
~3 Decompression
~~- Users with a ##.zip## file can use Win Zip or another utility to uncompress
~~- Users with a ##.tar.gz## file can either use Win Rar (windows) or use ##tar -zxvf infox-whatever.tar.gz## (Unix/Linux and variants)
~~ //where # represents a number in your file name (eg infox-0.98.tar.gz)//
~4 ##mysql -u (username) -P < dump.sql## from the /sql directory
~5 Edit ##includes/config.inc.php## and at least set up the database variables
~6 Go to wherever you put the installation - for example http://localhost/infox-0.98/ - and log in with the upper left hand corner
~7 Read the section below titled "Translation Notes"
Now that you're set up, read [[InfoXHelp our help]] for more details!
Right now Info-Exchange is rigged to provide both a Spanish and English version, the default language is set to Spanish. If you want to view the english version without being logged in append ##?l=en## to any URL.
If you want to change the dictionary please edit the database tables ##lang_en## and ##lang_es## respectively. If you edit any of the KEY field, or add new ones you will need to go into the PHP and edit the ##translate()## call for that string. If you wish to add a new dictionary, make ##it lang_[tag]## and go into the ##languages## table and insert a record with the tag, description and enabled (set to either 0 or 1). Then insert the translation into ##lang_[tag]## for all the keys in the system.
<< Hint: it might help to dump ##lang_en## or ##lang_es## to get all the keys. [[http://sourceforge.net/projects/phpmyadmin phpMyAdmin]] is quite nice, or you can find another front-end tool on the web. <<::c::
~-Instead of plaintext, have a call to ##translate()## on a key for the new text
~-Create a table called ##lang_tag## (where tag is like en, esr, es, fr) with the structure of ##lang_tag(KEY, value)## where KEY is also a primary key/unique. Both fields are varchar.
~-Insert a record into languages, example: ##INSERT INTO languages(tag,description,enabled) VALUES('en','English',1)##
Deletions:
<li> Make sure that you have PHP 4.3+ or MySQL4 on your server.
<ul>
<li> create a script with just phpinfo(); in it to obtain information about your copy of PHP, or if you have shell access and a CLI version of PHP you can use <code>php -version</code>
<li> to obtain your MySQL version you can type <code>mysql -v</code>
</ul>
<li> Visit <a href=http://epiphanic.org/Wikka/wikka.php?wakka=InfoXDownloads>our download page</a> and pick the appropriate version and appropriate archive form. Windows users probably want the <code>.zip</code> file and Unix/Linux (this includes OSX) users probably want the <code>.tar.gz</code> or <code>.bz2</code> file
<br>
<li>
<ul><li>Users with a <code>.zip</code> file can use WinZip or another utility to uncompress
<li>Users with a <code>.tar.gz</code> file can either use WinRar (windows) or use <code>tar -zxvf infox-#.##.tar.gz</code>
<li>Users with a <code>.gz2</code> file can probably use <code>tar -zjvf infox-#.##.tar.gz</code>
</ul>where # represents a number in your file name (eg infox-0.98.tar.gz)
<li> <code>mysql -u (username) -P < dump.sql</code> from the /sql directory
<li> Edit includes/config.inc.php and at least set up the database variables
<li>Go to wherever you put the installation, for example http://localhost/infox-0.98/ and log in with the upper left hand corner
<li>Read the section below titled "Translation Notes"
<br>
<li>Now that you're set up, read <a href=http://epiphanic.org/Wikka/wikka.php?wakka=InfoXHelp>our help</a> for more details!
</ol>""
Right now Info-Exchange is rigged to provide both a Spanish and English version, the default language is set to Spanish. If you want to view the english version without being logged in append ""<code>?l=en</code>"" to any URL.
If you want to change the dictionary please edit the database tables ""<code>lang_en</code>"" and ""<code>lang_es</code>"" respectively. If you edit any of the KEY field, or add new ones you will need to go into the PHP and edit the ""<code>translate()</code>"" call for that string. If you wish to add a new dictionary, make it lang_[tag] and go into the ""<code>languages</code>"" table and insert a record with the tag, description and enabled (set to either 0 or 1). Then insert the translation into lang_[tag] for all the keys in the system.
<< Hint: it might help to dump ""<code>lang_en</code>"" or ""<code>lang_es</code>"" to get all the keys. [[http://sourceforge.net/projects/phpmyadmin phpMyAdmin]] is quite nice, or you can find another front-end tool on the web. <<::c::
~-Instead of plaintext, have a call to translate() on a key for the new text
~-Create a table called lang_tag (where tag is like en, esr, es, fr) with the structure of lang_tag(KEY, value) where KEY is also a primary key/unique. Both fields are varchar.
~-Insert a record into languages, example: ""<code>INSERT INTO languages(tag,description,enabled) VALUES('en','English',1)</code>""
No Differences
Revision [62]
Edited on 2005-06-07 23:41:14 by KogAdmin [rough import of MediaWiki content... still needs editing]Additions:
==== How to install Information Exchange ====
Please make sure you read [[InfoXLicensing our licensing]] before continuing.
== Requirements for [[InfoExchange]] ==
~-A webserver capable of running PHP (we used Apache)
~-PHP 4.3 or greater
~-MySQL 4 or greater
== Quick guide ==
~1 Make sure you meet the requirements listed above
~2 Obtain a copy of the software from [[InfoXDownloads our download page]]
~3 Uncompress the software in a web accessible folder (tar -zxvf, unzip etc)
~4 Use the SQL creation script
~5 Edit includes/config.inc.php and set the database variables
~6 Navigate to the site and log in as an administrator
~7 Use the software - please view down below the section titled "Translation Notes"
== The Longer, more detailed guide ==
""<ol>
<li> Make sure that you have PHP 4.3+ or MySQL4 on your server.
<ul>
<li> create a script with just phpinfo(); in it to obtain information about your copy of PHP, or if you have shell access and a CLI version of PHP you can use <code>php -version</code>
<li> to obtain your MySQL version you can type <code>mysql -v</code>
</ul>
<li> Visit <a href=http://epiphanic.org/Wikka/wikka.php?wakka=InfoXDownloads>our download page</a> and pick the appropriate version and appropriate archive form. Windows users probably want the <code>.zip</code> file and Unix/Linux (this includes OSX) users probably want the <code>.tar.gz</code> or <code>.bz2</code> file
<br>
<li>
<ul><li>Users with a <code>.zip</code> file can use WinZip or another utility to uncompress
<li>Users with a <code>.tar.gz</code> file can either use WinRar (windows) or use <code>tar -zxvf infox-#.##.tar.gz</code>
<li>Users with a <code>.gz2</code> file can probably use <code>tar -zjvf infox-#.##.tar.gz</code>
</ul>where # represents a number in your file name (eg infox-0.98.tar.gz)
<li> <code>mysql -u (username) -P < dump.sql</code> from the /sql directory
<li> Edit includes/config.inc.php and at least set up the database variables
<li>Go to wherever you put the installation, for example http://localhost/infox-0.98/ and log in with the upper left hand corner
<li>Read the section below titled "Translation Notes"
<br>
<li>Now that you're set up, read <a href=http://epiphanic.org/Wikka/wikka.php?wakka=InfoXHelp>our help</a> for more details!
</ol>""
== Translation Note ==
Right now Info-Exchange is rigged to provide both a Spanish and English version, the default language is set to Spanish. If you want to view the english version without being logged in append ""<code>?l=en</code>"" to any URL.
If you want to change the dictionary please edit the database tables ""<code>lang_en</code>"" and ""<code>lang_es</code>"" respectively. If you edit any of the KEY field, or add new ones you will need to go into the PHP and edit the ""<code>translate()</code>"" call for that string. If you wish to add a new dictionary, make it lang_[tag] and go into the ""<code>languages</code>"" table and insert a record with the tag, description and enabled (set to either 0 or 1). Then insert the translation into lang_[tag] for all the keys in the system.
<< Hint: it might help to dump ""<code>lang_en</code>"" or ""<code>lang_es</code>"" to get all the keys. [[http://sourceforge.net/projects/phpmyadmin phpMyAdmin]] is quite nice, or you can find another front-end tool on the web. <<::c::
Adding pages is easy:
~-Write the PHP
~-Instead of plaintext, have a call to translate() on a key for the new text
~-Insert records into the DB for all the languages for the new key
Adding a dictionary:
~-Create a table called lang_tag (where tag is like en, esr, es, fr) with the structure of lang_tag(KEY, value) where KEY is also a primary key/unique. Both fields are varchar.
~-Insert a record into languages, example: ""<code>INSERT INTO languages(tag,description,enabled) VALUES('en','English',1)</code>""
~-Do a bunch of inserts for the KEY value, with the string value being your languages' equivalent.
Please make sure you read [[InfoXLicensing our licensing]] before continuing.
== Requirements for [[InfoExchange]] ==
~-A webserver capable of running PHP (we used Apache)
~-PHP 4.3 or greater
~-MySQL 4 or greater
== Quick guide ==
~1 Make sure you meet the requirements listed above
~2 Obtain a copy of the software from [[InfoXDownloads our download page]]
~3 Uncompress the software in a web accessible folder (tar -zxvf, unzip etc)
~4 Use the SQL creation script
~5 Edit includes/config.inc.php and set the database variables
~6 Navigate to the site and log in as an administrator
~7 Use the software - please view down below the section titled "Translation Notes"
== The Longer, more detailed guide ==
""<ol>
<li> Make sure that you have PHP 4.3+ or MySQL4 on your server.
<ul>
<li> create a script with just phpinfo(); in it to obtain information about your copy of PHP, or if you have shell access and a CLI version of PHP you can use <code>php -version</code>
<li> to obtain your MySQL version you can type <code>mysql -v</code>
</ul>
<li> Visit <a href=http://epiphanic.org/Wikka/wikka.php?wakka=InfoXDownloads>our download page</a> and pick the appropriate version and appropriate archive form. Windows users probably want the <code>.zip</code> file and Unix/Linux (this includes OSX) users probably want the <code>.tar.gz</code> or <code>.bz2</code> file
<br>
<li>
<ul><li>Users with a <code>.zip</code> file can use WinZip or another utility to uncompress
<li>Users with a <code>.tar.gz</code> file can either use WinRar (windows) or use <code>tar -zxvf infox-#.##.tar.gz</code>
<li>Users with a <code>.gz2</code> file can probably use <code>tar -zjvf infox-#.##.tar.gz</code>
</ul>where # represents a number in your file name (eg infox-0.98.tar.gz)
<li> <code>mysql -u (username) -P < dump.sql</code> from the /sql directory
<li> Edit includes/config.inc.php and at least set up the database variables
<li>Go to wherever you put the installation, for example http://localhost/infox-0.98/ and log in with the upper left hand corner
<li>Read the section below titled "Translation Notes"
<br>
<li>Now that you're set up, read <a href=http://epiphanic.org/Wikka/wikka.php?wakka=InfoXHelp>our help</a> for more details!
</ol>""
== Translation Note ==
Right now Info-Exchange is rigged to provide both a Spanish and English version, the default language is set to Spanish. If you want to view the english version without being logged in append ""<code>?l=en</code>"" to any URL.
If you want to change the dictionary please edit the database tables ""<code>lang_en</code>"" and ""<code>lang_es</code>"" respectively. If you edit any of the KEY field, or add new ones you will need to go into the PHP and edit the ""<code>translate()</code>"" call for that string. If you wish to add a new dictionary, make it lang_[tag] and go into the ""<code>languages</code>"" table and insert a record with the tag, description and enabled (set to either 0 or 1). Then insert the translation into lang_[tag] for all the keys in the system.
<< Hint: it might help to dump ""<code>lang_en</code>"" or ""<code>lang_es</code>"" to get all the keys. [[http://sourceforge.net/projects/phpmyadmin phpMyAdmin]] is quite nice, or you can find another front-end tool on the web. <<::c::
Adding pages is easy:
~-Write the PHP
~-Instead of plaintext, have a call to translate() on a key for the new text
~-Insert records into the DB for all the languages for the new key
Adding a dictionary:
~-Create a table called lang_tag (where tag is like en, esr, es, fr) with the structure of lang_tag(KEY, value) where KEY is also a primary key/unique. Both fields are varchar.
~-Insert a record into languages, example: ""<code>INSERT INTO languages(tag,description,enabled) VALUES('en','English',1)</code>""
~-Do a bunch of inserts for the KEY value, with the string value being your languages' equivalent.
Deletions:
Additions:
This page is [[CategoryInfoExchange]]