Go back
Typo on

Typo on "my buddies" page.

Site Ideas

Vote Up
Vote Down

It says: convientint

Vote Up
Vote Down

Fixed about a month ago on my development machine, but a new major release of all the code has not been uploaded since then...so that glaring typo goes uncorrected. But since someone else has noticed it, I better fix it now...

-Russ

Vote Up
Vote Down

Thanks :-)

2 edits
Vote Up
Vote Down

Another sort of typo; when I have only 1 game waiting, it says '1 games waiting'. That's silly...!

Why not add an:

if (gamesWaiting == 1)
{
gamesWaitingText = (gamesWaiting + " game waiting" ) ;
}
else
{
gamesWaitingText = (gamesWaiting + " games waiting" ) ;
}

...or something...

2 edits
Vote Up
Vote Down

or:

gamesWaitingText = (gamesWaiting + " game" ) ;

if (gamesWaiting != 1)
{
gamesWaitingText = gamesWaitingText + "s";
}

gamesWaitingText = (gamesWaiting + " waiting" ) ;

😉

1 edit
Vote Up
Vote Down

waste of code really:

gamesWaitingText = (" Games Waiting : " + gamesWaiting ) ;

EDIT: much shorter and much neater.



Vote Up
Vote Down

all ur codes look c'ish so i would use t'nry operator (cos Im lazy typist):

gamesWaitingText = (gamesWaiting != 1) ? (gamesWaiting + "games waiting"😉 : (gamesWaiting + " game waiting"😉;

Vote Up
Vote Down

Originally posted by redbaron101
all ur codes look c'ish so i would use t'nry operator (cos Im lazy typist):

gamesWaitingText = (gamesWaiting != 1) ? (gamesWaiting + "games waiting"😉 : (gamesWaiting + " game waiting"😉;
b@*&^@! smilies!!

gamesWaitingText = ( gamesWaiting != 1 ) ? ( gamesWaiting + " games waiting" ) : ( gamesWaiting + " game waiting" ) ;

Vote Up
Vote Down

Hmm, that's better coding...

1 edit
Vote Up
Vote Down

wouldn't it be just easier if he just put the s in () ?

Game(s) Waiting.. no code needed.. just uglier

Vote Up
Vote Down

Originally posted by redbaron101
b@*&^@! smilies!!

gamesWaitingText = ( gamesWaiting != 1 ) ? ( gamesWaiting + " games waiting" ) : ( gamesWaiting + " game waiting" ) ;
A shorter one:

gamesWaitingText = ( gamesWaiting != 1 ) ? ( gamesWaiting + " games waiting" ) : ( 1+ " game waiting" ) ;


A smarter one:

gamesWaitingText = ( gamesWaiting != 0)?((( gamesWaiting != 1 ) ? ( gamesWaiting + " games waiting" ) : ( 1+ " game waiting" ))🙁"no games waiting);

Vote Up
Vote Down

The same should apply with the messages indicator (or how one calls it). When I have only one unread message, it refers to it as 'messages'.

Vote Up
Vote Down

And the same should apply with the reccomendation indicator (or how one calls it). When I have only one recommendation, it refers to it as 'recommendations'.