Giter Club home page Giter Club logo

q2a-poll's Introduction

Question2Answer Poll 1.0b

Description

This is a plugin for Question2Answer that provides poll functionality.

Features

  • allows creating questions as polls, which removes ability for others to answer, comment on, or vote down them (vote up only).
  • adds qa-main-poll wrapper to qa-main for custom poll css
  • admin and mods can still answer, comment on, and edit polls
  • choose between multi-voting or single-voting poll on ask form
  • jQuery answer adding via ask form
  • answer updates when voted on (optional)
  • add a Polls page (optional)
  • adds text to poll question titles
  • all text fully customizable via language files
  • all css fully customizable
  • Buddypress integration if Buddypress plugin is enabled

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-poll.git poll at the command prompt (on Linux, Windows is a bit different)
    • To download directly, go to the project page and click Download
  3. navigate to your site, go to Admin -> Plugins on your q2a install and select the 'Enable polls' option, then 'Save'.

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/

q2a-poll's People

Contributors

noahy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

q2a-poll's Issues

extra privileges are showing incorrectly

On the admin profile page I can see, at the bottom of the extra privileges list :
[profile/permit_close_poll]
[profile/permit_delete_poll]

The privileges are not translated correctly.
In the qa-poll-overrides.php file, after line 20 (and before line 21) :

$ov = str_replace('[profile/permit_vote_poll]',qa_lang('polls/permit_vote_poll'),$ov);

the following 2 lines must be added :
$ov = str_replace('[profile/permit_close_poll]',qa_lang('polls/permit_close_poll'),$ov);
$ov = str_replace('[profile/permit_delete_poll]',qa_lang('polls/permit_delete_poll'),$ov);

error in header

hi
thanks for your free and usefull plugins
i install polls but i got this error in poll archive page :
Notice: Undefined index: name in /home/nssss/domains/sss/public_html/qa-include/app/format.php on line 523 Notice: Undefined index: name in /home/sss/domains/sss/public_html/qa-include/app/format.php on line 523
my q2a version in 1.7

No permission to vote?

It looks like I have the poll module installed correctly but whenever I try to vote on something I get the "You have no permission to vote" error.

Any help?

Moderation problem

hello
if i use moderation before posting question the pool is disabled :/

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.