Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online Now
0 registered members (), 53 guests, and 297 spiders.
Key: Admin, Global Mod, Mod
Member Spotlight
Yarp™
Yarp™
Breda, NL
Posts: 1,530
Joined: August 2006
Show All Member Profiles 
Top Posters(30 Days)
Gizmo 25
Ruben 14
Morgan 11
isaac 9
Alento 4
SteveS 3
Latest Photos
Test
Testing to drag photos
Comfortable Cats
Test
BSA photos
Previous Thread
Next Thread
Print Thread
[FIXED for 7.5.1] 7.5 Customfield #223393
03/01/09 07:15 AM
03/01/09 07:15 AM
Stephan  Offline OP
journeyman
Joined: Feb 2009
Posts: 56
Heidelberg - Germany
Problem:

Define CUSTOMFIELD as postalcode or telefonnumber
input: 06224
output: 6224


UBB since 2003 - Version v7.5.2 - http://www.tiernetzwerk.de
Chrome 2.0
Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
Re: 7.5 Customfield [Re: Stephan] #223449
03/02/09 12:06 PM
03/02/09 12:06 PM
Stephan  Offline OP
journeyman
Joined: Feb 2009
Posts: 56
Heidelberg - Germany
is it possible to change?

Thank Stephan


UBB since 2003 - Version v7.5.2 - http://www.tiernetzwerk.de
Chrome 2.0
Re: 7.5 Customfield [Re: Stephan] #223450
03/02/09 12:07 PM
03/02/09 12:07 PM
SD  Offline
Former Developer
Joined: Apr 2007
Posts: 4,313
SoCal, USA
yes

Re: 7.5 Customfield [Re: SD] #223465
03/02/09 01:14 PM
03/02/09 01:14 PM
Gizmo  Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 16,999
Portland, OR; USA
I donno, I'd say it should be a threads "feature" if users really want to prefix data with a 0... lol


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Need to Upgrade?
Forums: A Gardeners Forum Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Re: 7.5 Customfield [Re: Gizmo] #223469
03/02/09 01:58 PM
03/02/09 01:58 PM
R
Rick  Offline
Former Developer
Joined: Jun 2006
Posts: 10,177
Aberdeen, WA
It should be yeah. Will need to do some tests to see why it's chomping off the leading 0, in it shouldn't be.

Re: 7.5 Customfield [Re: Rick] #223885
03/10/09 11:27 AM
03/10/09 11:27 AM
R
Rick  Offline
Former Developer
Joined: Jun 2006
Posts: 10,177
Aberdeen, WA
Found the issue. When the queries are being formatted, we only quote non-integer fields for the query. That ends up chopping off the leading 0 when added to MySQL. So, I've changed the do_placeholder_query() function so it will also quote an integer field if it begins with a 0 so that will preserve the data as it was entered.


Shout Box
Today's Birthdays
No Birthdays
Recent Topics
Phishing SCAM emails
by Morgan. 11/16/18 01:28 PM
Repliers can change thread title
by Baldeagle. 11/12/18 08:49 PM
Tabs In Header
by AstroCat. 11/11/18 08:33 AM
Mindraven
by SteveS. 11/09/18 07:12 PM
Censor List
by Larry Miller. 11/08/18 02:53 PM
Forum Statistics
Forums36
Topics35,166
Posts191,605
Members12,113
Most Online978
Jun 24th, 2007
Random Image
Powered by UBB.threads™ PHP Forum Software 7.6.2