modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 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.question2answer.org/license.php */ /* Plugin Name: Microprobe Announcements Page Plugin URI: Plugin Description: Announcements Page Plugin Version: 1.0 Plugin Date: 2010-10-31 Plugin Author: Microprobe 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('page', 'mp-announcements-page.php', 'mp_announcements_page', 'Announcements Page'); /* Omit PHP closing tag to help avoid accidental output */
Plugin Name: History Plugin URI: https://github.com/NoahY/q2a-history Plugin Description: Adds complete activity history list to user profile Plugin Version: 1.9 Plugin Date: 2011-10-26 Plugin Author: NoahY Plugin Author URI: http://www.question2answer.org/qa/user/NoahY Plugin License: GPLv3 Plugin Minimum Question2Answer Version: 1.4 Plugin Update Check URI: https://github.com/NoahY/q2a-history/raw/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_layer('qa-history-layer.php', 'History Layer'); qa_register_plugin_module('event', 'qa-history-check.php', 'history_check', 'History Check'); qa_register_plugin_module('module', 'qa-history-admin.php', 'history_admin', 'History Admin');
<?php /* Plugin Name: XML-RPC Plugin URI: https://github.com/NoahY/q2a-xml-rpc Plugin Update Check URI: https://raw.github.com/NoahY/q2a-xml-rpc/master/qa-plugin.php Plugin Description: Provides xml-rpc capabilities Plugin Version: 0.9.3 Plugin Date: 2013-05-21 Plugin Author: NoahY Plugin Author URI: http://www.question2answer.org/qa/user/NoahY Plugin License: GPLv2 Plugin Minimum Question2Answer Version: 1.5 */ if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser header('Location: ../../'); exit; } qa_register_plugin_layer('qa-rpc-layer.php', 'XML RPC Layer'); qa_register_plugin_module('module', 'qa-rpc-admin.php', 'qa_rpc_admin', 'XML-RPC Admin'); qa_register_plugin_overrides('qa-rpc-overrides.php'); qa_register_plugin_phrases('qa-rpc-lang-*.php', 'xmlrpc'); function qa_xml_rpc_start_server() { include 'qa-xml-rpc-server.php'; } /* Omit PHP closing tag to help avoid accidental output */
as published by the Free Software Foundation; either version 2 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.question2answer.org/license.php */ /* Plugin Name: Event Logger Plugin URI: Plugin Description: Stores a record of user activity in the database and/or log files Plugin Version: 1.1 Plugin Date: 2011-12-06 Plugin Author: Question2Answer Plugin Author URI: http://www.question2answer.org/ Plugin License: GPLv2 Plugin Minimum Question2Answer Version: 1.5 Plugin Update Check URI: */ if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser header('Location: ../../'); exit; } qa_register_plugin_module('event', 'qa-event-logger.php', 'qa_event_logger', 'Event Logger'); /* Omit PHP closing tag to help avoid accidental output */
as published by the Free Software Foundation; either version 2 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.question2answer.org/license.php */ /* Plugin Name: Tag Cloud Widget Plugin URI: Plugin Description: Provides a list of tags with size indicating popularity Plugin Version: 1.0.1 Plugin Date: 2011-12-06 Plugin Author: Question2Answer Plugin Author URI: http://www.question2answer.org/ Plugin License: GPLv2 Plugin Minimum Question2Answer Version: 1.4 Plugin Update Check URI: */ if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser header('Location: ../../'); exit; } qa_register_plugin_module('widget', 'qa-tag-cloud.php', 'qa_tag_cloud', 'Tag Cloud'); /* Omit PHP closing tag to help avoid accidental output */
header('Location: ../../'); exit; } define('USEO_DIR', dirname(__FILE__)); define('USEO_URL', useo_get_base_url() . '/qa-plugin/q2a-ultimate-seo'); define('USEO_VERSION', 1); require_once QA_INCLUDE_DIR . 'qa-util-string.php'; require_once USEO_DIR . '/library/functions.php'; qa_register_plugin_module('page', 'options.php', 'useo_options', 'Ultimate SEO Options'); qa_register_plugin_layer('layer.php', 'Ultimate SEO Layer'); qa_register_plugin_overrides('overrides.php'); qa_register_plugin_module('page', '/library/scalable-xml-sitemaps.php', 'useo_scalable_xml_sitemaps', 'Ultimate SEO Scalable XML Sitemaps'); qa_register_plugin_module('page', 'tag-editor-page.php', 'useo_tag_editor_page', 'Ultimate SEO Tag Description Editor'); qa_register_plugin_module('page', 'category-editor-page.php', 'useo_category_editor_page', 'Ultimate SEO Category Description Editor'); qa_register_plugin_module('widget', 'tag-widget.php', 'useo_tag_widget', 'Ultimate SEO - Tag Descriptions'); qa_register_plugin_module('widget', 'category-widget.php', 'useo_category_widget', 'Ultimate SEO - Category Descriptions'); qa_register_plugin_phrases('languages/useo-lang-*.php', 'useo'); function useo_get_base_url() { /* First we need to get the protocol the website is using */ $protocol = strtolower(substr($_SERVER["SERVER_PROTOCOL"], 0, 5)) == 'https' ? 'https://' : 'http://'; /* returns /myproject/index.php */ if (QA_URL_FORMAT_NEAT == 0 || strpos($_SERVER['PHP_SELF'], '/index.php/') !== false) { $path = strstr($_SERVER['PHP_SELF'], '/index', true); $directory = $path; } else { $path = $_SERVER['PHP_SELF']; $path_parts = pathinfo($path); $directory = $path_parts['dirname']; $directory = $directory == "/" ? "" : $directory; }
Plugin Description: Provides admin additions Plugin Version: 1.8 Plugin Date: 2011-08-10 Plugin Author: NoahY Plugin Author URI: http://www.question2answer.org/qa/user/NoahY Plugin License: GPLv2 Plugin Minimum Question2Answer Version: 1.4 */ if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser header('Location: ../../'); exit; } qa_register_plugin_layer('qa-admin-layer.php', 'Admin Layer'); qa_register_plugin_module('module', 'qa-php-widget.php', 'qa_admin_plus_admin', 'Admin Plus'); qa_register_plugin_module('event', 'qa-admin-check.php', 'qa_admin_plus_check', 'Admin Plus Check'); //qa_register_plugin_module('page', 'qa-admin-page.php', 'qa_admin_page', 'Options Page'); if (function_exists('qa_register_plugin_phrases')) { qa_register_plugin_phrases('qa-admin-lang-*.php', 'admin_plus'); qa_register_plugin_overrides('qa-admin-overrides.php'); } // dev dump function qa_error_log($x) { ob_start(); var_dump($x); $contents = ob_get_contents(); ob_end_clean(); error_log($contents); } /*
Plugin URI: https://github.com/svivian/q2a-markdown-editor Plugin Description: Markdown editor plugin for simple text-based markup Plugin Version: 2.3 Plugin Date: 2012-06-14 Plugin Author: Scott Vivian Plugin Author URI: http://codelair.co.uk/ Plugin Contributors: NoahY Plugin License: GPLv3 Plugin Minimum Question2Answer Version: 1.4 Plugin Update Check URI: https://raw.github.com/svivian/q2a-markdown-editor/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('editor', 'qa-markdown-editor.php', 'qa_markdown_editor', 'Markdown Editor'); qa_register_plugin_module('viewer', 'qa-markdown-viewer.php', 'qa_markdown_viewer', 'Markdown Viewer'); qa_register_plugin_module('event', 'qa-md-events.php', 'qa_markdown_events', 'Markdown events'); qa_register_plugin_layer('qa-md-layer.php', 'Markdown Editor layer');
as published by the Free Software Foundation; either version 2 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.question2answer.org/license.php */ /* Plugin Name: Google Analytics Plugin URI: Plugin Description: Inserts Analytics code in the <head> and can skip for admin Plugin Version: 1.0 Plugin Date: 2011-03-17 Plugin Author: Ivan Plugin Author URI: http://patuvame.net Plugin License: GPLv2 Plugin Minimum Question2Answer Version: 1.4 */ if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser header('Location: ../../'); exit; } qa_register_plugin_layer('google-analytics-layer.php', 'Google Analytics'); qa_register_plugin_module('module', 'google-analytics-admin-form.php', 'google_analytics_admin_form', 'Google Analytics'); /* Omit PHP closing tag to help avoid accidental output */
Plugin Description: Ask poll questions Plugin Version: 2.3 Plugin Date: 2011-09-05 Plugin Author: NoahY Plugin Author URI: Plugin License: GPLv2 Plugin Minimum Question2Answer Version: 1.5 */ if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser header('Location: ../../'); exit; } qa_register_plugin_module('module', 'qa-poll-admin.php', 'qa_poll_admin', 'Poll Admin'); qa_register_plugin_module('event', 'qa-poll-check.php', 'qa_poll_event', 'Poll Admin'); qa_register_plugin_module('page', 'qa-poll-page.php', 'qa_poll_page', 'Poll page'); qa_register_plugin_layer('qa-poll-layer.php', 'Poll Layer'); if (function_exists('qa_register_plugin_phrases')) { qa_register_plugin_overrides('qa-poll-overrides.php'); qa_register_plugin_phrases('qa-poll-lang-*.php', 'polls'); } if (!function_exists('qa_permit_check')) { function qa_permit_check($opt) { if (qa_opt($opt) == QA_PERMIT_POINTS) { return qa_get_logged_in_points() >= qa_opt($opt . '_points'); } return !qa_permit_value_error(qa_opt($opt), qa_get_logged_in_userid(), qa_get_logged_in_level(), qa_get_logged_in_flags()); } } /*
// don't allow this page to be requested directly from browser header('Location: ../../'); exit; } define('QW_CONTROL_DIR', dirname(__FILE__)); define('QW_CONTROL_ADDON_DIR', QW_CONTROL_DIR . '/addons'); define('QW_BASE_URL', get_base_url()); define('QW_CONTROL_URL', QW_BASE_URL . '/qa-plugin/ra-option-panel'); define('Q_THEME_URL', QW_BASE_URL . '/qa-theme/dude'); define('Q_THEME_DIR', QA_THEME_DIR . '/dude'); qa_register_plugin_module('event', 'inc/init.php', 'qw_init', 'QW Init'); qa_register_plugin_module('event', 'inc/cs-event-logger.php', 'qw_event_logger', 'QW Event Logger'); qa_register_plugin_module('event', 'inc/cs-user-events.php', 'qw_user_event_logger', 'QW User Event Logger'); // register plugin language qa_register_plugin_phrases('language/dude-lang-*.php', 'dude'); qa_register_plugin_module('module', 'ra-option-admin.php', 'ra_option_admin', 'ra_theme_option'); qa_register_plugin_layer('ra-option-layer.php', 'RA Option Layer'); //load all addons qw_load_addons(); //register addons language if (qw_hook_exist('register_language')) { $lang_file_array = qw_apply_filter('register_language', array()); if (isset($lang_file_array) && is_array($lang_file_array)) { foreach ($lang_file_array as $key => $file) { qa_register_phrases($file, $key); } } } function get_base_url() { /* First we need to get the protocol the website is using */
Plugin Update Check URI: https://raw.github.com/NoahY/q2a-merge/master/qa-plugin.php Plugin Description: Provides merging capabilities Plugin Version: 0.2 Plugin Date: 2011-10-15 Plugin Author: NoahY Plugin Author URI: http://www.question2answer.org/qa/user/NoahY Plugin License: GPLv2 Plugin Minimum Question2Answer Version: 1.4 */ if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser header('Location: ../../'); exit; } qa_register_plugin_layer('qa-merge-layer.php', 'Merge Layer'); qa_register_plugin_module('module', 'qa-php-widget.php', 'qa_merge_admin', 'Merge Admin'); // merge button on duplicate question page (only for admin) qa_register_plugin_layer('qa-merge-layer-ondup.php', 'Merge Button for Duplicate Question'); function qa_merge_do_merge() { qa_opt('merge_question_merged', qa_post_text('merge_question_merged')); $from = (int) qa_post_text('merge_from'); $to = (int) qa_post_text('merge_to'); $titles = qa_db_read_all_assoc(qa_db_query_sub("SELECT postid,title,acount FROM ^posts WHERE postid IN (#,#)", qa_post_text('merge_from'), qa_post_text('merge_to'))); if (count($titles) != 2) { $error1 = null; $error2 = null; if (empty($titles)) { $error1 = 'Post not found.'; $error2 = $error1; } else {
<?php /* Plugin Name: Expandable Question Lists Plugin URI: http://brunovandekerkhove.com Plugin Description: Makes question lists expandable. Plugin Version: 1.0 Plugin Date: 2015-01-27 Plugin Author: Bruno Vandekerkhove Plugin Author URI: http://brunovandekerkhove.com Plugin License: none Plugin Minimum Question2Answer Version: 1.6 */ if (!defined('QA_VERSION')) { header('Location: ../../'); exit; } qa_register_plugin_module('page', 'qa-eql-homepage.php', 'qa_expandable_homepage', 'Expandable Homepage'); qa_register_plugin_layer('qa-eql-layer.php', 'Expandable Question Lists Layer'); qa_register_plugin_module('module', 'qa-eql-admin.php', 'qa_eql_admin', 'Expandable Question Lists Admin'); qa_register_plugin_module('event', 'qa-eql-logger.php', 'qa_eql_logger', 'Expandable Question Lists Logger'); qa_register_plugin_overrides('qa-eql-overrides.php');
modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 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.question2answer.org/license.php */ /* Plugin Name: Microprobe Leaderboard Page Plugin URI: Plugin Description: Shows the leaderboard for users Plugin Version: 1.0 Plugin Date: 2011-08-22 Plugin Author: Microprobe 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('page', 'mp-leaderboard-page.php', 'mp_leaderboard_page', 'Microprobe Leaderboard Page'); /* Omit PHP closing tag to help avoid accidental output */
<?php /* Plugin Name: Signatures Plugin URI: https://github.com/NoahY/q2a-signatures Plugin Description: Signatures Plugin Version: 3.3 Plugin Date: 2011-08-16 Plugin Author: NoahY Plugin Author URI: Plugin License: GPLv2 Plugin Minimum Question2Answer Version: 1.5 Plugin Update Check URI: https://raw.github.com/NoahY/q2a-signatures/master/qa-plugin.php */ if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser header('Location: ../../'); exit; } qa_register_plugin_module('module', 'qa-sig-admin.php', 'qa_signatures_admin', 'Signatures Admin'); qa_register_plugin_layer('qa-sig-layer.php', 'Signature Layer'); qa_register_plugin_overrides('qa-sig-overrides.php'); qa_register_plugin_phrases('qa-sig-lang-*.php', 'signature_plugin'); /* Omit PHP closing tag to help avoid accidental output */
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.question2answer.org/license.php */ /* Plugin Name: My followers page Plugin URI: Plugin Description: Provides page of my followers Plugin Version: 1.1 Plugin Date: 2013-03-28 Plugin Author: Question2Answer + CMSBOX Plugin Author URI: http://www.question2answer.org/ Plugin License: GPLv2 Plugin Minimum Question2Answer Version: 1.5 Plugin Update Check URI: */ if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser header('Location: ../../'); exit; } qa_register_plugin_phrases('qa-my-followers-page-lang-*.php', 'myfollowerspage'); qa_register_plugin_module('page', 'qa-my-followers-page.php', 'qa_my_followers_page', 'My Followers Page'); qa_register_plugin_layer('qa-my-followers-page-layer.php', 'My Followers Page'); /* Omit PHP closing tag to help avoid accidental output */
Plugin Date: 2011-07-30 Plugin Author: NoahY Plugin Author URI: Plugin License: GPLv2 Plugin Minimum Question2Answer Version: 1.5 Plugin Update Check URI: https://github.com/NoahY/q2a-badges/raw/master/qa-plugin.php */ if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser header('Location: ../../'); exit; } qa_register_plugin_module('event', 'qa-badge-check.php', 'badge_check', 'Badge Check'); qa_register_plugin_module('module', 'qa-badge-admin.php', 'qa_badge_admin', 'Badge Admin'); qa_register_plugin_module('page', 'qa-badge-page.php', 'qa_badge_page', 'Badges'); qa_register_plugin_module('widget', 'qa-badge-widget.php', 'qa_badge_widget', 'Recent Badge Widget'); qa_register_plugin_layer('qa-badge-layer.php', 'Badge Notification Layer'); qa_register_plugin_phrases('qa-badge-lang-*.php', 'badges'); function qa_badge_lang($string) { return qa_lang($string); } function qa_get_badge_list() { // badges - add to this list to add a new badge, it will be imported when you run this function. Don't change existing slugs! $badges = array(); if (!QA_FINAL_EXTERNAL_USERS) { $badges['verified'] = array('type' => 0); $badges['profiler'] = array('type' => 0); $badges['avatar'] = array('type' => 0); }
modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 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.question2answer.org/license.php */ /* Plugin Name: WYSIWYG Editor Plugin URI: Plugin Description: Wrapper for CKEditor WYSIWYG rich text editor Plugin Version: 1.1.1 Plugin Date: 2011-12-06 Plugin Author: Question2Answer Plugin Author URI: http://www.question2answer.org/ Plugin License: GPLv2 Plugin Minimum Question2Answer Version: 1.3 Plugin Update Check URI: */ if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser header('Location: ../../'); exit; } qa_register_plugin_module('editor', 'qa-wysiwyg-editor.php', 'qa_wysiwyg_editor', 'WYSIWYG Editor'); qa_register_plugin_module('page', 'qa-wysiwyg-upload.php', 'qa_wysiwyg_upload', 'WYSIWYG Upload');
<?php /* Plugin Name: Random question widget Plugin URI: Plugin Description: Outputs a random question in the sidebar Plugin Version: 1.0b1 Plugin Date: 2011-08-30 Plugin Author: NoahY Plugin License: GPLv2 Plugin Minimum Question2Answer Version: 1.4 */ // based, loosely, on https://github.com/ercalote/qa-related-questions if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser header('Location: ../../'); exit; } qa_register_plugin_module('widget', 'qa-random-question.php', 'qa_random_questions', 'Random question'); qa_register_plugin_module('module', 'qa-random-admin.php', 'qa_random_question_admin', 'Random question widget'); /* Omit PHP closing tag to help avoid accidental output */
GNU General Public License for more details. More about this license: http://www.question2answer.org/license.php */ /* Plugin Name: Facebook Login Plugin URI: Plugin Description: Allows users to log in via Facebook Plugin Version: 1.1.5 Plugin Date: 2012-09-13 Plugin Author: Question2Answer Plugin Author URI: http://www.question2answer.org/ Plugin License: GPLv2 Plugin Minimum Question2Answer Version: 1.5 Plugin Minimum PHP Version: 5 Plugin Update Check URI: */ if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser header('Location: ../../'); exit; } if (!QA_FINAL_EXTERNAL_USERS) { // login modules don't work with external user integration qa_register_plugin_module('login', 'qa-facebook-login.php', 'qa_facebook_login', 'Facebook Login'); qa_register_plugin_module('page', 'qa-facebook-login-page.php', 'qa_facebook_login_page', 'Facebook Login Page'); qa_register_plugin_layer('qa-facebook-layer.php', 'Facebook Login Layer'); } /* Omit PHP closing tag to help avoid accidental output */
<?php /* Plugin Name: Embed Plugin URI: https://github.com/NoahY/q2a-embed Plugin Update Check URI: https://raw.github.com/NoahY/q2a-embed/master/qa-plugin.php Plugin Description: Embed Video, Images and MP3 files Plugin Version: 1.7 Plugin Date: 2011-07-30 Plugin Author: NoahY Plugin Author URI: 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('module', 'qa-embed-admin.php', 'qa_embed_admin', 'Embed Admin'); qa_register_plugin_layer('qa-embed-layer.php', 'Embed Replacement Layer'); /* Omit PHP closing tag to help avoid accidental output */
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.question2answer.org/license.php */ /* Plugin Name: Mouseover Layer Plugin URI: Plugin Description: Shows question content on mouse over in question lists Plugin Version: 1.0.1 Plugin Date: 2011-12-06 Plugin Author: Question2Answer Plugin Author URI: http://www.question2answer.org/ Plugin License: GPLv2 Plugin Minimum Question2Answer Version: 1.5 Plugin Update Check URI: */ if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser header('Location: ../../'); exit; } qa_register_plugin_layer('qa-mouseover-layer.php', 'Mouseover Layer'); qa_register_plugin_module('module', 'qa-mouseover-admin-form.php', 'qa_mouseover_admin_form', 'Mouseover Layer'); /* Omit PHP closing tag to help avoid accidental output */
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.question2answer.org/license.php */ /* Plugin Name: Email Formating Plugin URI: https://github.com/ruuttt/q2a-email-formating Plugin Description: enables you to apply html based formatting to all e-mails send out. Plugin Version: 1.0 Plugin Date: 2012-12-20 Plugin Author: Ecofys/Ruut Brandsma Plugin Author URI: http://www.ecofys.com/ Plugin License: GPLv2 Plugin Minimum Question2Answer Version: 1.5 Plugin Update Check URI: */ if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser header('Location: ../../'); exit; } qa_register_plugin_overrides('qa-email-formating.php'); qa_register_plugin_module('module', 'qa-email-formating-admin.php', 'qa_email_formating_admin', 'E-mail formating Admin'); /* Omit PHP closing tag to help avoid accidental output */
modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 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.question2answer.org/license.php */ /* Plugin Name: Microprobe Create Announcements Page Plugin URI: Plugin Description: Create Announcements Page Plugin Version: 1.0 Plugin Date: 2010-10-31 Plugin Author: Microprobe 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('page', 'mp-announcements-create-page.php', 'mp_announcements_create_page', 'Announcements Create Page'); /* Omit PHP closing tag to help avoid accidental output */
modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 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.question2answer.org/license.php */ /* Plugin Name: Event Logger Plugin URI: Plugin Description: Stores a record of user activity in the database and/or log files Plugin Version: 1.0 Plugin Date: 2011-03-17 Plugin Author: Question2Answer Plugin Author URI: http://www.question2answer.org/ Plugin License: GPLv2 Plugin Minimum Question2Answer Version: 1.4 */ if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser header('Location: ../../'); exit; } qa_register_plugin_module('event', 'mp-event-logger.php', 'mp_event_logger', 'Microprobe Event Logger'); /* Omit PHP closing tag to help avoid accidental output */
modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 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.question2answer.org/license.php */ /* Plugin Name: Activity Count Widget Plugin URI: Plugin Description: Provides a basic count of posts and users Plugin Version: 1.0 Plugin Date: 2011-05-22 Plugin Author: Question2Answer Plugin Author URI: http://www.question2answer.org/ Plugin License: GPLv2 Plugin Minimum Question2Answer Version: 1.4 */ if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser header('Location: ../../'); exit; } qa_register_plugin_module('widget', 'qa-activity-count.php', 'qa_activity_count', 'Activity Count'); /* Omit PHP closing tag to help avoid accidental output */
*/ /* don't allow this page to be requested directly from browser */ if (!defined('QA_VERSION')) { header('Location: /'); exit; } global $qa_modules; //unset Q2A Event Notify so that we can override it unset($qa_modules['event']['Q2A Event Notify']); //if this is set to true , the email will be written to the log file define('QW_SEND_EMAIL_DEBUG_MODE', FALSE); qa_register_plugin_overrides('addons/notification/overrides.php'); $qw_notification_addon = new Qw_Notification_Addon(); qa_register_plugin_layer('addons/notification/notification-layer.php', 'QW Notification Layer'); qa_register_plugin_module('page', 'addons/notification/notification-page.php', 'qw_notification_page', 'QW Notification Page'); qa_register_plugin_module('page', 'addons/notification/notification-settings.php', 'qw_notification_setting_page', 'QW Notification Settings'); include_once QW_CONTROL_DIR . '/addons/notification/default-email-notify.php'; include_once QW_CONTROL_DIR . '/addons/notification/email-events.php'; include_once QW_CONTROL_DIR . '/addons/notification/default-email-notify.php'; require_once QW_CONTROL_DIR . '/addons/notification/functions.php'; function qw_set_notification_as_read($id) { if (qa_is_logged_in()) { qa_db_query_sub('UPDATE ^ra_userevent SET `read` = 1 WHERE id=# AND effecteduserid=#', (int) $id, qa_get_logged_in_userid()); } } function qw_set_all_activity_as_read($uid) { qa_db_query_sub('UPDATE ^ra_userevent SET `read` = 1 WHERE effecteduserid=# AND event NOT IN ("u_wall_post", "u_message")', $uid); } function qw_set_all_messages_as_read($uid)
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 2 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.question2answer.org/license.php */ /* Plugin Name: Basic AdSense Plugin URI: Plugin Description: Provides a basic widget for displaying Google AdSense ads Plugin Version: 1.0 Plugin Date: 2011-03-27 Plugin Author: Question2Answer Plugin Author URI: http://www.question2answer.org/ Plugin License: GPLv2 Plugin Minimum Question2Answer Version: 1.4 Plugin Update Check URI: */ if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser header('Location: ../../'); exit; } qa_register_plugin_module('widget', 'qa-basic-adsense.php', 'qa_basic_adsense', 'Basic AdSense');
<?php /* Plugin Name: Faq Page Plugin URI: https://github.com/NoahY/q2a-faq Plugin Update Check URI: https://github.com/NoahY/q2a-faq/raw/master/qa-plugin.php Plugin Description: Adds custom faq page Plugin Version: 0.3 Plugin Date: 2011-10-20 Plugin Author: NoahY 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('page', 'qa-faq-page.php', 'qa_faq_page', 'FAQ Page'); qa_register_plugin_layer('qa-faq-layer.php', 'FAQ Layer'); qa_register_plugin_module('module', 'qa-faq-admin.php', 'qa_faq_admin', 'Faq Admin'); /* Omit PHP closing tag to help avoid accidental output */
<?php /* Plugin Name: Backgroud Console Plugin URI: Plugin Description: Allows super manager enter the backgroud console to manage Plugin Version: 1.0 Plugin Date: 2015-05-27 Plugin Author: FUTURE Plugin Author URI: Plugin License: GPLv2 Plugin Minimum Question2Answer Version: 1.5 Plugin Update Check URI: */ if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser header('Location: ../../'); exit; } /*qa_register_plugin_module( 'widget', // type of module 'qa-tag-desc-widget.php', // PHP file containing module class 'qa_tag_descriptions_widget', // module class name in that PHP file 'Tag Descriptions' // human-readable name of module );*/ qa_register_plugin_module('page', 'qa-console-edit.php', 'qa_console_edit_page', 'Manager\'s Edit Page in console');