I was looking out to hide ips for super admins and found a post my member in vborg on how to hide ip:
actually this would dis-able logging ip of all super admins. I only wish to disable ip logging for idno.325, how can I do that ?
HTML Code:
But you can easily disable IP logging by editing a single file directly. This has the benefits of not only disabling logging for posts, but globally, even in error-, admin- and event-logs, as well as PMs and the currently online list. Open file includes/class_core.php Line 2259 find return $_SERVER['REMOTE_ADDR']; replace with global $vbulletin; if ($vbulletin->userinfo['userid'] == $vbulletin->options['superadmin_id']) return "127.0.0.1"; return $_SERVER['REMOTE_ADDR']; and Line 2269 find $alt_ip = $_SERVER['REMOTE_ADDR']; replace with [CODE]global $vbulletin; if ($vbulletin->userinfo['userid'] == $vbulletin->options['superadmin_id']) return "127.0.0.1"; $alt_ip = $_SERVER['REMOTE_ADDR'];
Comment