DjangoBB

Django based forum engine

  • You are not logged in.

#1 Aug. 7, 2012 21:10:29

jedie
From: germany
Registered: 2012-07-12
Posts: 160
Reputation: +  2  -
Profile   Send e-mail  

Feature Request: Poll

A poll feature is still missing. Found a ticket for it: http://djangobb.org/ticket/13

I want discuss here, how we can implement this.

I have created a poll plugin for PyLucid and can contribute some of the code.




Some of my Projects:
* Migrate phpBB to DjangoBB with django-phpBB3
* DjangoBB github repro and information about my changes
* PyLucid CMS written in Django: http://www.pylucid.org/

Offline

#2 Aug. 8, 2012 01:13:34

jedie
From: germany
Registered: 2012-07-12
Posts: 160
Reputation: +  2  -
Profile   Send e-mail  

Feature Request: Poll

i started it here: https://github.com/jedie/DjangoBB/compare/poll (many code part is from PyLucid, but i enhanced all a little bit )

The main functionality is there:
* Polls are displayed and user can vote
* Polls can limit the choice count (default = 1)
* Polls can have a datetime for auto deactivating

The missing part it the UI for the user to create a poll.
Maybe we just add a checkbox like “add a poll to this new topic”. After send the form the user get a seperate add poll form. It's somethign like a wizzard. Maybe we can use https://docs.djangoproject.com/en/1.4/ref/contrib/formtools/form-wizard/ and change the file attachment stuff in the same way?

Question:
1. Should a user only add a poll if he starts a new topic?
2. Should the thread starter add a poll later, if he add a post to this own topic?
3. Anyone who post on a exitings topic can add a poll if no poll exist in the topic?

Maybe no 3 would be to confuse, isn't it?




Some of my Projects:
* Migrate phpBB to DjangoBB with django-phpBB3
* DjangoBB github repro and information about my changes
* PyLucid CMS written in Django: http://www.pylucid.org/

Offline

#3 Aug. 8, 2012 01:26:02

jedie
From: germany
Registered: 2012-07-12
Posts: 160
Reputation: +  2  -
Profile   Send e-mail  

Feature Request: Poll

screenshot before vote:




Some of my Projects:
* Migrate phpBB to DjangoBB with django-phpBB3
* DjangoBB github repro and information about my changes
* PyLucid CMS written in Django: http://www.pylucid.org/

Edited jedie (Aug. 8, 2012 01:28:14)

Attachments:
attachment 2012-08-08_DjangoBB_poll_01.png (14.6 KB)

Offline

#4 Aug. 8, 2012 01:26:32

jedie
From: germany
Registered: 2012-07-12
Posts: 160
Reputation: +  2  -
Profile   Send e-mail  

Feature Request: Poll

screenshot of the result:




Some of my Projects:
* Migrate phpBB to DjangoBB with django-phpBB3
* DjangoBB github repro and information about my changes
* PyLucid CMS written in Django: http://www.pylucid.org/

Edited jedie (Aug. 8, 2012 01:27:56)

Attachments:
attachment 2012-08-08_DjangoBB_poll_02.png (23.5 KB)

Offline

#5 Aug. 9, 2012 19:28:54

jedie
From: germany
Registered: 2012-07-12
Posts: 160
Reputation: +  2  -
Profile   Send e-mail  

Feature Request: Poll

Ui for creating Polls are done: https://github.com/jedie/DjangoBB/compare/master…poll

It's usable in my forum: http://www.pylucid.org/en/forum/




Some of my Projects:
* Migrate phpBB to DjangoBB with django-phpBB3
* DjangoBB github repro and information about my changes
* PyLucid CMS written in Django: http://www.pylucid.org/

Offline

Board footer

Moderator control

Powered by DjangoBB

Lo-Fi Version