https://www.icyphoenix.com/viewtopic.php?f=35&t=1588 ----------------------------------- carlos Mon 09 Apr, 2007 21:02 Hello! One Question About Images In Add Custom Fields... ----------------------------------- Hello! I have a question, or how I can do it if one can or not. I would like that in the option Add Custom Fields ... I can put on images, for example like in the image that I attach. I configure the options of the imge in the profile (that the images could be chosen) and already. It is possible to do it forming it? Thank you very much * THE IMAGE IS A PHOTOSHOP :D ----------------------------------- 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 [b]lang_profile_fields.php[/b] and inserting the HTML code for the image. Example: [list][*]Create a custom field with radio buttons. Call it TEST for example. [*]Add the options with these demo name: TEST1, TEST2, TEST3. [*]Open [b]lang_profile_fields.php[/b] and create these vars: [codeblock]$lang['1_TEST'] = 'Test Field'; $lang['1_Description'] = 'Test Description'; $lang['2_TEST1'] = ''; $lang['2_TEST2'] = ''; $lang['2_TEST3'] = '';[/codeblock][/list] Of course you should customize images and fields to suit your needs. Can you make some tests and then report to me? ----------------------------------- carlos Mon 09 Apr, 2007 23:14 Re: Hello! One Question About Images In Add Custom Fields... ----------------------------------- [quote user="Mighty Gorgon" post="11752"]Mmm... at the moment I guess it is possible by customizing [b]lang_profile_fields.php[/b] and inserting the HTML code for the image. Example: [list][*]Create a custom field with radio buttons. Call it TEST for example. [*]Add the options with these demo name: TEST1, TEST2, TEST3. [*]Open [b]lang_profile_fields.php[/b] and create these vars: [codeblock]$lang['1_TEST'] = 'Test Field'; $lang['1_Description'] = 'Test Description'; $lang['2_TEST1'] = ''; $lang['2_TEST2'] = ''; $lang['2_TEST3'] = '';[/codeblock][/list] Of course you should customize images and fields to suit your needs. Can you make some tests and then report to me?[/quote] Hello! Ok, I test now, It runs in Phpbb XS?? Thanks :mricy: ----------------------------------- carlos Mon 09 Apr, 2007 23:32 Re: Hello! One Question About Images In Add Custom Fields... ----------------------------------- Hello! I have tested, I only see the text (TEST1...) :D Thanks :) ----------------------------------- 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. ----------------------------------- carlos Mon 09 Apr, 2007 23:49 Re: Hello! One Question About Images In Add Custom Fields... ----------------------------------- [quote user="Mighty Gorgon" post="11782"]Check the in DB the ID of the fields you have created and update the number in front of the lang var.[/quote] Hello! Sorry but I don´t understand :lol: :lol: One thing, I have edit the lang_profile_fields.php and I have put the code in the file. But in DB nothing :o Thanks ;) ----------------------------------- Mighty Gorgon Tue 10 Apr, 2007 00:06 Re: Hello! One Question About Images In Add Custom Fields... ----------------------------------- Post here the content of your [b]phpbb_profile_fields[/b] table. ----------------------------------- carlos Tue 10 Apr, 2007 00:20 Re: Hello! One Question About Images In Add Custom Fields... ----------------------------------- Ok, Is this :mrorange: ?: ----------------------------------- Mighty Gorgon Tue 10 Apr, 2007 00:33 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? :roll: ----------------------------------- carlos Tue 10 Apr, 2007 02:15 Re: Hello! One Question About Images In Add Custom Fields... ----------------------------------- Hello! I don´t know what is, so I put some things :mrblue: [quote] table type possible_keys key key_len ref rows Extra phpbb_profile_fields system NULL NULL NULL NULL 0 const row not found [/quote] Wait, because I have one problem :D ----------------------------------- Mighty Gorgon Wed 11 Apr, 2007 02:58 Re: Hello! One Question About Images In Add Custom Fields... ----------------------------------- No... I need the table contents...