PDA

View Full Version : New Field?


18 Apr 2000, 16:53
I didn't see your code yet, but I’m curious:
How easy ( read: trouble-free ;) ) would be to add a new field on the user’s profile db?...

18 Apr 2000, 17:12
this would definitely be nice as a control panel option. It would be even nicer if gender and age were default fields in a profile.

18 Apr 2000, 18:07
> It would be even nicer if gender and age were default fields in a profile.

John, listen to Martin... :D

See, if you want to translate a software to a Latin language ( French, Italian, Portuguese, Spanish, etc. ) you must have to deal with the whole gender inconvenience: the words must be written in distinct ways for each one, male and female.

It would be fairly easy to code such “conditional strings” if a gender field existed...

18 Apr 2000, 19:12
Actually, you can more or less do this in the CP (didn't check if it could be done trough a field, but yoy can add an extra line to the profile field that say's 'ocupation' and such)

18 Apr 2000, 20:14
I couldn’t deduce it from the Templates Manual, but if such extra line generates a variable that could be tested by PHP, it will certainly do the trick. Is it right, John? :)

18 Apr 2000, 21:34
The 'biography' profile field was designed with this in mind. I thought that instead of having lots of miscellaneaous fields that some people would not find useful, I would just add a single field that you put what you like in. You can change the default Location:, Occupation:, Interests: thing through the templates.

I hadn't really thought about gender problems in translations. Is that a major difficulty for translators?

John

19 Apr 2000, 00:33
> Is that a major difficulty for translators?

Oh, yeah... :) Most of the languages of the world modify their nouns ( and even their pronouns, verbs, articles, etc. ) according to the gender of the subject.

A simple word like “Friend” can be written as Freund / Freundin ( in German ), Ami / Amie ( French ), Amigo / Amiga ( Portuguese ), Chaver / Chavera ( Hebrew ), Amico / Amica ( Italian ), and even Prijatelj / Prijateljica ( in Serbo-Croatian )... :p

And naturally, it is regarded as extremely impolite to address a woman as a man or vice-versa.

Therefore, if you want a Spanish vBulletin, for instance, it should display “Bienvenido, John!” for the “Welcome” link - but it also must display “Bienvenida, Mary!”...

19 Apr 2000, 00:45
Damn, I'm glad we don't have such a thing in dutch :)

19 Apr 2000, 01:01
i am testing vbulletin for the first time

19 Apr 2000, 01:09
Enjoying it? :)

19 Apr 2000, 01:32
congratulations menno for your new job here

19 Apr 2000, 02:00
Thanks Dr D :)
I hope to keep seeing you guys here, and I hope even more to see some good vBulletin boards out there ;)

19 Apr 2000, 05:44
> It would be even nicer if gender and age were default fields in a profile.

John, listen to Martin... :D

See, if you want to translate a software to a Latin language ( French, Italian, Portuguese, Spanish, etc. ) you must have to deal with the whole gender inconvenience: the words must be written in distinct ways for each one, male and female.

It would be fairly easy to code such “conditional strings” if a gender field existed...




I betccha Martin would like it if they posted a pic to. Naked pics get sent directly to him thou!

20 Apr 2000, 22:47
Hi, John,
Please disregard my previous inquiries... I just saw the code (http://www.vbulletin.com/forum/showthread.php?threadid=66) of Ed Sullivan’s hack and the postbit (http://www.vbulletin.com/forum/showthread.php?threadid=55) template. It’s unbelievably easy to hack anything in vB. No more questions about that... :cool:

[Edited by Aldreis on 04-21-2000 at 07:56 AM]

19 Aug 2000, 23:01
Originally posted by Martin
this would definitely be nice as a control panel option. It would be even nicer if gender and age were default fields in a profile.

Can someone please post how this would be done?

Thanks!