Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online Now
1 registered members (JAISP), 42 guests, and 416 spiders.
Key: Admin, Global Mod, Mod
Member Spotlight
Pilgrim
Pilgrim
NH, USA
Posts: 235
Joined: December 2003
Show All Member Profiles 
Top Posters(30 Days)
isaac 44
Gizmo 34
Ruben 13
Morgan 8
Geoff 6
Latest Photos
Test
BSA photos
Chinese Buddhist temple.
My buddha beads.
Rendered Walls
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
Joined: Feb 2009
Posts: 56
Heidelberg - Germany
Stephan Offline OP
journeyman
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
Joined: Feb 2009
Posts: 56
Heidelberg - Germany
Stephan Offline OP
journeyman
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
Joined: Apr 2007
Posts: 4,313
SoCal, USA
SD Offline
Carpal Tunnel
SD  Offline
Carpal Tunnel
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
Joined: Jun 2006
Posts: 16,862
Portland, OR; USA
Gizmo Offline
UBB.threads Developer
Gizmo  Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 16,862
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.
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
Joined: Jun 2006
Posts: 10,177
Aberdeen, WA
R
Rick Offline
Former Developer
Rick  Offline
Former Developer
R
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
Joined: Jun 2006
Posts: 10,177
Aberdeen, WA
R
Rick Offline
Former Developer
Rick  Offline
Former Developer
R
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
Anyway to Reset a Members password in ControlPanel
by peter gariepy. 02/16/18 12:11 AM
My forums will not send emails
by peter gariepy. 02/16/18 12:08 AM
error when trying to email everyone
by . 02/11/18 06:02 AM
imageMagick test
by Morgan. 02/10/18 09:03 AM
Forum Statistics
Forums36
Topics35,074
Posts190,962
Members12,058
Most Online978
Jun 24th, 2007
Random Image
Powered by UBB.threads™ PHP Forum Software 7.6.1.1