How do I get infinite poll options?

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Scam Warning
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
Locked
User avatar
sb_stefan
Registered User
Posts: 94
Joined: Fri Feb 19, 2010 2:26 am
Location: London, UK

How do I get infinite poll options?

Post by sb_stefan »

How do I change from 127 poll options to unlimited?
Pit$Bull
Former Team Member
Posts: 23099
Joined: Sat Dec 02, 2006 4:08 pm
Name: Can't Remember

Re: How do I get infinite poll options?

Post by Pit$Bull »

ACP->general tab->post settings->Maximum number of poll options:
User avatar
KevC
Support Team Member
Support Team Member
Posts: 70180
Joined: Fri Jun 04, 2004 10:44 am
Location: Oxford, UK
Contact:

Re: How do I get infinite poll options?

Post by KevC »

I'm fascinated now to know what poll could need more than 127 possible choices :)
-:|:- Support Request Template -:|:-
Image
Cheap UK Hosting
"In the land of the blind the little green bloke with no pupils is king - init!"
User avatar
Dragosvr92
Registered User
Posts: 1450
Joined: Sat Sep 12, 2009 7:27 am
Location: Romania
Name: Dragos Valentin Rădulescu
Contact:

Re: How do I get infinite poll options?

Post by Dragosvr92 »

Kevin Clark wrote:I'm fascinated now to know what poll could need more than 127 possible choices :)
who knows maybe they vote for a new president Image
Formerly known as TheKiller
3.0| Avatar on Memberlist 1.0.3
User avatar
sb_stefan
Registered User
Posts: 94
Joined: Fri Feb 19, 2010 2:26 am
Location: London, UK

Re: How do I get infinite poll options?

Post by sb_stefan »

Pit$Bull wrote:ACP->general tab->post settings->Maximum number of poll options:
But if I exceed 127 it says "The provided value for the setting “Maximum number of poll options” is too high. The maximum acceptable value is 127."
User avatar
Mick
Support Team Member
Support Team Member
Posts: 22745
Joined: Fri Aug 29, 2008 9:49 am
Location: Watching cricket probably.

Re: How do I get infinite poll options?

Post by Mick »

Kevin Clark wrote:I'm fascinated now to know what poll could need more than 127 possible choices :)
So am I :?
"The more connected we get the more alone we become" - Kyle Broflovski©
User avatar
sb_stefan
Registered User
Posts: 94
Joined: Fri Feb 19, 2010 2:26 am
Location: London, UK

Re: How do I get infinite poll options?

Post by sb_stefan »

These are my poll options:

Code: Select all

Acapulco 
Amsterdam
Athens
Atlanta
Atlantic City
Auckland
Austin
Bali
Baltimore
Bangalore
Bangkok
Barcelona
Barrie 
Beijing
Belfast 
Berlin 
Birmingham
Bogota 
Bombay 
Boston
Brasilia
Bristol
Brussels
Bucharest 
Budapest 
Buenos Aires
Buffalo
Calcutta 
Calgary
Cancun 
Caracas 
Charlotte
Chicago
Cincinnati
Cleveland
Copenhagen
Dallas
Delhi
Denver
Detroit
Dublin 
Edmonton
Frankfurt 
Geneva 
Grand Rapids
Guadalajara 
Halifax
Hamburg 
Hamilton 
Helsinki 
Hong Kong 
Houston
Indianapolis
Istanbul
Jacksonville
Kansas City
Kiev 
Las Vegas
Leeds
Lisbon 
Liverpool
London 
Louisville
Madrid
Manchester 
Manila
Marseille 
Mazatlan 
Melbourne
Memphis
Mexico City 
Miami
Milan
Minneapolis
Monterrey 
Montreal 
Munich 
Myrtle Beach
Nashville
New Orleans
New York City
Niagara Falls 
Omaha
Orlando
Oslo
Ottawa 
Palm Springs
Paris 
Philadelphia
Phoenix
Phuket
Pittsburgh
Portland
Puebla 
Raleigh
Reno
Richmond
Rio De Janeiro
Rome
Sacramento
Salt Lake City
San Antonio
San Diego
San Francisco
San Jose
Santiago
Sao Paulo
Seattle
Seoul 
Shanghai 
Spokane
Stockholm 
Sydney
Taipei
Tampa
Tijuana 
Toledo
Toronto
Tucson
Tulsa
Vancouver
Warsaw 
Victoria 
Vienna
Windsor
Winnipeg 
Zurich
:D
User avatar
Mick
Support Team Member
Support Team Member
Posts: 22745
Joined: Fri Aug 29, 2008 9:49 am
Location: Watching cricket probably.

Re: How do I get infinite poll options?

Post by Mick »

That's 127, if there's too many ditch Phoenix, it's too damned hot there anyway :lol:
"The more connected we get the more alone we become" - Kyle Broflovski©
User avatar
KevC
Support Team Member
Support Team Member
Posts: 70180
Joined: Fri Jun 04, 2004 10:44 am
Location: Oxford, UK
Contact:

Re: How do I get infinite poll options?

Post by KevC »

So now I'm curious as to what the question is because it's quite an eclectic list of cities.

I can't think why you'd have Birmingham and Leeds on the same list as Vienna :)
-:|:- Support Request Template -:|:-
Image
Cheap UK Hosting
"In the land of the blind the little green bloke with no pupils is king - init!"
User avatar
sb_stefan
Registered User
Posts: 94
Joined: Fri Feb 19, 2010 2:26 am
Location: London, UK

Re: How do I get infinite poll options?

Post by sb_stefan »

Kevin Clark wrote:So now I'm curious as to what the question is because it's quite an eclectic list of cities.

I can't think why you'd have Birmingham and Leeds on the same list as Vienna :)
It's a contest to see how many that can guess a location.

So there's no way to get more than 127?
Last edited by sb_stefan on Tue May 11, 2010 8:46 pm, edited 1 time in total.
Pit$Bull
Former Team Member
Posts: 23099
Joined: Sat Dec 02, 2006 4:08 pm
Name: Can't Remember

Re: How do I get infinite poll options?

Post by Pit$Bull »

Pit$Bull wrote:ACP->general tab->post settings->Maximum number of poll options:
User avatar
KevC
Support Team Member
Support Team Member
Posts: 70180
Joined: Fri Jun 04, 2004 10:44 am
Location: Oxford, UK
Contact:

Re: How do I get infinite poll options?

Post by KevC »

sb_stefan wrote:
Kevin Clark wrote:So now I'm curious as to what the question is because it's quite an eclectic list of cities.

I can't think why you'd have Birmingham and Leeds on the same list as Vienna :)
It's a context to see how many that can guess a location.

So there's no way to get more than 127?
But do you need to give them that many options? I can't see you mixing up Leeds with Vienna on a choice of where something is :)
As I said, it seems a very eclectic list of places. Why not limit it to places within one country or continent?
-:|:- Support Request Template -:|:-
Image
Cheap UK Hosting
"In the land of the blind the little green bloke with no pupils is king - init!"
User avatar
sb_stefan
Registered User
Posts: 94
Joined: Fri Feb 19, 2010 2:26 am
Location: London, UK

Re: How do I get infinite poll options?

Post by sb_stefan »

Ok, can we just forget about my retarded poll for a second and think about whether there's a way to get more than 127 options?
Oleg
Former Team Member
Posts: 1221
Joined: Sat Jan 30, 2010 4:42 pm
Location: NYC
Contact:

Re: How do I get infinite poll options?

Post by Oleg »

http://tps.projects.bsdpower.com/browse ... d.php#L189

Change 127 to a more appropriate number.

You will also need to find poll_max_options column in I'm guessing the posts table and change its type from tinyint to int.
Participate in phpBB development: Get involved | Issue tracker | Report a bug | Development board | [url=irc://chat.freenode.net/phpbb-dev]Development IRC chat[/url]
My stuff: mindlinkgame.com
Locked

Return to “[3.0.x] Support Forum”