The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
modlog.php?do=view - IP Address column removing
modlog.php?do=view - IP Address column removing Statistics & Logs -> Moderator Log (admin/modlog.php?do=choose) -> choose any moderator -> View -> you get to Moderator Log Viewer (admin/modlog.php?do=view) There we can see a column "IP Address" at right side. My goal - to remove from viewing from anyone (even Administrators) that column. How to do it? Thank you very much anyway!! --------------- Added [DATE]1383644125[/DATE] at [TIME]1383644125[/TIME] --------------- In modlog.php Code:
cell[] = $celldata; $cell[] = '<span class="smallfont">' . iif($log['ipaddress'], "<a href=\"usertools.php?" . $vbulletin->session->vars['sessionurl'] . "do=gethost&ip=$log[ipaddress]\">$log[ipaddress]</a>", ' ') . '</span>'; print_cells_row($cell, 0, 0, -4); } print_table_footer(6, "$firstpage $prevpage $nextpage $lastpage"); } else { print_stop_message('no_results_matched_your_query'); } } |
#2
|
||||
|
||||
under $cell[] = $celldata;
Change: Code:
$cell[] = '<span class="smallfont">' . iif($log['ipaddress'], "<a href=\"usertools.php?" . $vbulletin->session->vars['sessionurl'] . "do=gethost&ip=$log[ipaddress]\">$log[ipaddress]</a>", ' ') . '</span>'; PHP Code:
|
#3
|
||||
|
||||
but the column "IP address" still shown, at least its head-line..
|
#4
|
||||
|
||||
Remove these:
Code:
$headings[] = str_replace(' ', ' ', $vbphrase['ip_address']); Code:
$cell[] = '<span class="smallfont">' . iif($log['ipaddress'], "<a href=\"usertools.php?" . $vbulletin->session->vars['sessionurl'] . "do=gethost&ip=$log[ipaddress]\">$log[ipaddress]</a>", ' ') . '</span>'; And change: Code:
print_description_row(construct_link_code($vbphrase['restart'], "modlog.php?" . $vbulletin->session->vars['sessionurl'] . ""), 0, 6, 'thead', vB_Template_Runtime::fetchStyleVar('right')); Code:
print_table_header(construct_phrase($vbphrase['moderator_log_viewer_page_x_y_there_are_z_total_log_entries'], vb_number_format($vbulletin->GPC['pagenumber']), vb_number_format($totalpages), vb_number_format($counter['total'])), 6); Code:
print_table_footer(6, "$firstpage $prevpage $nextpage $lastpage"); |
Благодарность от: | ||
ka81 |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|