Poll limitation question

Get help with installation and running phpBB 3.1.x here. Please do not post bug reports, feature requests, or extension related questions here.
Scam Warning
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTE: phpBB 3.1.x is at its End of Life stage and support will NOT be provided after July 1st, 2018.
Locked
NewToPHPBoards
Registered User
Posts: 242
Joined: Wed Feb 03, 2016 1:38 pm

Poll limitation question

Post by NewToPHPBoards » Thu Apr 12, 2018 8:45 am

Hi,

We want to poll our membership on some important questions. Utilising some sort of PHBB board functionality seems like the natural place for this to take place.

I have tried to set up a poll. The problem with this is that the length of question is restricted. Probably not allowing many more characters than the previous sentence.

I can see where to increase/decrease the amount of poll questions in the ACP - I cannot see how to extend the poll question length.

Is this possible?

User avatar
david63
Registered User
Posts: 16415
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: Poll limitation question

Post by david63 » Thu Apr 12, 2018 9:04 am

That field is 255 characters in length and is governed by the size of the field in the database - to increase the size would entail modifying the database, the template file and possibly some core code.
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

NewToPHPBoards
Registered User
Posts: 242
Joined: Wed Feb 03, 2016 1:38 pm

Re: Poll limitation question

Post by NewToPHPBoards » Thu Apr 12, 2018 9:25 am

Thank you for the reply. Understood.

NewToPHPBoards
Registered User
Posts: 242
Joined: Wed Feb 03, 2016 1:38 pm

Re: Poll limitation question

Post by NewToPHPBoards » Thu Apr 12, 2018 9:27 am

Are there any alternative extensions that allow for a more dynamic polling feature? I have searched and found one example that extends the Poll facility - but dosn't address layout.

User avatar
Mick
Support Team Member
Support Team Member
Posts: 21455
Joined: Fri Aug 29, 2008 9:49 am
Location: Not watching cricket

Re: Poll limitation question

Post by Mick » Thu Apr 12, 2018 9:30 am

If you can't find the extension you need you can make an extension request.
"The more connected we get the more alone we become" - Kyle Broflovski

NewToPHPBoards
Registered User
Posts: 242
Joined: Wed Feb 03, 2016 1:38 pm

Re: Poll limitation question

Post by NewToPHPBoards » Thu Apr 12, 2018 10:15 am

Thanks - I really just wanted to check I hadn't missed something that might have fitted the bill when I made a search (for example maybe an extension for a Poll feature is instead called Survey or Questionnaire).

User avatar
Brf
Support Team Member
Support Team Member
Posts: 51834
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: Poll limitation question

Post by Brf » Thu Apr 12, 2018 12:17 pm

The post question is only intended to be a short label. If you need a longer explanation, it should go in the actual topic post.

NewToPHPBoards
Registered User
Posts: 242
Joined: Wed Feb 03, 2016 1:38 pm

Re: Poll limitation question

Post by NewToPHPBoards » Thu Apr 12, 2018 3:52 pm

Hi Brf,

Yes - the problem with that is that the post sits below the Poll. It looks like an afterthought - not a leading summary.

Is there a way you know of to show the post first, then the poll?

User avatar
GanstaZ
Registered User
Posts: 804
Joined: Wed Oct 11, 2017 10:29 pm
Location: Zverse

Re: Poll limitation question

Post by GanstaZ » Thu Apr 12, 2018 4:20 pm

Everything is possible, but you will need an extension for that.
"When answer lies in the question,.. question becomes redundant!"

User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 50673
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: Poll limitation question

Post by stevemaury » Thu Apr 12, 2018 5:12 pm

Poll questions could be:

"Look at question in paragraph #1 of topic below."

"Look at question in paragraph #2 of topic below."
For REALLY good and VERY inexpensive hosting CLICK HERE

I can stop all your spam. I can upgrade or update your Board. PM or email me. (Paid support)

User avatar
canonknipser
Registered User
Posts: 2063
Joined: Thu Sep 08, 2011 4:16 am
Location: Germany
Name: Frank Jakobs
Contact:

Re: Poll limitation question

Post by canonknipser » Thu Apr 12, 2018 7:48 pm

Or, modify the viewtopic-template, move the poll section which can be identified by the two events at the beginning and the end:
<!-- EVENT viewtopic_body_poll_before -->
and
<!-- EVENT viewtopic_body_poll_after -->

into the post loop directly after <!-- BEGIN postrow -->, surrounded by a condition for first post like <!-- IF postrow.S_ROW_COUNT = 1 -->


Edit: untested, but you got the idea
Greetings, Frank
phpbb.de support team member
English is not my native language - no support via PM or mail
New arrival - Extensions and scripts for phpBB

NewToPHPBoards
Registered User
Posts: 242
Joined: Wed Feb 03, 2016 1:38 pm

Re: Poll limitation question

Post by NewToPHPBoards » Thu Apr 12, 2018 8:42 pm

Canonknipser - Thanks to your reply I do get the idea, and a massive thank you :D

Thanks to you all for the ideas.

Locked

Return to “[3.1.x] Support Forum”