3.0.0MPAKÿüÌINFOÌüÿ# # This file contains Installation Informations. # This file does not include Installation Instructions for the normal User. # Please do not edit this file if you are not the Module Author. # # Please read the provided install.txt for Informations on how to install this Module. # # Module Name [name] Most Ignored Users [/name] # Module Directory Name [short_name] most_ignored_users [/short_name] # your name [author] Wicher [/author] # your email [email] n/a [/email] # your webpage url [url] http://www.detecties.com/phpbb2018 [/url] # module version [version] 1.0.0 [/version] # required minimum Statistics Mod Version [stats_mod_version] 3.0.1beta3s [/stats_mod_version] # default update time [update_time] 0 [/update_time] [check_update_site] http://www.detecties.com/phpbb2018 [/check_update_site] # extra info for the user [extra_info] This Module displays the most ignored users at your board. Requires Ignore Users Mod (http://www.phpbbhacks.com/download/789) [/extra_info] ÌÌÿINFOÿÌÌÿüÌLANGÌüÿInstall the mod (http://www.phpbbhacks.com/download/789) or deactivate this module.'; // [/lang_english] // [lang_danish] $lang['module_name'] = 'Most Ignored Users'; $lang['ignored_by'] = ' users ignored by '; $lang['other'] = ' other users'; $lang['Ignores'] = 'Ignored by X Users'; $lang['Error_message'] = 'The Ignore Users Mod have to be installed in order to see the Ignored Users.
Install the mod (http://www.phpbbhacks.com/download/789) or deactivate this module.'; // [/lang_danish] // [lang_dutch] $lang['module_name'] = 'Meest Genegeerde Gebruikers'; $lang['ignored_by'] = ' gebruikers genegeerd door '; $lang['other'] = ' andere gebruikers'; $lang['Ignores'] = 'Genegeerd door X gebruikers'; $lang['Error_message'] = 'De Ignore Users Mod moet geinstalleerd zijn om de genegeerde gebruikers te kunnen bekijken.
Installeer de Mod (http://www.phpbbhacks.com/download/789) of deactiveer deze module.'; // [/lang_dutch] // [lang_german] $lang['module_name'] = 'Die meisten ignorierten Benutzer'; $lang['ignored_by'] = ' benutzer ignoriert von '; $lang['other'] = ' anderen Benutzern'; $lang['Ignores'] = 'Ignoriert durch X Users'; $lang['Error_message'] = 'Der Ignore Users Mod müss angebracht werden, um die Ignorierten Benutzer zu sehen.
Bringen Sie den Mod an (http://www.phpbbhacks.com/download/789) oder entaktivieren Sie dieses Modul.'; // [/lang_german] // [lang_italian] $lang['module_name'] = 'La maggior parte Hanno ignorato Gli Utenti'; $lang['ignored_by'] = ' utenti ignorati vicino '; $lang['other'] = ' altri utenti'; $lang['Ignores'] = 'Ignorato da X Users'; $lang['Error_message'] = 'Il MOD degli utenti di ignor deve essere installato per vedere gli utenti ignorati.
Installi il MOD (http://www.phpbbhacks.com/download/789) o disattivi questo modulo.'; // [/lang_italian] // [lang_spanish] $lang['module_name'] = 'La mayoría No hicieron caso De Usuarios'; $lang['ignored_by'] = ' usuarios no hechos caso cerca '; $lang['other'] = ' otros usuarios'; $lang['Ignores'] = 'No hecho caso por X Users'; $lang['Error_message'] = 'La MOD de los usuarios del no hacer caso tiene que ser instalada para considerar a los usuarios no hechos caso.
Instale la MOD (http://www.phpbbhacks.com/download/789) o desactive este módulo.'; // [/lang_spanish] ?>ÌÌÿLANGÿÌÌÿüÌMODÌüÿstart_module(true); $core->set_content('statistical'); $core->set_view('rows', $core->return_limit); $core->set_view('columns', 3); $core->define_view('set_columns', array( $core->pre_defined('rank'), 'username' => $lang['Username'], 'ignores' => $lang['Ignores']) ); $content->percentage_sign = TRUE; $core->assign_defined_view('align_rows', array( 'left', 'left', 'center') ); // check if mod installed $sql = "SELECT user_id FROM " . IGNORE_TABLE ." ORDER BY user_id DESC LIMIT 1"; if (!$result = $db->sql_query($sql)) { $there=0; } else { $there=1; } if ($there == 0) { message_die(GENERAL_MESSAGE, $lang['Error_message']); } $sql = "SELECT i.user_id, i.user_ignore, u.username FROM phpbb_ignore i, " . USERS_TABLE . " u WHERE i.user_ignore = u.user_id ORDER BY i.user_ignore DESC"; $result = $core->sql_query($sql, 'Unable to retrieve number ignored users'); if ($row = $core->sql_fetchrow($result)) { do { $postrow[] = $row; } while ($row = $core->sql_fetchrow($result)); } $total_ignoring_users = count($postrow); $count_ignoredby = 1; for($i = 0; $i < count($postrow); $i++) { $i_check = $i+1; if ($postrow[$i_check]['user_ignore'] == $postrow[$i]['user_ignore']) { $count_ignoredby++; } else { $postrowalmostfinal[]=array_merge(array("ignored_count"=>$count_ignoredby),$postrow[$i]); $count_ignoredby = 1; } } $igcount = array(); for($i = 0; $i < count($postrowalmostfinal); $i++) { $igcount[] = $postrowalmostfinal[$i]['ignored_count']; } array_multisort($igcount, SORT_DESC, $postrowalmostfinal); $totalusers = count($postrowalmostfinal); if ($totalusers > $core->return_limit) { for($f = 0; $f < $core->return_limit; $f++) { $postrowfinal[] = $postrowalmostfinal[$f]; } } else { for($f = 0; $f < $totalusers; $f++) { $postrowfinal[] = $postrowalmostfinal[$f]; } } $core->set_header($lang['module_name'].' - '.$totalusers.$lang['ignored_by'].$total_ignoring_users.$lang['other']); $core->set_data($postrowfinal); $core->define_view('set_rows', array( '$core->pre_defined()', '$core->generate_link(append_sid($phpbb_root_path . \'profile.php?mode=viewprofile&u=\' . $core->data(\'user_ignore\')), $core->data(\'username\'), \'target="_blank"\')', '$core->data(\'ignored_count\')') ); $core->run_module(); ?>ÌÌÿMODÿÌÌ