Split "Polls" out of Thread Types

Wildcat Media

Well-known member
There are times we want to include a poll with an article, yet since the Poll feature was turned into a thread type, that is now impossible. (As an aside, I read many articles online which end with an opinion poll, so this is not an uncommon use case.) In addition, there are times when I need to revise older serial threads into articles, and polling data is lost. It's not a major loss, but it still would be nice to save the polls for continued use in articles.

Having polls be an option, like they were previously, would give us back a feature we could use.
 
Upvote 10
Agreed, this is something I'd love to see as well. Makes no sense (to me at least) to limit adding a Poll to a specific Thread Type.

yet since the Poll feature was turned into a thread type
This is not exactly correct. in XF1, Poll functionality was hard coded into discussion threads and only for threads. If an XF1 Addon wanted to have polls, they would literally have to duplicate the entire thread poll system into the addon.

When they developed XF2, instead of limiting Polls to threads only like they did in XF1, they instead developed a Content Type Handler for Polls so that any Content Type could implement polls.

So no, they did NOT turn the old Poll System into a Thread Type, they actually went way beyond and made it a content type agnostic system that any addon could easily implement polls (standardized behaviors). What XF did is implement a Poll handler for the Content Type thread and then limited it to only be able to be used in the Thread Type "Poll".

I've personally implemented well over 50 Poll Handers in my addons and addons for clients. Addons with multiple content types, can implement multiple poll handlers. For example, my Article Management System Add-on implements 3 poll handlers, one for Articles, one for Article Pages (for multi page articles) and one for Series.

Just wanted to point that out since I see so many people here imply that Polls are only for Threads, and that has not been the case since XF2 ;)

I will crawl back into my cave now :)
 
Back
Top Bottom