It is currently Wed May 22, 2013 6:35 pm

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 
Tengen
User avatar

Posts: 3780
Location: Banbeck Vale
Liked others: 490
Was liked: 808
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.

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

Posts: 1413
Location: Florida
Liked others: 46
Was liked: 142
Rank: DGS 3 kyu
GD Posts: 1104
KGS: fwiffo
But what if it's OVER 9000!!!!!!!!!!!!!!!!!1

_________________
KGS 4 kyu - Game Archive
Keyboard Otaku - Webmaster Fort Myers Go Club

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: 61
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: 350
Liked others: 81
Was liked: 98
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 
Lives in gote

Posts: 337
Location: ʍoquıɐɹ ǝɥʇ ɹǝʌo 'ǝɹǝɥʍǝɯos
Liked others: 12
Was liked: 63
Rank: AGA 5d
GD Posts: 4312
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 4d over the board (but hopefully still 5d in terms of knowledge and theory).

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

Posts: 3780
Location: Banbeck Vale
Liked others: 490
Was liked: 808
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.

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: 61
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 
Tengen
User avatar

Posts: 3780
Location: Banbeck Vale
Liked others: 490
Was liked: 808
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?

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

Posts: 1413
Location: Florida
Liked others: 46
Was liked: 142
Rank: DGS 3 kyu
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 - Webmaster Fort Myers Go Club

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

Posts: 1413
Location: Florida
Liked others: 46
Was liked: 142
Rank: DGS 3 kyu
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 - Webmaster Fort Myers Go Club

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: 61
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 0 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