|
Page 1 of 1
|
The Crow
Joined: September 2009
Posts: 17
Location: Japan
|
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.
want so.
|
#1 Sat 01 Oct, 2011 17:07 |
|
Sponsors
|
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.
|
|
Mighty Gorgon
Luca Libralato
Joined: August 2006
Posts: 7191
Location: Borgo San Michele
|
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
|
#3 Sun 02 Oct, 2011 00:02 |
|
Joshua203
Joshua 203
Dutch A Go Go
Joined: August 2008
Posts: 1754
Location: Earth, Europe, the Netherlands, Rotterdam
|
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?¿?)
|
#4 Sun 02 Oct, 2011 00:45 |
|
The Crow
Joined: September 2009
Posts: 17
Location: Japan
|
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.
|
#5 Sun 02 Oct, 2011 07:51 |
|
Joshua203
Joshua 203
Dutch A Go Go
Joined: August 2008
Posts: 1754
Location: Earth, Europe, the Netherlands, Rotterdam
|
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?¿?)
|
#6 Sun 02 Oct, 2011 13:53 |
|
The Crow
Joined: September 2009
Posts: 17
Location: Japan
|
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?
|
#7 Wed 05 Oct, 2011 19:37 |
|
Joshua203
Joshua 203
Dutch A Go Go
Joined: August 2008
Posts: 1754
Location: Earth, Europe, the Netherlands, Rotterdam
|
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?¿?)
|
#8 Thu 06 Oct, 2011 14:38 |
|
Joshua203
Joshua 203
Dutch A Go Go
Joined: August 2008
Posts: 1754
Location: Earth, Europe, the Netherlands, Rotterdam
|
Re: Custom Profile Fields With Images
'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:
'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?¿?)
|
#9 Thu 20 Oct, 2011 01:45 |
|
|
Page 1 of 1
|
Was this topic useful?
Was this topic useful?
Link this topic |
URL |
|
BBCode |
|
HTML |
|
Similar Topics
Similar Topics
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
|
|
|
|