![]() |
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; |
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:
|
but the column "IP address" still shown, at least its head-line..
|
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"); |
All times are GMT. The time now is 07:09 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|