Hi All, How to hide source web IP? Thanks, Mohan K.
You would have to edit the core source files to achieve this.
\include\staff\ticket-view.inc.php circa line: 441 <th><?php echo __('Source'); ?>:</th>
<th><?php echo __('Source'); ?>:</th>
ntozier Hi, I need to hide IP Address Thanks, Mohan K.
Is there an update on this by chance @ntozier ? what do we actually have to edit to remove the IP from the 'source' area of the ticket?
No this has not changed. You would still have to edit the core source files. Look at the file: \include\staff\ticket-view.inc.php Look for <th><?php echo __('Source'); ?>:</th>
ntozier No i get i'll look there, and i found that line but do i just delete it or what, because when i deleted that line, the whole ticket view went wonky.
You would edit the html however you like.
If it were me I would remove the contents between the <th></th> and if it didn't look right I would add a space between them.
ntozier I did as you said, and it just got rid of the actual "SOURCE" header but left the IP:
travisn try deleting this: if (!strcasecmp($ticket->getSource(), 'Web') && $ticket->getIP()) echo ' <span class="faded">('.Format::htmlchars($ticket->getIP()).')</span>';
if (!strcasecmp($ticket->getSource(), 'Web') && $ticket->getIP()) echo ' <span class="faded">('.Format::htmlchars($ticket->getIP()).')</span>';
This is resolved, Please close the discussion.