Icy Phoenix

     
 


Post new topic  Reply to topic 
Page 1 of 1
 
 
Reply with quote Download Post 
Post Custom Profile Fields With Images 
 
Hello friends, I created a custom profile fields for gender (Male / Female) in my website to appear below the avatar, everything is working fine but I want to change the text (Male / Female) for images, does anyone know how to do this or know any tutorial about it, please?

Sorry if this is not the correct place for this topic.

so now.
estaassim  want so.
queroassim
 



 
The CrowSend 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: Custom Profile Fields With Images 
 
Hi The Crow,

Would this link put you on the right track maybe?


http://www.phpbb.com/customise/db/mod/genders/
 




____________
www.DutchaGoGo.com (development/under construction ...Forever?¿?)
 
Joshua203Send private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Custom Profile Fields With Images 
 
Hi, may I ask if you are talking about Icy Phoenix or phpBB 3?
 




____________
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: Custom Profile Fields With Images 
 
Looking at the post history of The Crow  I'ld say it's about Milky Way phpbb
 




____________
www.DutchaGoGo.com (development/under construction ...Forever?¿?)
 
Joshua203Send private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Custom Profile Fields With Images 
 
Joshua203 thank you, i tested the mod/genders but i did not like the result and also will be one more mod to upgrade every PHPbb3 update, i prefer to use "Custom Fields", so i will not have this preoccupation.

Mighty Gorgon Yes i use Milky Way but frankly i do not know if it is editing the template files or in phpBB3, i need to learn how to replace texts (for an image) of a custom profile fields that appears below the user avatar in the current case, "Genders", if possible with this, i will make with others in the future.
 



 
The CrowSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Custom Profile Fields With Images 
 
I think using images is not posible in ACP > profile fields if you not change other code.

It might work if you use parts of the code of the suggested gender mod together with ACP profile fields but that would be a puzzle  

Last night I have read trough all 62 pages of the release thread of the gender mod and also the mod database threads (it was a lot).....
Even if 2 members suggested doing this by using ACP profile fields, they never got a good explanation:
http://www.phpbb.com/community/view...+error#p4127155 at page 1

and

http://www.phpbb.com/community/view...t=825#p11017725 at page 56

(someone even wanted more than 3 genders   )



I have even installed this thing now and am editing (or trying to ) the stuff I want to look different (in black pearl) ....I think this would be the best way!!

Can you try and explain what you did not like about this mod? ... MAYBE    I can try to help?
 




____________
www.DutchaGoGo.com (development/under construction ...Forever?¿?)
 
Joshua203Send private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Custom Profile Fields With Images 
 
Joshua203 thanks for your help, have a few days I'm testing this mod but when I solve one problem another one appears. Now I have an error message (in my opinion a mistake) "The value you entered is too small.", that is displayed when the visitor does not choose an option gender to register. It would be ideal "The Genders field must be completed", is it complicated to solve this?   
 



 
The CrowSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Custom Profile Fields With Images 
 
I'm not sure yet but this message may be used for more than just this mod

You would not want it to talk about genders when the password was too short ...so rewriting the message would be a bad idea in this case

setting a default (for if the user forget to choose) would avoid this message, that would be easy! ..but maybe not what you want.

I will try and modify my own setup so that it demands a gender choice on registration to try and get some idea and test a bit.

meanwhile can you try this and let me know if this helps?
http://www.phpbb.com/community/view...t=780#p10541385
 




____________
www.DutchaGoGo.com (development/under construction ...Forever?¿?)
 
Joshua203Send private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Custom Profile Fields With Images 
 
Code: [Download] [Hide] [Select]
    'TOO_SMALL_GENDER'        => 'Your Gender is TOO Small ...Please Check it!!!.',


Depending on how you modified your code to make it a forced field on registration the above will probably work.

If not ...then replace it with ONE of these below:
Code: [Download] [Hide] [Select]
    'TOO_SHORT_GENDER'        => 'Your Gender is TOO Short ...Please Check it!!!.',

    'TOO_LONG_GENDER'        => 'Your Gender is TOO Long ...Please Check it!!!.',

    'TOO_LARGE_GENDER'        => 'Your Gender is TOO Large ...Please Check it!!!.',


One of these will work, you have to add it to the bottom of the common.php of your language directory (with the other gender translation lines)...My bet is that the first one is good for you!!

But in fact they all work and they all have a different function

Goodluck The Crow,
...Joshua203


PS ...ofcourse you can change the translation text  
 




____________
www.DutchaGoGo.com (development/under construction ...Forever?¿?)
 
Joshua203Send private messageVisit poster's website  
Back to topPage bottom
Post new topic  Reply to topic  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


  

 

  cron