andy's php projects
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
Script and site usage:
All of the scripts on this site are provided free for non-commerical, personal or non-profit use. If you find these scripts useful to you, appreciate the free support, or are just an all round nice person, then why not donate a little dosh? If you wish to use any of these in a commercial system, please refer to the payment plan.


using display text have bug when user have 0 and it shows

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    php.amnuts.com Forum Index -> User Quota
View previous topic :: View next topic  
Author Message
beos
Newbie


Joined: 20 Oct 2004
Posts: 6

PostPosted: Fri Oct 29, 2004 4:34 am    Post subject: using display text have bug when user have 0 and it shows Reply with quote

it will show 100% when user have zero space
it shows 100% again when user have full space
Back to top
View user's profile Send private message
beos
Newbie


Joined: 20 Oct 2004
Posts: 6

PostPosted: Sat Nov 06, 2004 4:26 am    Post subject: above the problem Reply with quote

you have any idea ? why ? it is really is the bug? what do you think andy ? can you please give the solution ?
Back to top
View user's profile Send private message
amnuts
Site Admin


Joined: 01 Sep 2002
Posts: 662
Location: East Sussex, England

PostPosted: Mon Nov 08, 2004 8:49 am    Post subject: Reply with quote

Hi Beos,

I must have missed this one when you originally posted it - sorry about that.

Can you give some kind of example of how you are calling it so that I might be able to try it out myself? Using the exact figures you do will help no end.

Thanks,

Andy
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
beos
Newbie


Joined: 20 Oct 2004
Posts: 6

PostPosted: Tue Nov 09, 2004 4:19 am    Post subject: thanks Reply with quote

example you try it, if it is zero % it will show it correctly
but if it is 100% it show zero % you try it! thanks
Back to top
View user's profile Send private message
amnuts
Site Admin


Joined: 01 Sep 2002
Posts: 662
Location: East Sussex, England

PostPosted: Tue Nov 09, 2004 5:02 am    Post subject: Reply with quote

Hmm.. Have not been able to replicate that. Check out these examples:

http://php.amnuts.com/demos/user-quota/?quota=100&used=0&username=&opText=1

http://php.amnuts.com/demos/user-quota/?quota=100&used=100&username=&opText=1

http://php.amnuts.com/demos/user-quota/?quota=54321&used=0&username=&opText=1

http://php.amnuts.com/demos/user-quota/?quota=54321&used=54321&username=&opText=1

First I take a number and have 0 used. Then I take the same number and use up all of it. I'm outputting only as text. The 0% and 100% show up as expected.

Have you made any changes to the class at all? Can you give exact figures you're passing to it?

Andy
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
beos
Newbie


Joined: 20 Oct 2004
Posts: 6

PostPosted: Thu Nov 11, 2004 1:52 am    Post subject: i guess no error uh Reply with quote

well i will re download and config again thanks for looking into it. Have a nice day. I love your project by the way.
Back to top
View user's profile Send private message
beos
Newbie


Joined: 20 Oct 2004
Posts: 6

PostPosted: Thu Nov 11, 2004 1:53 am    Post subject: by the way Reply with quote

WHO IS THE CHICK? mind sending me the collections of her pics
Back to top
View user's profile Send private message
amnuts
Site Admin


Joined: 01 Sep 2002
Posts: 662
Location: East Sussex, England

PostPosted: Thu Nov 11, 2004 7:16 am    Post subject: Re: by the way Reply with quote

beos wrote:
WHO IS THE CHICK? mind sending me the collections of her pics


huh?! Smile
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    php.amnuts.com Forum Index -> User Quota All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group