GithubHelp home page GithubHelp logo

nstueber / dokuwiki-plugin-doodle4 Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 5.0 94 KB

Doodle Plugin for Dokuwiki (copy of dokuwiki-plugin-doodle3 - seems to be inactive)

License: GNU General Public License v3.0

PHP 96.39% JavaScript 2.06% CSS 1.55%

dokuwiki-plugin-doodle4's People

Contributors

jpanchyrz avatar nstueber avatar

Stargazers

 avatar  avatar

dokuwiki-plugin-doodle4's Issues

PHP 8 Warning: Undefined array key ...

The following warning appears with the example and PHP 8.1.11:

[Thu Oct 13 12:42:18.606096 2022] [proxy_fcgi:error] [pid 29959] [client 127.0.0.1:50150] AH01071: Got error '
PHP message: PHP Warning:  Undefined array key "sort" in /var/www/dokuwiki/lib/plugins/doodle4/syntax.php on line 671
PHP message: PHP Warning:  Undefined array key "formId" in /var/www/dokuwiki/lib/plugins/doodle4/syntax.php on line 293'

Example code:

<doodle
  title="What do you like best?"
  auth="none|ip|user"
  adminUsers="user1|user2"
  adminGroups="group1|group2"
  voteType="single|multi"
  fieldwidth="auto|123px"
  closed="true|false" 
>
   * Option 1 
   * Option 2 **some wikimarkup** \\ is __allowed__!
   * Option 3
</doodle>

Version information:

$ cat /etc/centos-release
CentOS Linux release 7.9.2009 (Core)
$ php --version
PHP 8.1.11 (cli) (built: Sep 28 2022 09:08:05) (NTS gcc x86_64)
Copyright (c) The PHP Group
Zend Engine v4.1.11, Copyright (c) Zend Technologies
$ cat dokuwiki/VERSION 
2022-07-31a "Igor"
$ grep date dokuwiki/lib/plugins/doodle4/plugin.info.txt 
date   2019-04-02

is it possible to limit quantity of voteType="multi"? and add images to each option?

Hello,

  1. We need a feature for enabling administrator to limit quantity of voteType="multi" is it possible?
    It will be better if administrator will be able to set a limited QTY of items for users to choose from check boxes in poll form. For example: users must choose at least 3 items from all check boxes, that mean users can not choose less than or more than 3 items due to a limitation. This is very usefull for a team to discuss some projects.

  2. And if possible to add images to each option?

Hoping someone give a helping hand. Thanks in advance!

anonymous polls with doodle4 ?

Hi, great plugin!
I am a new DokuWiki user and administrator.
It would be very useful to add an option to create anonymous polls, i.e. not ot report explicitly in the table the name of the user who expressed a vote.
Best regards,
Alessandro

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.