dir|^|Packages file|^|Packages/modification.php|^|1364|^|1054061493 \n
$error
\n"; } ?>file|^|Packages/modification.txt|^|150|^|1051055734 This mod adds two inputs to the Mod Settings page that lets you specify the number of replies required for a thread to be marked as Hot or Very Hot. file|^|Packages/modification1.4.1.mod|^|3493|^|1051055734 english.lng $txt[454] = "Hot Topic (More than 15 Replies)"; $txt[455] = "Very Hot Topic (More than 25 Replies)"; $txt[454] = "Hot Topic (More than $hotThreadSize Replies)"; $txt[4542] = "Hot Topic Size"; $txt[455] = "Very Hot Topic (More than $veryHotThreadSize Replies)"; $txt[4552] = "Very Hot Topic Size"; dutch.lng $txt[454] = "Populair onderwerp (Meer dan 15 reakties)"; $txt[455] = "Zeer populair onderwerp (Meer dan 25 reakties)"; $txt[454] = "Populair onderwerp (Meer dan $hotThreadSize reakties)"; $txt[4542] = "Populair onderwerp formaat"; $txt[455] = "Zeer populair onderwerp (Meer dan $veryHotThreadSize reakties)"; $txt[4552] = "Zeer populair onderwerp formaat"; german.lng $txt[454] = "Heisses Thema (mehr als 15 Antworten)"; $txt[455] = "Sehr heisses Thema (mehr als 25 Antworten)"; $txt[454] = "Heisses Thema (mehr als $hotThreadSize Antworten)"; $txt[4542] = "Heisse Thema-Grösse"; $txt[455] = "Sehr heisses Thema (mehr als $veryHotThreadSize Antworten)"; $txt[4552] = "Sehr heisses Thema-Grösse"; finnish.lng $txt[454] = "Kuuma aihe (Enemmän kuin 15 vastausta)"; $txt[455] = "Todella kuuma aihe (Enemmän kuin 25 vastausta)"; $txt[454] = "Kuuma aihe (Enemmän kuin $hotThreadSize vastausta)"; $txt[4542] = "Kuuma aihe koko"; $txt[455] = "Todella kuuma aihe (Enemmän kuin $veryHotThreadSize vastausta)"; $txt[4552] = "Todella kuuma aihe koko"; index.php if ($chkusrlng == 1) { if ($chklngfile == Null) { // Make special query to get the hot thread sizes $request = mysql_query("SELECT variable,value FROM {$db_prefix}settings WHERE (variable='veryHotThreadSize' OR variable='hotThreadSize')"); while ($row = mysql_fetch_row($request)) $modSettings["$row[0]"] = $row[1]; $veryHotThreadSize = $modSettings['veryHotThreadSize']; $hotThreadSize = $modSettings['hotThreadSize']; Sources/MessageIndex.php function MessageIndex (){ global $veryHotThreadSize,$hotThreadSize; elseif( $mreplies > 24 ) { $threadclass = 'veryhotthread'; } elseif( $mreplies > 14 ) { $threadclass = 'hotthread'; } elseif( $mreplies >= $veryHotThreadSize ) { $threadclass = 'veryhotthread'; } elseif( $mreplies >= $hotThreadSize ) { $threadclass = 'hotthread'; } Sources/ModSettings.php $txt[468] $txt[21] $txt[4542] $txt[4552] foreach($textVars as $txtVar) $textVars[] = 'hotThreadSize'; $textVars[] = 'veryHotThreadSize'; file|^|Packages/modification1.5.x.mod|^|3723|^|1054061494 Change Hot Thread Size 1.1 (YabbSE 1.5.x) Jack.R.Abbit Jack.R.Abbit Jack.R.Abbit This mod adds two inputs to the Mod Settings page that lets you specify the number of replies required for a thread to be marked as Hot or Very Hot. no english.lng $txt[454] = 'Hot Topic (More than 15 Replies)'; $txt[455] = 'Very Hot Topic (More than 25 Replies)'; $txt[454] = 'Hot Topic (More than ' . $hotThreadSize . ' Replies)'; $txt[4542] = 'Hot Topic Size'; $txt[455] = 'Very Hot Topic (More than ' . $veryHotThreadSize . ' Replies)'; $txt[4552] = 'Very Hot Topic Size'; german.lng $txt[454] = 'Heisses Thema (mehr als 15 Antworten)'; $txt[455] = 'Sehr heisses Thema (mehr als 25 Antworten)'; $txt[454] = 'Heisses Thema (mehr als ' . $hotThreadSize . ' Antworten)'; $txt[4542] = 'Heisse Thema-Grösse'; $txt[455] = 'Sehr heisses Thema (mehr als ' . $veryHotThreadSize . ' Antworten)'; $txt[4552] = 'Sehr heisses Thema-Grösse'; index.php $chklngfile = $chklngfile2 = $settings[23]; $veryHotThreadSize = $modSettings['veryHotThreadSize']; $hotThreadSize = $modSettings['hotThreadSize']; Sources/MessageIndex.php function MessageIndex () { global $veryHotThreadSize, $hotThreadSize; elseif ( $mreplies > 24 ) $threadclass = 'veryhotthread'; elseif ( $mreplies > 14 ) $threadclass = 'hotthread'; elseif ( $mreplies >= $veryHotThreadSize ) $threadclass = 'veryhotthread'; elseif ( $mreplies >= $hotThreadSize ) $threadclass = 'hotthread'; Sources/ModSettings.php ' . $txt[119] . ' ' . $txt[468] . ' ' . $txt[21] . '
' . $txt[4542] . ' ' . $txt[4552] . '
foreach($textVars as $txtVar) $textVars[] = 'hotThreadSize'; $textVars[] = 'veryHotThreadSize'; file|^|Packages/uninstall.php|^|1153|^|1054061507 '; if ($myversion == '1.5+') { rename('Packages/modification1.5.x.mod', 'Packages/modification.mod'); unlink('Packages/modification1.4.1.mod'); } else { rename('Packages/modification1.4.1.mod', 'Packages/modification.mod'); unlink('Packages/modification1.5.x.mod'); } $rs = mysql_query("SELECT variable FROM {$db_prefix}settings WHERE variable = 'hotThreadSize'"); if (mysql_num_rows($rs) == 1) { $q1 = <<' . $error . ' '; } ?>file|^|Packages/uninstall.txt|^|64|^|1051055736 Trying to run uninstall files for changehotthreadsize.mod.yp....