myfreeforum.org Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups  Who is OnlineWho is Online   Join! (free) Join! (free)  
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
For an excellent guide to using your myfreeforum forum, you can visit
howtodoit
The howtodoit "readonly" forum provides answers and walkthroughs for all common questions.
  • Welcome
  • Guest


Advanced polling

 
Post new topic   Reply to topic    myfreeforum.org Forum Index -> Forum Blogs
Site Admin
Site Admin
Joined: 22 May 2005
Posts: 21275

View user's profile Send private message Send e-mail

A Blog by - admin (no pm's please)



Virtual Cash: 34850
Just a tentative first post about one of the next plans for a phpbb2 addition.

Polling in phpbb2 is a pretty crude affair without multiple choice options.

We have resisted changing this because of the usual issue that all templates would need tweaking to take advantage of changes

There is no way around that, but we can perhaps reduce the impact by using portals.

Other possible options include making the quiz portal function as a poll portal?

Polls could be quite a lot of fun with a few more features, even the option to take away the secret ballot aspect could have potential in the right circumstances.

I guess there are two main options:

1) extend the existing poll mechanism.

2) Use a separate system where people could click on an "add advanced poll" when posting, and there they could design a poll.

_________________

Family Friendly Shareware | | Web Design/Services | Free Forums
Author Message
Nick(NR)
Moderator
Moderator

Virtual Cash: 6200

Joined: 06 May 2006
Posts: 4397
Location: Medway, Kent
Add Karma

rated by 28 members
Add Comment
Show Comments

online/offline
PostPosted: Thu Apr 17, 2008 4:01 pm    Post subject: Reply with quote

I'm all for option 2 as it would open the window a little wider and allow more air through it Wink
_________________
CALM TIME: When calm time is called, all posters in a topic must take time out to calm down.


The special one!
Back to top
View user's profile Private message Visit poster's website
admin (no pm's please)
Site Admin
Site Admin

Virtual Cash: 34850

Joined: 22 May 2005
Posts: 21275

Add Karma

rated by 138 members
Add Comment
Show Comments

online/offline
PostPosted: Sat Apr 19, 2008 9:03 am    Post subject: Reply with quote

I think the second option, using a bbcode system is appealing. With bbcodes it would work like the attach file option, allowing many polls to be included.

This would also open the door to allowing some portals to be shown in posts.

I think it would also have to be web2.0 based for better interaction.
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

forum.myfreeforum.org
Back to top
View user's profile Private message Send e-mail Visit poster's website
admin (no pm's please)
Site Admin
Site Admin

Virtual Cash: 34850

Joined: 22 May 2005
Posts: 21275

Add Karma

rated by 138 members
Add Comment
Show Comments

online/offline
PostPosted: Mon Apr 28, 2008 4:36 pm    Post subject: Reply with quote

Trying to get back on with this, and the first notable thing is that web2.0 enabling is liable to add a one of javascript load of 16kb, this is reasonably trivial

The main issue would be the problem that portals are defined after the header of the page, and therefore too late for them to define their web2.0 functions.

I think the way round this is to define some generic portal web2.0 functions where the name of the portal will be passed as part of the function. This will need a bit of a framework around it, this is the sort of area that done badly would be fatal for security  
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

forum.myfreeforum.org
Back to top
View user's profile Private message Send e-mail Visit poster's website
admin (no pm's please)
Site Admin
Site Admin

Virtual Cash: 34850

Joined: 22 May 2005
Posts: 21275

Add Karma

rated by 138 members
Add Comment
Show Comments

online/offline
PostPosted: Tue Apr 29, 2008 9:58 am    Post subject: Reply with quote

The next question is database changes.

If we are to keep our touch light, then it does mean we have to stick with polls being a secret ballot. A bit of a shame but livable.

We could avoid database changes at all and override the topic_vote flag, it has plenty of spare capacity. But this would be a little cheapskate, one extra field in the vote_desc table is not exactly wasteful, and it keeps clean database compatibility.

That flag can contain details like:

1) multiple choice allowed.
2) poll posted as bbcode.

I would have rather liked new forums to see the new polling feature, but if it is to appear in a new topic it means using a default poll portal template in place of posting_poll_body.tpl and that could have cosmetic issues. So this may have to be something people have to enable
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

forum.myfreeforum.org
Back to top
View user's profile Private message Send e-mail Visit poster's website
admin (no pm's please)
Site Admin
Site Admin

Virtual Cash: 34850

Joined: 22 May 2005
Posts: 21275

Add Karma

rated by 138 members
Add Comment
Show Comments

online/offline
PostPosted: Tue Apr 29, 2008 1:26 pm    Post subject: Reply with quote

hmm, a topic and a single poll are rather linked at the hip, our polls if we are to allow multiple polls in a topic will have to detach that link and use the portals database record to give details on who owns the poll.

It is certainly doable, but the more the code removes itself from the original polling code, the more risk there is of bugs effecting old polls and the less point there is in choosing to use the old structures with there limitations  
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

forum.myfreeforum.org
Back to top
View user's profile Private message Send e-mail Visit poster's website
admin (no pm's please)
Site Admin
Site Admin

Virtual Cash: 34850

Joined: 22 May 2005
Posts: 21275

Add Karma

rated by 138 members
Add Comment
Show Comments

online/offline
PostPosted: Wed Apr 30, 2008 4:06 pm    Post subject: Reply with quote

I am going to call this a case of cup half full, rather than half empty.

I have come up with a way of allowing multiple choice votes without template edits.

So this bit of development will have seen the ability to post portals, and multiple choice voting without pain.

It will also have seen but not used another step in the web2.0 direction.

What it won't do is multiple polls per post, or web2.0 polls.
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

forum.myfreeforum.org
Back to top
View user's profile Private message Send e-mail Visit poster's website
admin (no pm's please)
Site Admin
Site Admin

Virtual Cash: 34850

Joined: 22 May 2005
Posts: 21275

Add Karma

rated by 138 members
Add Comment
Show Comments

online/offline
PostPosted: Wed Apr 30, 2008 5:05 pm    Post subject: Reply with quote

Some testing still needs doing, but multiple choice polls should now work on any template.

On some templates the option to set a multichoice poll may not be quite right, but a template edit can fix that.

Probably a Saturday install.
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

forum.myfreeforum.org
Back to top
View user's profile Private message Send e-mail Visit poster's website
admin (no pm's please)
Site Admin
Site Admin

Virtual Cash: 34850

Joined: 22 May 2005
Posts: 21275

Add Karma

rated by 138 members
Add Comment
Show Comments

online/offline
PostPosted: Thu May 01, 2008 4:11 pm    Post subject: Reply with quote

database upgrades are now in place on all forums.
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

forum.myfreeforum.org
Back to top
View user's profile Private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    myfreeforum.org Forum Index -> Forum Blogs All times are GMT + 1 Hour
Page 1 of 1
 
 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Card File  Gallery  Forum Archive
Powered by phpBB © 2001, 2005 phpBB Group
Create your own free forum | Buy a domain to use with your forum