View Full Version : Custom Profile field description as phrase
jluerken
05-11-2004, 09:07 AM
Hi,
I am using 2 languages within my board and now I create custom profile fields for the new user registration.
Problem here is that I can only enter a description text in one language.
Sure I can enter both also there but it looks strange.
It would be good to have the possibility to enter a phrase_variable there so that I can offer the description in both languages.
I think this should be a standard vb3 feature.
Kind regards
jluerken
jluerken
05-18-2004, 06:42 AM
keeping this on top :D
jluerken
07-17-2004, 12:44 PM
keeping this on top :D
Will this come in one of the next versions?
Andreas
07-17-2004, 01:07 PM
I don't know if this will be included in any new version, but you can try the following:
For each custom field, create a phrase fieldx_title in phrasegroup GLOBAL.
Example:
Custom Profile Field "Biography", fieldname field1
Create a phrase field1_title in phrasegroup GLOBAL with text "Biography".
Then go through the files member.php, memberlist.php, register.php, showgroups.php, profile.php and includes/functions_user.php and FIND
while ($profilefield = $DB_site->fetch_array($profilefields))
{
Replace ALL occurances with
while ($profilefield = $DB_site->fetch_array($profilefields))
{
$profilefield['title'] = $vbphrase['field'.$profilefield['profilefieldid'].'_title'];
Khashyar
10-25-2005, 08:42 AM
Hi jluerken and Andreas,
I actually was also wondering how to display custom profile fields in different languages.
Did Andreas' suggestion work?
Khashyar
peterska2
10-25-2005, 06:45 PM
If it does work, which I think it does, it will only work on 3.0.x NOT 3.5 because 3.5 was not around when that code was wrote.
Khashyar
10-25-2005, 09:25 PM
Thanks Peter.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.