PDA

View Full Version : looking to allow users to change thier own title color


michealo
07-03-2002, 12:06 AM
i did several searches and didnt see anyhing related to this

thru control panel, my users can change thier user title to thier hearts content, but thier raving to be able to change the color

i used to do it myself with HTML in the control panel, but its a pain in the behind to keep doing it constantly

does a hack exist for this?

thank you for any assistance

michealo
07-03-2002, 11:55 AM
34 views and zero replies?

anyways, i figured it out with some help from an old post that had a reply from a member named Mist

make a custom profile field which can only be 7 character long for the input...

Call it Custom Title Color

In that field they can type the hex of the color they want the title to be...

then find out what profile field it is (can't remember how to do it but its not hard)

then in ure postbit template find this bit:

$post[usertitle]

then change that to:

<font color="$post[fieldx]">$post[usertitle]</font>

instead of the "x" in "fieldx" insert the number of the profile field..

i have not tested this but it should work... however it will only work on ure postbit templates...

you can find the field number by clicking on modify while in profile area then looking at address bar at top of browser . mine was (action=edit&profilefieldid=5)

everything else is self-explanetory
thanks Mist

Dean C
07-03-2002, 04:01 PM
huh ? lol - what have i done?

michealo
07-03-2002, 04:17 PM
<a href="https://vborg.vbsupport.ru/showthread.php?s=&threadid=38347" target="_blank">https://vborg.vbsupport.ru/showt...threadid=38347</a>

you somewhat answered my question months before i asked it