PDA

View Full Version : REALLY need help


pie
07-30-2003, 11:06 PM
Right,

TOGRC.com have a coloured users online and the lastpost colour.. all one field id. Ok, So i made a new user profile, made it for hex code. Post is working. Problem now is

i try using Xenon's premade hack with the colours but rather than having it pick the person up as blue or pre-defined colours i want it as their custom profile field.....

Xenon's hack - https://vborg.vbsupport.ru/showthread.php?s=&threadid=31536&highlight=online+color


I tried going for something simple, i changed....

$username = "<b><i>$username</b><i>";

$username = "<font color="$post[field7]">$storeextraglow</font>";

assassingod
07-30-2003, 11:21 PM
$username = "<font color=\"$post[field7]\">$storeextraglow</font>";

pie
07-31-2003, 08:51 PM
still a php error, where do i put it, cheers.

assassingod
07-31-2003, 08:55 PM
Replace it with

$username = "<font color="$post[field7]">$storeextraglow</font>";

pie
07-31-2003, 09:16 PM
tried - php error - and which ones. cos some of the code is buggered by the <font - as in hyperlinks etc.

Erwin
08-01-2003, 01:12 AM
Use this:


$username = "<font color=\"$post[field7]\">$storeextraglow</font>";


That should work. Make sure the variables are correct.

assassingod
08-01-2003, 07:05 AM
Today at 03:12 AM Erwin said this in Post #6 (https://vborg.vbsupport.ru/showthread.php?postid=422270#post422270)
Use this:


$username = "<font color=\"$post[field7]\">$storeextraglow</font>";


That should work. Make sure the variables are correct.

I posted that in my first reply:confused: