php forum
php mysql forum
php mysql smarty
 
Topic Options
#137966 - 08/09/01 01:44 AM [6.0x] User-defined custom font hack, in beta
heretic Offline
Member

Registered: 11/06/00
Posts: 69

   [6.0x] User-defined custom font hack, in beta to Del.icio.us Add to del.icio.us
  Digg [6.0x] User-defined custom font hack, in beta Digg it
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 = <INDEX> ) {
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~<font color=$user_profile[18]>~;
} else {
$pre_font_color = qq~<font color="#c0c0c0">~;
}
_________________________

WARPSTORM

Top


Who's Online
1 Registered (AllenAyres), 39 Guests and 6 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Team UBBDev Rides Again!
by AllenAyres
10/13/08 01:36 PM
Blogs, love em or hate em?
by AllenAyres
10/07/08 02:05 PM
What do you use to edit the files
by Ian_W
10/05/08 03:33 PM
BeyondCompare v3.00
by Ian_W
10/05/08 03:32 PM
Glossy Black Theme with Image Reflection
by Gizmo
10/05/08 02:17 PM
ShareThis
by Gizmo
09/28/08 05:06 AM
[7.3] Viewing MySQL logfiles made easier
by AllenAyres
09/27/08 09:57 PM
New Mods
[7.3] Viewing MySQL logfiles made easier
by blaaskaak
09/24/08 05:39 PM
[7.3.1] add search to showmembers page
by blaaskaak
09/07/08 04:50 AM
Multiple Identity Detector
by
12/30/06 06:39 PM
Newest Members
Kevs, pisa666, ghengis317, NitroX, Dogan
13346 Registered Users
Top Posters Last 30 Days
AllenAyres 9
blaaskaak 7
Chris Bale 4
FREAK1 4
Ian_W 4
tackaberry 4
Mike L_dup1 4

 

 

 
fusionbb message board php hacks