Speed Options for Users - SP1 1.0 This Mod allows users to choose if they want to see the following options: Avatars - Usertext - Signatures UBBC Buttons - Smilie Buttons - Topic Summary Cracks Smilies Without the displaying of them the threads should be load much faster! dOCda S! http://gpu.hackers.sk/hacks/index.htm Sources/Profile.pl fopen(FILE, "$memberdir/$INFO{'username'}.dat"); @memsettings=; fclose(FILE); fopen(FILE, "$memberdir/$INFO{'username'}.off"); @offsettings=; fclose(FILE); if ($memsettings[17] == 6) { $tsl6 = ' selected'; } if ($offsettings[0] == 1) { $offsettings[0] = 'checked'; } if ($offsettings[1] == 1) { $offsettings[1] = 'checked'; } if ($offsettings[2] == 1) { $offsettings[2] = 'checked'; } if ($offsettings[3] == 1) { $offsettings[3] = 'checked'; } if ($offsettings[4] == 1) { $offsettings[4] = 'checked'; } if ($offsettings[5] == 1) { $offsettings[5] = 'checked'; } if ($offsettings[6] == 1) { $offsettings[6] = 'checked'; } $txt{'605'} $spdtxt{'01'} ~; if ($enable_ssm == "1") { $yymain .= qq~ ~; } $yymain .= qq~
$spdtxt{'02'}
$spdtxt{'03'}
$spdtxt{'04'}
$spdtxt{'05'}
$spdtxt{'06'}
$spdtxt{'07'}
$spdtxt{'08'}

if($newpassemail) { # Write log fopen( FILE, ">$memberdir/$member{'username'}.off"); print FILE "$member{'hideavas'}\n"; print FILE "$member{'hidetext'}\n"; print FILE "$member{'hidesign'}\n"; print FILE "$member{'hideubbc'}\n"; print FILE "$member{'hidesmile'}\n"; print FILE "$member{'hidesum'}\n"; print FILE "$member{'hidecracks'}"; fclose(FILE); unlink("$memberdir/$member{'username'}.dat"); unlink("$memberdir/$member{'username'}.off"); unlink("$memberdir/$username.dat"); unlink("$memberdir/$username.off"); Sources/Display.pl $displayplver = "1 Gold - SP1"; fopen(FILE, "$memberdir/$username.off"); @offsettings = ; fclose(FILE); $memberinfo
~;
if($offsettings[0] == 1) { $userprofile[13] = "
"; } if($offsettings[1] == 1) { $userprofile[12] = ""; }
$yymain .= qq~ $menusep$img{'delete'}~; if ($offsettings[2] == 1) { $userprofile[5] = ""; } Sources/InstantMessage.pl ############################################################################### fopen(FILE, "$memberdir/$username.off"); @offsettings = ; fclose(FILE); $message = $immessage; # put the message back in the proper variable for doing ubbc if ($offsettings[0] == 1) { $userprofile[13] = "
"; } if ($offsettings[1] == 1) { $userprofile[12] = ""; } if ($offsettings[2] == 1) { $userprofile[5] = ""; }
} &wrap; if($enable_ubbc) { if(!$yyYaBBCloaded) { require "$sourcedir/YaBBC.pl"; } &DoUBBC; } if ($offsettings[0] == 1) { $userprofile[13] = "
"; } if ($offsettings[1] == 1) { $userprofile[12] = ""; } if ($offsettings[2] == 1) { $userprofile[5] = ""; }
Sources/Post.pl $postplver = "1 Gold - SP1"; fopen(FILE, "$memberdir/$username.off"); @offsettings = ; fclose(FILE); ##### CRACKS SMILIES LOAD CHECK ##### if ($offsettings[6] != 1) { sub Check_Board_Type { } ##### END CRACKS SMILIES LOAD CHECK #####
~; if($offsettings[3] != 1) { $yymain .= qq~ ~; } ~; } } ~; } $yymain .= qq~ ~; } if($offsettings[3] != 1) { $yymain .= qq~ $txt{'215'} $txt{'215'} ~; } $yymain .= qq~ &doshowthread; if($offsettings[5] != 1) { &doshowthread; } english.lng $txt{'796'} = "Your Instant Messages:"; $spdtxt{'01'} = "Fastload Options"; $spdtxt{'02'} = "Disable showing of User Avatars?"; $spdtxt{'03'} = "Disable showing of User Texts?"; $spdtxt{'04'} = "Disable showing of User Signatures?"; $spdtxt{'05'} = "Disable showing of UBBC Buttons?"; $spdtxt{'06'} = "Disable showing of Smilie Buttons?"; $spdtxt{'07'} = "Disable showing of Topic Summary?"; $spdtxt{'08'} = "Disable showing of Cracks Smilies Table?"; Sources/Admin.pl unlink("$memberdir/$currentmem.dat"); unlink("$memberdir/$currentmem.off");
$txt{'297'}:
$txt{'297'}: