Speed Options for Users 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 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'; } $txt{'605'} $spdtxt{'01'}
$spdtxt{'02'}
$spdtxt{'03'}
$spdtxt{'04'}
$spdtxt{'05'}
$spdtxt{'06'}
$spdtxt{'07'}

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'}"; 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 - Release"; fopen(FILE, "$memberdir/$username.off"); @offsettings = ; fclose(FILE); $usernamelink
$memberinfo
EOT
if($offsettings[0] == 1) { $ava = "
"; } else { $ava = $userprofile[13]; } if($offsettings[1] == 1) { $text = ""; } else { $text = $userprofile[12]; }
$userprofile[13]$userprofile[12]
$ava$text $menusep$img{'delete'} EOT } if ($offsettings[2] == 1) { $signature = ""; } else { $signature = $userprofile[5]; } $userprofile[5] $signature Sources/InstantMessage.pl $instantmessageplver="1 Gold - Release"; fopen(FILE, "$memberdir/$username.off"); @offsettings = ; fclose(FILE); $message = $immessage; # put the message back in the proper variable for doing ubbc if($enable_ubbc) { &DoUBBC; } $message =~ s~(\S{80})(?=\S)~$1\n~g; if ($offsettings[0] == 1) { $ava = "
"; } else { $ava = $userprofile[13]; } if ($offsettings[1] == 1) { $text = ""; } else { $text = $userprofile[12]; } if ($offsettings[2] == 1) { $signature = ""; } else { $signature = $userprofile[5]; }
$userprofile[13]$userprofile[12]
$ava$text $userprofile[5] $signature } if($enable_ubbc) { &DoUBBC; } $message =~ s~(\S{80})(?=\S)~$1\n~g; if ($offsettings[0] == 1) { $ava = "
"; } else { $ava = $userprofile[13]; } if ($offsettings[1] == 1) { $text = ""; } else { $text = $userprofile[12]; } if ($offsettings[2] == 1) { $signature = ""; } else { $signature = $userprofile[5]; }
$userprofile[13]$userprofile[12]
$ava$text $userprofile[5] $signature if($enable_ubbc && $showyabbcbutt) { if($offsettings[3] != 1) { $txt{'215'} EOT $txt{'215'} EOT } print << "EOT"; $txt{'297'}: if ($offsettings[4] != 1) { $txt{'469'}: EOT } print << "EOT"; $txt{'469'}: Sources/ModifyMessage.pl $modifymessageplver="1 Gold - Release"; fopen(FILE, "$memberdir/$username.off"); @offsettings = ; fclose(FILE); if($enable_ubbc && $showyabbcbutt) { if($offsettings[3] != 1) { EOT } print << "EOT"; EOT } } if ($offsettings[4] != 1) { print << "EOT"; $txt{'72'}: EOT } print << "EOT"; $txt{'72'}: Sources/Post.pl $postplver="1 Gold - Release"; fopen(FILE, "$memberdir/$username.off"); @offsettings = ; fclose(FILE); if( $enable_ubbc && $showyabbcbutt) { if($offsettings[3] != 1) { EOT } print << "EOT"; $txt{'297'}: EOT } } if ($offsettings[4] != 1) { print << "EOT"; $txt{'297'}: $txt{'72'}: EOT } print << "EOT"; $txt{'72'}: &doshowthread; if($offsettings[5] != 1) { &doshowthread; } english.lng $txt{'749'} = "The 'number of posts' box can only contain digits."; $spdtxt{'01'} = "Fastload Options"; $spdtxt{'02'} = "Disable showing of other Users Avatars?"; $spdtxt{'03'} = "Disable showing of other User Texts?"; $spdtxt{'04'} = "Disable showing of other Users Signatures?"; $spdtxt{'05'} = "Disable showing of UBBC Buttons?"; $spdtxt{'06'} = "Disable showing of Smilie Buttons?"; $spdtxt{'07'} = "Disable showing of Topic Summary?"; Sources/Admin.pl unlink("$memberdir/$currentmem.dat"); unlink("$memberdir/$currentmem.off");