Browse files

Add some instructions in README and add qa-plugin.php

Signed-off-by: Dmitry <slonoed@gmail.com>
  • Loading branch information...
1 parent e71beab commit 711f82aa613e7527f56ec05ef9e7121a8b65c7fa @slonoed committed Dec 28, 2010
Showing with 48 additions and 2 deletions.
  1. +6 −2 README
  2. +42 −0 qa-plugin.php
View
8 README
@@ -1,4 +1,8 @@
Hello!
-This is login plugin for CMS Qastion2Answers.
-It add Loginza functionalyti to your site
+This is login plugin for CMS Qastion2Answers (http://question2answer.org/)
+It add Loginza (http://loginza.ru) to your site
+
+Create directory "loginza-login" in "/qa-plugin/" and put in files "qa-plugin.php" and "qa-loginza-login.php"
+
+Other instructions in "qa-loginza-login.php"
View
42 qa-plugin.php
@@ -0,0 +1,42 @@
+<?php
+
+/*
+ Question2Answer 1.3 (c) 2010, SLonoed
+
+ http://www.question2answer.org/
+
+
+ File: qa-plugin/loginza-login/qa-loginza.php
+ Version: 1.3
+ Date: 2010-11-23 06:34:00 GMT
+ Description: Initiates Facebook login plugin
+
+
+
+*/
+
+/*
+ Plugin Name: Facebook Login
+ Plugin URI:
+ Plugin Description: Allows users to log in via Facebook
+ Plugin Version: 1.0
+ Plugin Date: 2010-10-31
+ Plugin Author: Question2Answer
+ Plugin Author URI: http://www.question2answer.org/
+ Plugin License: GPLv2
+ Plugin Minimum Question2Answer Version: 1.3
+*/
+
+
+ if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
+ header('Location: ../../');
+ exit;
+ }
+
+
+ qa_register_plugin_module('login', 'qa-loginza-login.php', 'qa_loginza_login', 'Loginza');
+
+
+/*
+ Omit PHP closing tag to help avoid accidental output
+*/

0 comments on commit 711f82a

Please sign in to comment.