PDA

View Full Version : [Release] Change Post Color


SaintDog
06-03-2002, 10:00 PM
Author: Xanthine

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.

corsacrazy
06-24-2002, 11:31 AM
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 ...

hellsatan
06-29-2002, 10:41 PM
Sweet:)

Satan

imported_sctsnipe
07-10-2002, 04:37 AM
...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?

SaintDog
07-10-2002, 04:44 AM
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].

imported_sctsnipe
07-10-2002, 05:16 AM
ok i checked that out. i have it right, mines 4, it says 4, still doesnt work

SaintDog
07-10-2002, 05:24 AM
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

imported_sctsnipe
07-10-2002, 06:58 AM
is it possible to change the default, cause i dont want everyone to have black

assassingod
08-02-2002, 10:37 AM
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: