Previous Thread
Next Thread
Print Thread
Hop To
Joined: Jun 2006
Posts: 67
C
journeyman
journeyman
C Offline
Joined: Jun 2006
Posts: 67
Can you please bring back separate fields for First Name and Last Name. It make it easier to integrate other programs user may build around UBB that require it.

Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
We had seperate fields for first and last names?

IMO, it's a waste of time... You can use a php function like explode or preg_split to seperate it into two values defined by the space (" ") which would split the value into an array which you could use to "read in" to other applications...


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.
Do you need Forum Install or Upgrade Services?
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!
Joined: Aug 2006
Posts: 1,649
Likes: 1
Pooh-Bah
Pooh-Bah
Joined: Aug 2006
Posts: 1,649
Likes: 1
What if a name contains more than one space? wink


GangsterBB.NET (Ver. 7.6.1.1)
PHP Version 5.6.40 / MySQL 5.7.23-23 (was 5.6.41-84.1) / Apache 2.4.54
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Joined: Aug 2006
Posts: 1,358
Y
Veteran
Veteran
Y Offline
Joined: Aug 2006
Posts: 1,358
Originally Posted by Gizmo
IMO, it's a waste of time...

"Nobody will ever need more than 640Kb RAM!" -- Bill Gates, 1981.

And somehow somebody who made Lotus Notes thinks a middle name of 6 characters is more then sufficient.

Saying that you can simply search the one and only space might be true in your world and the names people have there, but it's not in ours here.

Double firstnames, double middlenames en double lastnames, not so uncommon in the Netherlands. There is no way hosee you can write software that can split up a dutch name in it's different parts. If you really try, you might get a 99% ok score. Even the human eye can't always tell from looking at it what's what.


[Linked Image from siemons.org]
Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
^^ both make good points! wink

yah, i just thought of it.. names like 'van Cruijff' or.. 'van der hoovel'

edit.. i guess Cruijff has no VAN .. but you get my drift laugh

Joined: Aug 2006
Posts: 1,358
Y
Veteran
Veteran
Y Offline
Joined: Aug 2006
Posts: 1,358
Originally Posted by Sirdude
yah, i just thought of it.. names like 'van Cruijff' or.. 'van der hoovel'

Yep... But those are doable. "van de", "van der" etc are the middlenames that are pretty standard.

But Hans Frits Franken can be Hans Frits, with last name Franken, or it's Hans with last name Frits Franken.

Quote
edit.. i guess Cruijff has no VAN .. but you get my drift laugh

He drives a normal car wink


[Linked Image from siemons.org]
Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
lol... touche` [Linked Image from ctfisherman.com]

Joined: Jun 2006
Posts: 196
I
enthusiast
enthusiast
I Offline
Joined: Jun 2006
Posts: 196
It's too bad we didn't build 5 custom fields so that users could add fields they felt necessary

Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
forgot the </sarc> tag wink

Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
Originally Posted by jgeoff
What if a name contains more than one space? wink
it'd split it into as many fields as there are spaces; so 3 names would be an array with 3 names...

Fields are quite scaleable, theres no need to have a ton of fields when you can just split criteria into an array and read that into your script...

You can do a lot with array's, so it's not like it's not something that could be customized... In fact, you can use the 5 custom boxes for first and last names if you wanted to as is... Or you could use the name column and split the data as sugguested.


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.
Do you need Forum Install or Upgrade Services?
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!
Joined: Jun 2006
Posts: 67
C
journeyman
journeyman
C Offline
Joined: Jun 2006
Posts: 67
How would users go back to populate these custom field when users already entered names in the one Field for name.

Just seems strange to go to 1 field for name when programs are becoming so integrated and need First and Last name as a seperate field.

Joined: Aug 2006
Posts: 1,358
Y
Veteran
Veteran
Y Offline
Joined: Aug 2006
Posts: 1,358
Originally Posted by Gizmo
Or you could use the name column and split the data as sugguested.


As said, that's not possible.

As for the 5 custom fields, loosing 3 of them just to store a name.


[Linked Image from siemons.org]
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
I fail to see how it wouldn't be possible... But, if you insist :/


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.
Do you need Forum Install or Upgrade Services?
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!
Joined: Aug 2006
Posts: 1,358
Y
Veteran
Veteran
Y Offline
Joined: Aug 2006
Posts: 1,358
You cannot simple divide up a name into first name, middle name and last name based on spaces.

Sure, you can get the individual words, but there's no way in telling which is which in all cases. A real life example is posted earlier in this topic (Hans Frits Franken).

So, yes. I insist.


[Linked Image from siemons.org]
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
Sure there is, calculate how many are there, assume the last is the last name, then take the rest as first through middle; bam, closest possible method to assume valid content...


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.
Do you need Forum Install or Upgrade Services?
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!
Joined: Aug 2006
Posts: 1,358
Y
Veteran
Veteran
Y Offline
Joined: Aug 2006
Posts: 1,358
Originally Posted by Gizmo
Sure there is, calculate how many are there, assume the last is the last name, then take the rest as first through middle; bam, closest possible method to assume valid content...


Assume is the keyword here.

There is no way to tell if the that name in the middle is the middlename, part of the first name or part of the last name.

So, yes. I still insist.


[Linked Image from siemons.org]
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
Ok, give a user a ton of input boxes, read them all into one db field, seperate fields with |**| and strip that when you read it in... One input box, multiple names tongue


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.
Do you need Forum Install or Upgrade Services?
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!
Joined: Aug 2006
Posts: 1,358
Y
Veteran
Veteran
Y Offline
Joined: Aug 2006
Posts: 1,358
Originally Posted by Gizmo
Ok, give a user a ton of input boxes, read them all into one db field, seperate fields with |**| and strip that when you read it in... One input box, multiple names tongue


There's an invention called seperate database fields which can do the same in an easier way smile

Anyway, point is proven that the suggestion by the topicstart is not a "IMO, it's a waste of time..." kind of suggestion.


[Linked Image from siemons.org]
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
You should have heard CC yelling at us before he left groupee on why you don't need hundreds of db cells when you can use one for things; but to each their own I suppose.


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.
Do you need Forum Install or Upgrade Services?
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!
Joined: Aug 2006
Posts: 1,358
Y
Veteran
Veteran
Y Offline
Joined: Aug 2006
Posts: 1,358
ok, agreed. But besides how you would implement it, a name storage that seperates first, middle and last name is a valid request.


[Linked Image from siemons.org]

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
Is UBB.threads still going?
by Aaron101 - 04/01/2022 8:18 AM
Who's Online Now
1 members (Ruben), 1,248 guests, and 268 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)