Page 1 of 1

bug: gd post count

Posted: Thu Apr 29, 2010 7:33 am
by wossname
could not set gd posts to 9000

Re: bug: gd post count

Posted: Thu Apr 29, 2010 7:47 am
by Joaz Banbeck
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.

Re: bug: gd post count

Posted: Thu Apr 29, 2010 7:52 am
by fwiffo
But what if it's OVER 9000!!!!!!!!!!!!!!!!!1

Re: bug: gd post count

Posted: Thu Apr 29, 2010 8:02 am
by ChradH
On a related issue: You can't unset the post count any more. Leaving the field blank results in "0 posts" displayed.










<-- DEMO

Re: bug: gd post count

Posted: Thu Apr 29, 2010 8:17 am
by deja
fwiffo wrote:But what if it's OVER 9000!!!!!!!!!!!!!!!!!1


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

Re: bug: gd post count

Posted: Thu Apr 29, 2010 8:26 am
by DrStraw
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.

Re: bug: gd post count

Posted: Thu Apr 29, 2010 2:46 pm
by Joaz Banbeck
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.

Re: bug: gd post count

Posted: Thu Apr 29, 2010 3:02 pm
by 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.

Re: bug: gd post count

Posted: Thu May 06, 2010 6:35 pm
by Joaz Banbeck
ChradH wrote:Please, don't forget about being able to the value to empty again.


That's beyond my current skills. Fwiffo?

Re: bug: gd post count

Posted: Thu May 06, 2010 7:59 pm
by 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.

Re: bug: gd post count

Posted: Thu May 06, 2010 8:19 pm
by 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.

Re: bug: gd post count

Posted: Fri May 07, 2010 1:35 am
by 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.