It is currently Sun Dec 16, 2018 6:16 am

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 12 posts ] 
Author Message
Offline
 Post subject: bug: gd post count
Post #1 Posted: Thu Apr 29, 2010 7:33 am 
Dies in gote

Posts: 63
Liked others: 0
Was liked: 7
could not set gd posts to 9000

Top
 Profile  
 
Offline
 Post subject: Re: bug: gd post count
Post #2 Posted: Thu Apr 29, 2010 7:47 am 
Judan
User avatar

Posts: 5096
Location: Banbeck Vale
Liked others: 842
Was liked: 1241
Rank: 1D AGA
GD Posts: 1512
Kaya handle: Test
That's not a bug, that's a limitation. I had to pick some upper bound when I defined the field. I looked at Kirby's post number, tripled it, and rounded to the nearest thousand. That should be good enough for anybody.

_________________
'I have often wondered how it is that every man loves himself more than all the rest of men, but yet sets less value on his own opinions of himself than on the opinions of others." -Marcus Aurelius

Top
 Profile  
 
Offline
 Post subject: Re: bug: gd post count
Post #3 Posted: Thu Apr 29, 2010 7:52 am 
Gosei
User avatar

Posts: 1435
Location: California
Liked others: 53
Was liked: 169
Rank: Out of practice
GD Posts: 1104
KGS: fwiffo
But what if it's OVER 9000!!!!!!!!!!!!!!!!!1

_________________
KGS 4 kyu - Game Archive - Keyboard Otaku

Top
 Profile  
 
Offline
 Post subject: Re: bug: gd post count
Post #4 Posted: Thu Apr 29, 2010 8:02 am 
Dies with sente
User avatar

Posts: 106
Location: Germany
Liked others: 64
Was liked: 7
Rank: EGF 8k
Universal go server handle: ChradH
On a related issue: You can't unset the post count any more. Leaving the field blank results in "0 posts" displayed.










<-- DEMO

_________________
To sig or not to sig, that is the question.

Top
 Profile  
 
Offline
 Post subject: Re: bug: gd post count
Post #5 Posted: Thu Apr 29, 2010 8:17 am 
Lives in gote
User avatar

Posts: 379
Liked others: 105
Was liked: 123
fwiffo wrote:
But what if it's OVER 9000!!!!!!!!!!!!!!!!!1


It's time to reassess your priorities. ;-)

_________________
"This is a game that rewards patience and balance. You must think like a man of action and act like a man of thought."
-Jonas Skarssen

Top
 Profile  
 
Offline
 Post subject: Re: bug: gd post count
Post #6 Posted: Thu Apr 29, 2010 8:26 am 
Oza

Posts: 2182
Location: ʍoquıɐɹ ǝɥʇ ɹǝʌo 'ǝɹǝɥʍǝɯos
Liked others: 237
Was liked: 659
Rank: AGA 5d
GD Posts: 4312
Online playing schedule: Every tenth February 29th from 20:00-20:01 (if time permits)
fwiffo wrote:
But what if it's OVER 9000!!!!!!!!!!!!!!!!!1


I think I can lay claim to the largest number and it worked okay for me. So I don't think there is a real limitation.

_________________
Still officially AGA 5d but I play so irregularly these days that I am probably only 3d or 4d over the board (but hopefully still 5d in terms of knowledge, theory and the ability to contribute).

Top
 Profile  
 
Offline
 Post subject: Re: bug: gd post count
Post #7 Posted: Thu Apr 29, 2010 2:46 pm 
Judan
User avatar

Posts: 5096
Location: Banbeck Vale
Liked others: 842
Was liked: 1241
Rank: 1D AGA
GD Posts: 1512
Kaya handle: Test
fwiffo wrote:
But what if it's OVER 9000!!!!!!!!!!!!!!!!!1



Ok, ok! I set it to 64,000. That ought to be enough for anybody.

_________________
'I have often wondered how it is that every man loves himself more than all the rest of men, but yet sets less value on his own opinions of himself than on the opinions of others." -Marcus Aurelius

Top
 Profile  
 
Offline
 Post subject: Re: bug: gd post count
Post #8 Posted: Thu Apr 29, 2010 3:02 pm 
Dies with sente
User avatar

Posts: 106
Location: Germany
Liked others: 64
Was liked: 7
Rank: EGF 8k
Universal go server handle: ChradH
Joaz Banbeck wrote:
fwiffo wrote:
But what if it's OVER 9000!!!!!!!!!!!!!!!!!1



Ok, ok! I set it to 64,000. That ought to be enough for anybody.

Please, don't forget about being able to the value to empty again.

_________________
To sig or not to sig, that is the question.

Top
 Profile  
 
Offline
 Post subject: Re: bug: gd post count
Post #9 Posted: Thu May 06, 2010 6:35 pm 
Judan
User avatar

Posts: 5096
Location: Banbeck Vale
Liked others: 842
Was liked: 1241
Rank: 1D AGA
GD Posts: 1512
Kaya handle: Test
ChradH wrote:
Please, don't forget about being able to the value to empty again.


That's beyond my current skills. Fwiffo?

_________________
'I have often wondered how it is that every man loves himself more than all the rest of men, but yet sets less value on his own opinions of himself than on the opinions of others." -Marcus Aurelius

Top
 Profile  
 
Offline
 Post subject: Re: bug: gd post count
Post #10 Posted: Thu May 06, 2010 7:59 pm 
Gosei
User avatar

Posts: 1435
Location: California
Liked others: 53
Was liked: 169
Rank: Out of practice
GD Posts: 1104
KGS: fwiffo
Sorry, I haven't had time to look into it. I might be able to do it manually by getting into the database; I think there's a phpbb bug that keeps users from blanking their own.

_________________
KGS 4 kyu - Game Archive - Keyboard Otaku

Top
 Profile  
 
Offline
 Post subject: Re: bug: gd post count
Post #11 Posted: Thu May 06, 2010 8:19 pm 
Gosei
User avatar

Posts: 1435
Location: California
Liked others: 53
Was liked: 169
Rank: Out of practice
GD Posts: 1104
KGS: fwiffo
Actually, I think this is a bug in phpBB. The field is null in the database, so it shouldn't have shown up. But I hacked up the template as a workaround.

_________________
KGS 4 kyu - Game Archive - Keyboard Otaku

Top
 Profile  
 
Offline
 Post subject: Re: bug: gd post count
Post #12 Posted: Fri May 07, 2010 1:35 am 
Dies with sente
User avatar

Posts: 106
Location: Germany
Liked others: 64
Was liked: 7
Rank: EGF 8k
Universal go server handle: ChradH
fwiffo wrote:
Actually, I think this is a bug in phpBB. The field is null in the database, so it shouldn't have shown up. But I hacked up the template as a workaround.

Awesome, thanks a lot. Especially since I know how much I hate hacking workarounds into a perfectly innocent piece of code just just to make up for some stupid library bug.

_________________
To sig or not to sig, that is the question.

Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


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 post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group