Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
2 registered (Dunny, Ruben), 48 Guests and 14 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 06/05/06
Posts: 709
Top Posters (30 Days)
Ruben 50
DennyP 24
Gizmo 24
Dunny 15
SteveS 13
AllenAyres 12
dbremer 10
SD 10
drkknght00 9
driv 8
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Topic Options
#223393 - 03/01/09 07:15 AM [FIXED for 7.5.1] 7.5 Customfield
Stephan Offline
journeyman
Registered: 02/09/09
Posts: 56
Loc: 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
Top
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."
#223449 - 03/02/09 12:06 PM Re: 7.5 Customfield [Re: Stephan]
Stephan Offline
journeyman
Registered: 02/09/09
Posts: 56
Loc: Heidelberg - Germany
is it possible to change?

Thank Stephan
_________________________
UBB since 2003 - Version v7.5.2 - http://www.tiernetzwerk.de
Chrome 2.0
Top
#223450 - 03/02/09 12:07 PM Re: 7.5 Customfield [Re: Stephan]
SD Offline
Registered: 04/19/07
Posts: 4056
Loc: SoCal, USA
yes
_________________________

Threads tutorials . Threads & Wordpress experts . UBB resume

If I you, click this link as to why
Top
#223465 - 03/02/09 01:14 PM Re: 7.5 Customfield [Re: SD]
Gizmo Offline

Registered: 06/05/06
Posts: 14995
Loc: 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
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#223469 - 03/02/09 01:58 PM Re: 7.5 Customfield [Re: Gizmo]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: 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.
Top
#223885 - 03/10/09 12:27 PM Re: 7.5 Customfield [Re: Rick]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: 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.
Top



Moderator:  AllenAyres, Harold, Ian, Ron M 
Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Temporary Password email not being received
by
05/24/12 10:02 PM
Ability to "like" individual posts (not Facebook "likes)
by doug
05/23/12 09:03 AM
Island Permissions
by ThreadsUser
05/22/12 03:03 PM
streaming video
by prkrgrp
05/20/12 07:02 PM
New Posts Corrupted? Can someone help?
by PianoWorld
05/19/12 09:41 AM
Forum Stats
10492 Members
36 Forums
33842 Topics
181709 Posts

Max Online: 978 @ 06/24/07 11:19 PM
Random Image