Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

file 55 lines (46 sloc) 2.132 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
<?php
/*
Plugin Name: User Activity Plus
Plugin URI: https://github.com/svivian/q2a-user-activity-plus
Plugin Description: Shows all questions and answers of a user
Plugin Version: 1.1
Plugin Date: 2011-08-23
Plugin Author: Scott Vivian
Plugin Author URI: http://codelair.co.uk/
Plugin License: GPLv3
Plugin Minimum Question2Answer Version: 1.4
Plugin Update Check URI: https://raw.github.com/svivian/q2a-user-activity-plus/master/qa-plugin.php

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

More about this license: http://www.gnu.org/licenses/gpl.html
*/

if ( !defined('QA_VERSION') )
{
header('Location: ../../');
exit;
}

qa_register_plugin_module('page', 'qa-user-activity.php', 'qa_user_activity', 'User Activity Plus');
qa_register_plugin_layer('qa-uact-layer.php', 'User Activity Layer');
qa_register_plugin_phrases('qa-uact-lang-*.php', 'useractivity');



/* worker functions */

function uact_css()
{
return
"<style>\n" .
".qa-useract-page-links { margin: 16px 0; color: #555753; font-size: 16px; text-align: center; }\n" .
".qa-useract-page-links > a { font-weight: bold; }\n" .
".qa-useract-stats { margin: 8px 0; text-align: center; }\n" .
".qa-useract-stat { display: inline-block; margin: 0 16px 8px; }\n" .
".qa-useract-count { font-size: 18px; font-weight: bold; }\n" .
".qa-useract-wrapper .qa-q-item-main { width: 658px; }\n" .
".qa-useract-wrapper .qa-a-count { height: auto; border: 1px solid #ebeaca; border-radius: 8px; -moz-border-radius: 8px; -webkit-border-radius:8px; }\n" .
".qa-useract-wrapper .qa-a-snippet { margin-top: 2px; color: #555753; }\n" .
".qa-useract-wrapper .qa-q-item-meta { float: none; }\n" .
"</style>\n\n";
}
Something went wrong with that request. Please try again.