UBB.Dev
Posted By: heretic [6.0x] User-defined custom font hack, in beta - 08/09/2001 8:44 AM
I'm almost ready to release this. it's based off the user defined custom title/avatar hack.

I'm trying to clean up when you quote someone, and I am confused about something. The variables for $reply_to are the cgi of the thread, right?

I need it to use the $reply_to[11] to get the member number, ten go to that specific member file, and pull line 18 from it, then assign it to $pre_font_color

for some reason, it's always going to the memberfile of the last person to register.

open (INDEX, "<$vars_config{MembersPath}/memberslist.cgi");
MEMBERS: while ($line = ) {
chomp($line);
($reply_to[2], $reply_to[11]) = split(/|!!|/, $line);
@user_profile = &OpenProfile($reply_to[11]);
}

my $pre_font_color = $user_profile[18];
chomp ($pre_font_color);
if ($pre_font_color ne "") {
$pre_font_color = qq~~;
} else {
$pre_font_color = qq~~;
}
© UBB.Developers