Top Users per month for Q2A
PHP
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.rst
metadata.json
qa-plugin.php
qa-tupm-admin.php css fix Nov 3, 2016
qa-tupm-lang.php css updated Aug 20, 2016
qa-tupm-layer.php CSS fixed Aug 20, 2016
qa-tupm-page.php Fix event query Jan 31, 2017
qa-tupm-weekly-widget.php fix Jan 1, 2017
qa-tupm-widget.php relative link fixed Oct 12, 2016

README.rst

Question2Answer Top Users per Month/Week

Description

This is a plugin for Question2Answer that displays the top scoring users of the current month as well as week in two separate sidebar widgets and on a separate page. This code was initially forked from https://github.com/q2apro/q2apro-best-users-per-month-free but changed mostly completely due to give better performance.

Requirement

Run the following command in mysql terminal to enable event scheduler. SET GLOBAL event_scheduler = ON;

Installation

  1. Install Question2Answer
  2. Get the source code for this plugin directly from github_
  3. Extract the files.
  4. Change language strings in file qa-tupm-lang.php
  5. Upload the files to a subfolder inside the qa-plugins folder of your Q2A installation.
  6. Then go to Admin >Layout >Available widgets, and add the widget "Top Users per Month", set its position to: Side panel - Below sidebar box. Do same for "Weekly Widget"

Disclaimer

This is beta code. It is probably okay for production environments, but may not work exactly as expected. You bear the risk. Refunds will not be given!

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.

Copyright

All code herein is OpenSource. Feel free to build upon it and share with the world.

About q2a

Question2Answer is a free and open source platform for Q&A sites. For more information, visit: www.question2answer.org

Final Note

If you use the plugin: + Consider joining the Question2Answer-Forum, answer some questions or write your own plugin! + You can use the code of this plugin to learn more about q2a-plugins. It is commented code. + Thanks!