Description: This will teach you how to allow your users to change the post color they use in their posts. If a user wishes to choose to use their own color, they must choose a 6 character hex code (ie: FFFFFF would be white, 000000 would be black - the # is automatic) afterwhich, their post colors will be the chosen color.
Note: if you have already created a custom field then the colour field will be another number other than $post[field5] it will be 6 if you have created one custom field 7 if you have created 2 custom fields and so on ...
Sweet:)
Satan
...im having problems with it, all the text comes out black. im using the excat settings as in the text file. but not working...know why?
Did you use $post[field5] or did you use your own settings? The variable set in the tutorial is not global (meaning $post[field5] will not work for everyone, it could be $post[field6] or something other).
To check things, go to the custom profile fields section and hover over the "edit" link, the number on the end should be replaced with the "5" in $post[field5].
ok i checked that out. i have it right, mines 4, it says 4, still doesnt work
Things work just fine for me (tested on my test board), have you edited your profile yet? You will need to edit your profile and enter a 6 digit HEX code (otherwise black will be used).
User CP > Edit Profile > Post Color
is it possible to change the default, cause i dont want everyone to have black
Originally posted by sctsnipe
is it possible to change the default, cause i dont want everyone to have black
Same here, I havent found a way around it yet:rolleyes: