Datawalke/Coordino
소개
CakePHP 프레임워크를 기반으로 구축된 자체 호스팅 지식 소프트웨어이자 질문·답변 시스템입니다.
기타 프로젝트측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalRequirements
All that is required is your basic LAMP/WAMP stack. However the best-case conditions:
- PHP5+
- MySQL 5.1+
How to Install Coordino
Unzip the Coordino package your root working www directory.
ex: /var/www/htdocs/test.com
Then open your web browser and proceed to http://test.com to complete instillation.
Widget Tokens
Tokens may be used to render dynamic content to the user.
The following tokens are available:
- The logged in user's username. - [user.username]
- The logged in user's reputation. - [user.reputation]
- The logged in user's age. - [user.age]
- The logged in user's website. - [user.website]
- The logged in user's information. - [user.info]
- The logged in user's location. - [user.location]
- The logged in user's answer count. - [user.answer-count]
- The logged in user's comment count. - [user.comment-count]
- The logged in user's question count. - [user.question-count]
- A link to the user's profile. - [user.profile-link]
For example:
Hello [user.username], Welcome to Coordino!
Check out your profile at: [user.profile-link]
Or answer some questions!
Remote Auth. Logins
Coordino works in two modes:
- An internal userbase. (Remote Auth Only "No")
- Remote userbase. (Remote Auth Only "Yes")
These settings may be changed in the administration setting under "Admin" -> "Remote Settings"
The internal userbase is the standard setting for Coordino. New users will register either by asking a question, answering a question or registering themselves. The users username, password, and email are kept internally.
However, if you have an external userbase already and do not wish to have all of your users re-register for a system you can use a form of automatic integration. You must create a script that first compiles a message and then forwards it to Coordino's Remote Login system based off of your current logged in user's details.
The following user details from your userbase are needed:
- Username
- Email Address
The following extra message details are needed:
- Timestamp
- Remote Auth Key (Found in Remote Settings)
- Hash
Take the following example in PHP:
/*
* Remote authentication for PHP
* This is meant to be used as a template to base the integration with your application.
*/
// The following values should comefrom your source of information
$username = 'BillyRogan';
$email = '[email protected]';
// Insert your Authentication key here
$key = '98y94NIUfafnajskfn9823JNAIUz';
// Build the Message
$timestamp = time();
$message = $username . $email . $timestamp . $key;
$hash= md5($message);
// Set the URL of your Answer Engine install and form the correct remote authentication URL.
$url = 'http://your.domain.com/coordino_install/access/remote' . $name . '/' . $email . '/' . $timestamp . '/' . $hash;
header('Location: ' . $url);
The username and email address are pulled from your current userbase. Then a message is compiled with the User's username, email, a timestamp, and your remote auth key. That message is then md5'd into a check hash. A URL is then formed with the correct information and the remote logged in user is then forwarded to the Coordino Remote Access URL.
Translate Coordino
Because Coordino is ready for i18n, you can contribute to translate it! To help you, you can have some informations in : http://book.cakephp.org/1.3/en/view/1229/Internationalizing-Your-Application
How to generate .pot files ?
Run this command in the root path of Coordino :
$ php cake/console/cake.php i18n
> [E]xtract POT file from sources
> Verify the full path in [] for "app" and validate it
> [D] Done
> Verify the full path in [] for "app/locale" and enter to validate it
> Merge all domains strings in the default.pot file (y)
> Waiting for extractig
> Default.pot already exists, Overwrite it! (y)
> verb.pot already exists, Overwrite it too! (y)
> Done ;)
Contributors - Thank you!
- [pderaaij] (https://github.com/pderaaij)
- [bones418] (https://github.com/bones418)
- [do9iigane] (https://github.com/do9iigane)
- iam-merlin
- [ultramundane] (https://github.com/ultramundane)
- [datawalke] (https://github.com/datawalke)
Don't see yourself Just edit the Readme!
관련 프로젝트 살펴보기
불러오는 중…