UltraBB Forums Home 
Home Search search Menu menu Not logged in - Login | Register
UltraBB Forums > UltraBB > Software Assistance > Quick reply drops the + symbol

Welcome to the UltraBB public support forum! Did you know there is an inexpensive totally integrated gallery available for UltraBB? Read more here: Gallery Details

 Moderated by: Jim
New Topic Reply Printer Friendly
Quick reply drops the + symbol  Rate Topic 
AuthorPost
 Posted: Thu May 13th, 2010 04:46 pm
  PM Quote Reply
1st Post
wingnutter
Forever Learning


Joined: Wed May 14th, 2008
Location: Ireland
Posts: 1843
Status: 
Offline
Mana: 
User Gallery
A few people on my forum are having the + symbol get dropped in Quick Reply. I checked and it is happening to me too, Internet Explorer and Firefox. Can't say about Chrome as I don't use it.

Back To Top PM Quote Reply  

 Posted: Thu May 13th, 2010 04:46 pm
  PM Quote Reply
2nd Post
wingnutter
Forever Learning


Joined: Wed May 14th, 2008
Location: Ireland
Posts: 1843
Status: 
Offline
Mana: 
User Gallery
1

Back To Top PM Quote Reply

 Posted: Thu May 13th, 2010 04:47 pm
  PM Quote Reply
3rd Post
wingnutter
Forever Learning


Joined: Wed May 14th, 2008
Location: Ireland
Posts: 1843
Status: 
Offline
Mana: 
User Gallery
Actually it is happening here too. My post above should have read +1, I used Quick Reply.

Back To Top PM Quote Reply  

 Posted: Thu May 13th, 2010 05:12 pm
  PM Quote Reply
4th Post
Jim
I work here


Joined: Wed Apr 11th, 2007
Location:  
Posts: 6649
Status: 
Offline
Mana: 
User Gallery
1 + 1

Back To Top PM Quote Reply

 Posted: Thu May 13th, 2010 05:13 pm
  PM Quote Reply
5th Post
Jim
I work here


Joined: Wed Apr 11th, 2007
Location:  
Posts: 6649
Status: 
Offline
Mana: 
User Gallery
1

Back To Top PM Quote Reply  

 Posted: Thu May 13th, 2010 05:13 pm
  PM Quote Reply
6th Post
Jim
I work here


Joined: Wed Apr 11th, 2007
Location:  
Posts: 6649
Status: 
Offline
Mana: 
User Gallery
++1

Back To Top PM Quote Reply

 Posted: Thu May 13th, 2010 05:13 pm
  PM Quote Reply
7th Post
Jim
I work here


Joined: Wed Apr 11th, 2007
Location:  
Posts: 6649
Status: 
Offline
Mana: 
User Gallery
1

Back To Top PM Quote Reply  

 Posted: Thu May 13th, 2010 05:14 pm
  PM Quote Reply
8th Post
Jim
I work here


Joined: Wed Apr 11th, 2007
Location:  
Posts: 6649
Status: 
Offline
Mana: 
User Gallery
That is cool, nobody caught this yet! Hundreds of licenses. Wow.

Back To Top PM Quote Reply

 Posted: Thu May 13th, 2010 05:23 pm
  PM Quote Reply
9th Post
wingnutter
Forever Learning


Joined: Wed May 14th, 2008
Location: Ireland
Posts: 1843
Status: 
Offline
Mana: 
User Gallery
Yes it's amazing how literally tens of thousand of people on hundreds of forums can use the software and not see it until now.

Back To Top PM Quote Reply  

 Posted: Thu May 13th, 2010 06:08 pm
  PM Quote Reply
10th Post
Robert
Member


Joined: Fri Jul 18th, 2008
Location: Benidorm, Spain
Posts: 1320
Status: 
Online
Mana: 
User Gallery
I don't even know where you are looking to get these numbers. Enlighten me someone please.

Back To Top PM Quote Reply

 Posted: Thu May 13th, 2010 06:40 pm
  PM Quote Reply
11th Post
martin_wynne
Licence Holder


Joined: Sun May 25th, 2008
Location: West Of The Severn, United Kingdom
Posts: 1819
Status: 
Offline
Mana: 
User Gallery
Jim wrote: That is cool, nobody caught this yet! Hundreds of licenses. Wow.
Hi Jim,

It's the same problem as the one with activation keys -- if php can interpret the string as a floating point number it does so. It then drops the positive sign as the normal default on floats.

Folks, this only happens if the + sign is the first non-space character in the box and it is followed only by numbers or a single decimal point or a single letter e or E.

+123 will become 123

+1.2e4 will become 12000.00

but

+12x will stay as +12x

The easiest fix is to type some invalid character on the end, such as a semi-colon:

+123;

or just type some other stuff on the same or subsequent lines.

(edit) p.s. This bug isn't in Ultra and there is nothing Jim can do about it.

regards,

Martin.

Last edited on Thu May 13th, 2010 06:45 pm by martin_wynne

Back To Top PM Quote Reply  

 Posted: Thu May 13th, 2010 07:17 pm
  PM Quote Reply
12th Post
Robert
Member


Joined: Fri Jul 18th, 2008
Location: Benidorm, Spain
Posts: 1320
Status: 
Online
Mana: 
User Gallery
+.89
+
+45
test+test
+test
2+4
+

Enlightenment is still called for as I can't see where the problem lies or else I'm totally off course with this.

Last edited on Thu May 13th, 2010 07:22 pm by Robert

Back To Top PM Quote Reply

 Posted: Thu May 13th, 2010 07:23 pm
  PM Quote Reply
13th Post
martin_wynne
Licence Holder


Joined: Sun May 25th, 2008
Location: West Of The Severn, United Kingdom
Posts: 1819
Status: 
Offline
Mana: 
User Gallery
Fun time.

Forget the + signs, just try entering this by itself in Quick Reply:

123e45

Now try this by itself:

123e456

:)

Martin.

Back To Top PM Quote Reply  

 Posted: Thu May 13th, 2010 07:29 pm
  PM Quote Reply
14th Post
martin_wynne
Licence Holder


Joined: Sun May 25th, 2008
Location: West Of The Severn, United Kingdom
Posts: 1819
Status: 
Offline
Mana: 
User Gallery
Robert wrote: Enlightenment is still called for as I can't see where the problem lies or else I'm totally off course with this.
Hi Bob,

Try entering your first line

+.89

by itself in the Quick Reply box and then sending it.

(Or almost anywhere else in Ultra -- as the subject line of a new topic, for example.)

Martin.

Back To Top PM Quote Reply

 Posted: Thu May 13th, 2010 08:05 pm
  PM Quote Reply
15th Post
wingnutter
Forever Learning


Joined: Wed May 14th, 2008
Location: Ireland
Posts: 1843
Status: 
Offline
Mana: 
User Gallery
I just discovered it is sometimes happening in the normal Reply box too.

Back To Top PM Quote Reply  

 Posted: Thu May 13th, 2010 08:14 pm
  PM Quote Reply
16th Post
Jim
I work here


Joined: Wed Apr 11th, 2007
Location:  
Posts: 6649
Status: 
Offline
Mana: 
User Gallery
We can't cure it the same way we did activation keys LOL. There would be a "u" in front of every post.

Back To Top PM Quote Reply

 Posted: Thu May 13th, 2010 08:40 pm
  PM Quote Reply
17th Post
Robert
Member


Joined: Fri Jul 18th, 2008
Location: Benidorm, Spain
Posts: 1320
Status: 
Online
Mana: 
User Gallery
0.89


Ah, now I see.

Last edited on Thu May 13th, 2010 08:41 pm by Robert

Back To Top PM Quote Reply  

 Posted: Thu May 13th, 2010 09:06 pm
  PM Quote Reply
18th Post
martin_wynne
Licence Holder


Joined: Sun May 25th, 2008
Location: West Of The Severn, United Kingdom
Posts: 1819
Status: 
Offline
Mana: 
User Gallery
wingnutter wrote: I just discovered it is sometimes happening in the normal Reply box too.
Hi Steve,

Yes -- in fact it happens everywhere in Ultra -- anywhere you can type into. Topic subject lines, signatures, profile fields, the lot. :)

But the thing is, how often do you need to enter a number by itself and have it treated as a string? 99.9% of the time, if you enter a number you want it to be a number, or else it is part of a longer string anyway.

regards,

Martin.

Back To Top PM Quote Reply

Current time is 09:16 am  
UltraBB Forums > UltraBB > Software Assistance > Quick reply drops the + symbol Top



Hosting

UltraBB 1.17 Copyright © 2007-2011 Data 1 Systems, INC.
Page processed in 0.2646 seconds (14% database + 86% PHP). 28 queries executed.