Page 1 of 1

prohibit customers from using IP addresses for employees?

Posted: Fri Feb 21, 2025 11:23 am
by Marcel_164
Hello,
Is it actually possible to prevent employees from seeing an IP address because of data protection?
Best regards
Marcel

Re: prohibit customers from using IP addresses for employees?

Posted: Fri Feb 21, 2025 11:55 am
by Klemen
There is no built-in way to do that.

However, you could delete this code from the /admin/admin_ticket.php page:

Code: Select all

                                    <li class="noclose">
                                        <span class="title"><?php echo $hesklang['ip']; ?>:</span>
                                        <?php if ($ticket['ip'] == '' || $ticket['ip'] == 'Unknown' || $ticket['ip'] == $hesklang['unknown']): ?>
                                        <span class="value"><?php echo $hesklang['unknown']; ?></span>
                                        <?php else: ?>
                                        <span class="value"><a href="../ip_whois.php?ip=<?php echo urlencode($ticket['ip']); ?>"><?php echo $ticket['ip']; ?></a></span>
                                        <a href="javascript:" title="<?php echo $hesklang['copy_value']; ?>" onclick="navigator.clipboard.writeText('<?php echo $ticket['ip']; ?>');$('#copy-ip').addClass('copied');setTimeout(function(){$('#copy-ip').removeClass('copied')}, 150);">
                                            <svg class="icon icon-merge copy-me" id="copy-ip">
                                                <use xlink:href="<?php echo HESK_PATH; ?>img/sprite.svg#icon-merge"></use>
                                            </svg>
                                        </a>
                                        <?php endif; ?>
                                    </li>

Re: prohibit customers from using IP addresses for employees?

Posted: Fri Feb 21, 2025 12:41 pm
by Marcel_164
But if you want to ban someone, they will still be banned but the IP address isn't there, or can you then neither ban them nor ban them?

Re: prohibit customers from using IP addresses for employees?

Posted: Fri Feb 21, 2025 3:01 pm
by Klemen
In that case I recommend hiring a PHP developer that will help you customize your help desk to fit your needs.

Re: prohibit customers from using IP addresses for employees?

Posted: Fri Feb 21, 2025 8:43 pm
by Marcel_164
All right.
I've done it now, everything is going great 👍