Giter Club home page Giter Club logo

coordino's Introduction

Requirements

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:

  1. An internal userbase. (Remote Auth Only "No")
  2. 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!

Don't see yourself Just edit the Readme!

coordino's People

Contributors

bones418 avatar datawalke avatar pderaaij avatar pnm1231 avatar zetatwo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

coordino's Issues

Error on Tags Page

/tags page gives

Notice (8): Undefined variable: tags [APP/controllers/tags_controller.php, line 95]

Notice (8): Undefined variable: tags [APP/controllers/tags_controller.php, line 110]

Warning (2): Invalid argument supplied for foreach() [APP/views/tags/tag_list.ctp, line 9]

On a clean install.

Unhandled errors before install.

Many errors occured before install:

Warning (512): C:\WWW\index\Datawalke-Coordino-3d0ff18\app\tmp\cache\ is not writable [CORE\cake\libs\cache\file.php, line 267]

Warning (2): include_once(C:\WWW\index\Datawalke-Coordino-3d0ff18\app\config\database.php) [function.include-once]: failed to open stream: No such file or directory [CORE\cake\libs\model\connection_manager.php, line 23]

Warning (2): include_once() [function.include]: Failed opening 'C:\WWW\index\Datawalke-Coordino-3d0ff18\app\config\database.php' for inclusion (include_path='.;C:\php5\pear;C:\WWW\index\Datawalke-Coordino-3d0ff18;C:\WWW\index\Datawalke-Coordino-3d0ff18\app') [CORE\cake\libs\model\connection_manager.php, line 23

and

Notice (8): Undefined variable: continue [APP\views\installer\start.ctp, line 34]

MYSQL User-permissions

I was wondering what's the database minimum user-permissions for Coordino to function, for example (ALTER, CREATE, UPDATE...etc) I don't want to grant the script too many unnecessarily database privileges, any sure ideas ?

Move reCAPTCHA Key to Settings

The reCAPTCHA key currently lives in the main Cake config file. This should be moved to one of the more dynamic settings.

Install error on IIS 7.5

Tried to install this on a windows 2008 IIS 7.5 server and get the same 404 page can not be displayed.

I have converted the .htaccess files in all the sub folders to web configs.. the first bit of the install page looks correct then when you click lets continue I get the 404 error.

Will this ever work on IIS?

I know the .htaccess converter works as i have used it with various wordpress sites we host.

Az

RewriteBase

I got 500 error when try to open localhost/coordino after unzip to htdocs/coordino/
If I remove all 3 RewriteBase line, I got processed to pre-install index page, but can't continue, 404 error, object not found.
Any advice? Thanks!

Installation on SLES 11.1

I have had various problems with the installation of this product, but have not yet been able to sort them out.

I have mySQL 5.5.17, PHP 5.2.6 and the latest Coordino package from Aug 7th. I have installed the package into the htdocs root, as I've seen comments saying this is the only way it will work. I've activated mod_rewrite in Apache and set short_open_tag in php.ini.

However, I get a 404 when I go to install/database-config. There is no install or database-config in the package. So, I edited database-sample.php (the documentation says database-same.php, which threw me briefly. However, there are no instructions as to what to do after you've saved the file.

Please could you let me know how to complete installation, either via the web page or manually.

Thanks, Sam

.htaccess issues on setup/installation

I had a few problems on installation and setup with 500 errors inside of .htaccess when using RackSpace hosting.

To fix this I simply added "RewriteBase /" to all 3 of Cake's .htaccess files.

/.htaccess

RewriteEngine On
RewriteBase /
RewriteRule ^$ app/webroot/ [L]
RewriteRule (.*) /app/webroot/$1 [L]

/app/.htaccess

RewriteEngine on
RewriteBase /
RewriteRule ^$ webroot/ [L]
RewriteRule (.*) webroot/$1 [L]

/app/webroot/.htaccess

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php?url=$1 [QSA,L]

Answer 'link' fix - Goes to ej.com

/app/views/posts line #225

Problem

link( 'link', 'http://ej.com/questions/' . $question['Post']['public_key'] . '/' . $question['Post']['url_title'] . '#a_' . $answer['Answer']['public_key'] ); ?>

Fix

link( 'link', '/questions/' . $question['Post']['public_key'] . '/' . $question['Post']['url_title'] . '#a_' . $answer['Answer']['public_key'] ); ?>

Having problem with install

WHen i try to install , i get the below error.

css('install.css');?> image('coordino_logo.png');?> flash(); ?>

I checked everything is ok ( mod_rewrite, htaccess file ).

Advertising Module !

Does anyone know how to use the advertisement module to place reputation controllable ads ?

Configurable duration of session time

For our use it would be nice if we can determine the time a user would have to login again.

Again, I'll try to fix this in my own branch and put it up for notification on this list.

Translate into my own language

What do I have to do to translate the site into my own language? I want to know what files do I have to open to translate them.

Installing in folder

I see that it's preferred that you install Coordino in the top level of your domain, but It also says that it is possible to install it in a folder. I've been trying to do that but am completely unable to. Is it possible to get some instruction/hint from someone that was able to do this? Coordino looks like a great tool and I could use it for quite a few things, but if I can only install it in the root folder it's practically useless to me.

Miss-link to 3rdparty site

While looking through the features of Coordino, I noticed the "link" button to link to answers mistakingly links to "ej.com".

app/views/posts/view.ctp:
231 link( 232 'link', 233 'http://ej.com/questions/' 234 . $question['Post']['public_key'] . '/' 235 . $question['Post']['url_title'] 236 . '#a_' . $answer['Answer']['public_key'] 237 ); 238 ?>

Corrected code:
231 link( 232 'link', 233 '/questions/' 234 . $question['Post']['public_key'] . '/' 235 . $question['Post']['url_title'] 236 . '#a_' . $answer['Answer']['public_key'] 237 ); 238 ?>

HTTP 500's prevent any sort of interaction w/the system

I can't get past the front page. All pageloads result in

[Mon Mar 05 13:46:52 2012] [error] [client 10.128.44.192] PHP Notice: Trying to get property of non-object in /var/www/html/cake/libs/cache/file.php on line 248 [Mon Mar 05 13:46:52 2012] [error] [client 10.128.44.192] PHP Fatal error: Call to a member function cd() on a non-object in /var/www/html/cake/libs/cache/file.php on line 248

Server is running RedHat Enterprise 6.2. PHP is 5.3.3. httpd is 2.2.15.

Any ideas?

How can I disable the Captcha?

I've installed Coordino for my users to try as a collaborative knowledge base, and the captcha is a complete showstopper.

Is there a straightforward way to completely disable the captcha? I'm not afraid to modify the source files if it's necessary.

Thanks,
Kenn

XML output within code tags

The css is fine when previewing xml, but is broken after xml is posted on question or answer.
It's just the css, everything else looks good.

Installation, not getting past the initial setup screen

I have fixed permissions so that I get all greens on the setup page. When I click to "Let's Continue" I get a 404 error saying:

The requested URL /install/database-config was not found on this server.

I know I can edit the database.php file, but even that is not totally clear to me. Not certain what I need to have setup on the MySQL backend for those settings to work.

Any ideas what I've done wrong?

OS X Server 10.6.8.

PHP 5.3.4

MySQL 5.5.17

Mac OS X install problem

Hi all,

I'm running into some installation issues on Mac OS X. Here's what I did:

cloned the repo into my web root

  1. navigated to the repo dir, where I'm greeted by a coordino page; the page tells me that to use automatic install, I should correct some permissions
  2. I correct the permissions and reload the page (chgrp -R _www app; chmod -R g+w app)
  3. I refresh the page, and see a completely blank page. (Inspecting the page source reveals the page is completely empty.)

Additionally,

  1. copied database_sample.php to database.php and manually changed settings.
  2. created a database user and database to match the settings.
  3. refresh the browser page, still see nothing

Thanks in advance for all of your help!

Additional Info:

Mac OS 10.6.8
Safari Version 5.1 (6534.50)

git show --name-only
commit f28b220

php --version
PHP 5.3.4 (cli) (built: Dec 15 2010 12:15:07)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies

mysql --version
mysql Ver 14.14 Distrib 5.5.10, for osx10.6 (i386) using readline 5.1

User Image upload

Uploading an image for the user profile creates an error where all pages involving the user (settings etc) break. Sorry I can't be more specific!

Answers Vote up/down images

I also noticed another issue yesterday that I neglected to mention. The answer's vote up/down images were displaying the html code in the browser, instead of the image itself.
Screen cap example: http://www.gotoitguy.com/Coordino_Voteup-down_Bug.png

Problem Code:
161 link( 162 $html->image("arrow_up.png", array("alt" => "Vote Up")), 163 '/vote/' . $answer['Answer']['public_key'] . '/up', 164 null, null, false 165 ); 166 ?>
167
168 link( 169 $html->image("arrow_down.png", array("alt" => "Vote Down")), 170 '/vote/' . $answer['Answer']['public_key'] . '/down', 171 null, null, false 172 ); 173 ?>

Corrected Code:
161 image('arrow_up.png', array('alt' => 'Vote Up', 'url' => '/vote/' . $answer['Answer']['public_key'] . '/up')); 163 ?>
164
165 image('arrow_down.png', array('alt' => 'Vote Up', 'url' => '/vote/' . $answer['Answer']['public_key'] . '/down')); 167 ?>

Hope this type of stuff is beneficial to your project. If you'd like me to push the info elsewhere, let me know.
Also, I'm brand new to Github, so I don't know if there's another way I can present the code to you?

search working? always is: No results

main search always results in: No results for "whatever"!

apache logs show no errors and even with debug set it just seems to redirect to the main page with the error message.

user search works just fine.

i've only made some minor cosmetic changes to the views... does this work out of the box for others?

Undefined property: SessionComponent::$enabled

i get this

Notice (8): Undefined property: SessionComponent::$enabled [CORE\cake\libs\controller\component.php, line 142]
Warning (2): Cannot modify header information - headers already sent by (output started at home\htdocs\cake\cake\libs\debugger.php:683) [CORE\cake\libs\controller\controller.php, line 742]

date complaints: better config

In the apache logfile there's a complaint about date usage:

[Sat Jan 28 14:19:28 2012] [error] [client 127.0.0.1] PHP Warning: date(): It is not safe to rely on the system's timezone settings. You are required to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Denver' for 'MST/-7.0/no DST' instead in /var/www/html/Coordino/cake/libs/log/file_log.php on line 71

There is actually a setting for this, but it appears buried on line 248 of app/config/core.php long after one gives up the idea that this is a file that needs modification by someone intending to use Coordino... a heads-up somewhere would be helpful.

Very old CakePHP (0.2.9)

From what I see, this version came out in 2005. Are there any security issues that should be considerated?
I was just forking this to patch multilanguage in, but now I'm not sure if it's worth it. There aren't even any docs for this anymore on the CakePHP website...

HTTP 500 Error on NGINX

Hi,

I tried to deploy a fresh install of this script and this is the error I received:

Server is running latest NGINX/PHP/MySQL

2011/11/16 16:50:39 [error] 7626#0: *9 FastCGI sent in stderr: "PHP Notice:  Trying to get property of non-object in /home/terry/weighingtalk.info/public_html/cake/libs/cache/file.php on line 248
PHP Fatal error:  Call to a member function cd() on a non-object in /home/terry/weighingtalk.info/public_html/cake/libs/cache/file.php on line 248" while reading response header from upstream, client: 59.167.177.134, server: www.weigingtalk.info, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/dev/shm/php-fastcgi.socket:", host: "www.weighingtalk.info"

Any help appreciated with this error.

short_open_tags

Installation wasn't smooth and a few links don't work but it's a very cool package.
But that's bearable. What would be really great is if you could not use short tags because short_open_tags is off by default and will be deprecated.

Adding RSS support

For our intern use we would like to have some RSS feeds.

One RSS feed should contain the latest questions
One RSS feed should contain the latest questions for any given tag.

I'm going to add this feature in my own fork and will offer it back to the project. I've added this issue as notification. If some has remarks or additions I'd love to hear that.

Arrow images have quoted html on Answer form

I'm no expert but it seems $html->link() will quote any html code on it.
I was getting this instead of the arrow links on the Answer form: <img src="/img/arrow_up.png" alt="Vote Up" />
Then I edited app/views/posts/view.ctp e changed the following:
lines 164 and 171 from "null, null, false" to "array('escape'=>false), null, null, false"
Now it's working fine!

Sorry for not sending a pull request, I just don't want to clone it for now.
Thanks!

I can't log in!

As soon as I press the login (or register) and type in information it instantly redirects me to the homepage! Installed on: coders.allowed.org

White screening after database install

Hi,

After running the database set up on /install/database-config I got redirected to a white screen. This is the error on the error log:

[Thu Feb 09 13:40:57 2012] [error] PHP Fatal error: Call to a member function isConnected() on a non-object in /var/www/coordino-test/app/controllers/installer_controller.php on line 82, referer: http://cordino-test.com/install/database-config

Did I miss anything out? I'm running PHP 5.3.3-7+squeeze7 and MySQL 5.1.49-3 on Debian.

Thanks,
Victoria

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.