/q2a-admin-plus

Admin add-on for Question2Answer

Primary LanguagePHP

Question2Answer Admin Plus

Description

This is a plugin for Question2Answer that extends the admin area.

Features

  • turns admin submenu into drop-down
  • execute php commands from plugin page (option to require password, see Password below)
  • adds "top" links to each plugin in admin
  • adds "r" buttons to reset values of plugin options
  • shows notice to admin if updates for plugins are available
  • allows emails to be sent to admin for answer and comment posts.

Installation

  1. Install Question2Answer
  2. Get the source code for this plugin from github, either using git, or downloading directly:
    • To download using git, install git and then type git clone git://github.com/NoahY/q2a-admin-plus.git admin at the command prompt (on Linux, Windows is a bit different)
    • To download directly, go to the project page and click Download
  3. extract the files to a subfolder such as admin inside the qa-plugins folder of your Q2A installation.
  4. navigate to your site, go to Admin -> Plugins on your q2a install and select options, then click Save Changes.

Password

Given the security risk involved with allowing arbitrary PHP code execution, it is recommended to require a password in order to use this function. Add a file named password to the plugin directory, and put the password as the file's only content. The plugin will recognize this, and add a field to enter it when executing code.

Disclaimer

This is beta code. It is probably okay for production environments, but may not work exactly as expected. Refunds will not be given. If it breaks, you get to keep both parts.

Release

All code herein is Copylefted.

About q2A

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

http://www.question2answer.org/