| Comments |
 Re: Hello! One Question About Images In Add Custom Fields...
|
Mmm... at the moment I guess it is possible by customizing lang_profile_fields.php and inserting the HTML code for the image.
Example:
- Create a custom field with radio buttons. Call it TEST for example.
- Add the options with these demo name: TEST1, TEST2, TEST3.
- Open lang_profile_fields.php and create these vars:
$lang['1_TEST'] = 'Test Field';
$lang['1_Description'] = 'Test Description';
$lang['2_TEST1'] = '<img src="images/logo_ip.png" alt="" border="0" />';
$lang['2_TEST2'] = '<img src="images/logo_ip.png" alt="" border="0" />';
$lang['2_TEST3'] = '<img src="images/logo_ip.png" alt="" border="0" />';
Of course you should customize images and fields to suit your needs.
Can you make some tests and then report to me?
|
|
Mighty Gorgon [ Mon 09 Apr, 2007 22:39 ]
|
 |
 Re: Hello! One Question About Images In Add Custom Fields...
|
Mmm... at the moment I guess it is possible by customizing lang_profile_fields.php and inserting the HTML code for the image.
Example:
- Create a custom field with radio buttons. Call it TEST for example.
- Add the options with these demo name: TEST1, TEST2, TEST3.
- Open lang_profile_fields.php and create these vars:
$lang['1_TEST'] = 'Test Field';
$lang['1_Description'] = 'Test Description';
$lang['2_TEST1'] = '<img src="images/logo_ip.png" alt="" border="0" />';
$lang['2_TEST2'] = '<img src="images/logo_ip.png" alt="" border="0" />';
$lang['2_TEST3'] = '<img src="images/logo_ip.png" alt="" border="0" />';
Of course you should customize images and fields to suit your needs.
Can you make some tests and then report to me?
Hello!
Ok, I test now, It runs in phpBB XS??
Thanks 
|
|
carlos [ Mon 09 Apr, 2007 23:14 ]
|
 |
 Re: Hello! One Question About Images In Add Custom Fields...
|
Hello!
I have tested, I only see the text (TEST1...)
Thanks 
|
|
carlos [ Mon 09 Apr, 2007 23:32 ]
|
 |
 Re: Hello! One Question About Images In Add Custom Fields...
|
|
Check the in DB the ID of the fields you have created and update the number in front of the lang var.
|
|
Mighty Gorgon [ Mon 09 Apr, 2007 23:43 ]
|
 |
 Re: Hello! One Question About Images In Add Custom Fields...
|
Check the in DB the ID of the fields you have created and update the number in front of the lang var.
Hello!
Sorry but I don´t understand
One thing, I have edit the lang_profile_fields.php and I have put the code in the file. But in DB nothing
Thanks 
|
|
carlos [ Mon 09 Apr, 2007 23:49 ]
|
 |
 Re: Hello! One Question About Images In Add Custom Fields...
|
|
Post here the content of your phpbb_profile_fields table.
|
|
Mighty Gorgon [ Tue 10 Apr, 2007 00:06 ]
|
 |
 Re: Hello! One Question About Images In Add Custom Fields...
|
Ok, Is this  ?:
| Description: |
|
 Download |
| Filename: |
Untitlased-2.gif |
| Filesize: |
48.42 KB |
| Downloaded: |
498 Time(s) |
|
|
carlos [ Tue 10 Apr, 2007 00:20 ]
|
 |
 Re: Hello! One Question About Images In Add Custom Fields...
|
No, I need the content of that table... but I need it in a text file... can you export it please? 
|
|
Mighty Gorgon [ Tue 10 Apr, 2007 00:33 ]
|
 |
 Re: Hello! One Question About Images In Add Custom Fields...
|
Hello! I don´t know what is, so I put some things
Quote: table type possible_keys key key_len ref rows Extra
phpbb_profile_fields system NULL NULL NULL NULL 0 const row not found
Wait, because I have one problem 
|
|
carlos [ Tue 10 Apr, 2007 02:15 ]
|
 |
 Re: Hello! One Question About Images In Add Custom Fields...
|
|
No... I need the table contents...
|
|
Mighty Gorgon [ Wed 11 Apr, 2007 02:58 ]
|
 |
|
|