Hi, it would be possible to add a column with the IP address in User Groups>Inactive Users?
Thanks.
Hi, I haven't written any code, I would just like to know if it would be possible to do this with a change to the ACP code. I'm not an expert and wouldn't know how to do it.danieltj wrote: Fri May 24, 2024 11:06 am It would probably require some modification of core files potentially as I don't know if there are many template events there. What code have you written already?
adm/styles/acp_inactive.htmlVastasia2018 wrote: Fri May 24, 2024 9:28 am Hi, it would be possible to add a column with the IP address in User Groups>Inactive Users?
Thanks.
<th>{L_EMAIL}</th>
<th>{L_IP}</th>
<td style="vertical-align: top;">{inactive.USER_EMAIL}</td>
<td style="vertical-align: top;">{inactive.USER_IP}</td>
'USER_EMAIL' => $row['user_email'],
'USER_IP' => $row['user_ip'],
It worked! Thank you so much.Anișor wrote: Sat Aug 17, 2024 5:51 pmadm/styles/acp_inactive.htmlVastasia2018 wrote: Fri May 24, 2024 9:28 am Hi, it would be possible to add a column with the IP address in User Groups>Inactive Users?
Thanks.
Look for:
<th>{L_EMAIL}</th>
Add under:
<th>{L_IP}</th>
Look for:
<td style="vertical-align: top;">{inactive.USER_EMAIL}</td>
Add under:
<td style="vertical-align: top;">{inactive.USER_IP}</td>
includes/acp/acp_inactive.php
Look for:
'USER_EMAIL' => $row['user_email'],
Add under:
'USER_IP' => $row['user_ip'],
Purge cache.