|
|
Joined: May 1999
Posts: 23
Journeyman
|
Journeyman
Joined: May 1999
Posts: 23 |
minor bug in showprofile template: U_Extra fields doesn't have separate rows with their names when viewing user's profile - they all show up just after ICQ number
Greetings, Piotr
|
|
|
|
Joined: May 1999
Posts: 3,039
Guru
|
Guru
Joined: May 1999
Posts: 3,039 |
These should still be displayed ok. Since these are an on/off thing depending on the config, the HTML is still in showprofile.php.
UBB.threads Developer
|
|
|
|
Joined: May 1999
Posts: 23
Journeyman
|
Journeyman
Joined: May 1999
Posts: 23 |
the HTML is: =================== <tr> <td valign="top" class="darktable"> {$ubbt_lang['PROF_ICQ']} </td> <td> $ICQ $icqimage $Extra2 $Extra3 $Extra4 $Extra5 </td> </tr> ================ note Extra fields in same row, one after one if I have Extra2 (user's car) I see in profile: ICQ: 123456 Saab 9-3 so it isn't displayed ok for right look of Extra2: ICQ: 123456 Car: Saab 9-3 I had to change template to: ================ <tr> <td valign="top" class="darktable"> {$ubbt_lang['PROF_ICQ']} </td> <td> $ICQ $icqimage </tr> <tr> <td valign="top" class="darktable"> Car:</td> <td> $Extra2 </td> </tr> ================== Is this what I should do always if I define another Extra field or it can be solved?
Greetings, Piotr
|
|
|
|
Joined: May 1999
Posts: 3,039
Guru
|
Guru
Joined: May 1999
Posts: 3,039 |
Ah, ok. It's a case problem. I'm defining the html with $extra2, $extra3 but calling it with $Extra2, $Extra3. The showprofile template needs to be changed to lowercase.
UBB.threads Developer
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 70
Joined: January 2007
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|