Icy Phoenix

     
 


Post new topic  This topic is locked: you cannot edit posts or make replies. 
Page 1 of 1
 
 
Reply with quote Download Post 
Post 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

Untitledas-1.jpg
Description:  
Download
Filename: Untitledas-1.jpg
Filesize: 95.97 KB
Downloaded: 664 Time(s)

 



 
carlosSend private message  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post 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:
    Code: [Download] [Hide] [Select]
    $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?
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Hello! One Question About Images In Add Custom Fields... 
 
Mighty Gorgon wrote: [View Post]
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:
    Code: [Download] [Hide] [Select]
    $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
 



 
carlosSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Hello! One Question About Images In Add Custom Fields... 
 
Hello!

I have tested, I only see the text (TEST1...)  

Thanks
 



 
carlosSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post 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.
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Hello! One Question About Images In Add Custom Fields... 
 
Mighty Gorgon wrote: [View Post]
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
 



 
carlosSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Hello! One Question About Images In Add Custom Fields... 
 
Post here the content of your phpbb_profile_fields table.
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Hello! One Question About Images In Add Custom Fields... 
 
Ok, Is this ?:

Untitlased-2.gif
Description:  
Download
Filename: Untitlased-2.gif
Filesize: 48.42 KB
Downloaded: 614 Time(s)

 



 
carlosSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post 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?
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post 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
 



 
carlosSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Hello! One Question About Images In Add Custom Fields... 
 
No... I need the table contents...
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Post new topic  This topic is locked: you cannot edit posts or make replies.  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events