[]
Myke said:I've added a little more functionality to this already useful mod. It allows you to optionally view a User's IPs by a monthly basis. Attached is the updated showip.txt file; you'll have to rename it to .php and then you just need to make the following change to the showuser template:
###
### Open /templates/default/admin/showuser.tmpl
###
##
## Find this:
##
</td><td class="paddingtop paddingbottom stdautorow colored-row" valign="top">
$lastpost - $lastpostip
<br />
<a href="{$config['phpurl']}/admin/showip.php?Cat=$Cat&User=$uid" target="_blank">Show User's IPs</a>
</td></tr>
#
# Change to this:
#
</td><td class="paddingtop paddingbottom stdautorow colored-row" valign="top">
$lastpost - $lastpostip
<br />
<a href="{$config['phpurl']}/admin/showip.php?Cat=$Cat&User=$uid" target="_blank">Show User's IPs</a>
| <a href="{$config['phpurl']}/admin/showip.php?Cat=$Cat&User=$uid&Group=month" target="_blank">Show User's IPs by month</a>
</td></tr>
When Editing a user you'll now have two links:
Show User's IPs |
Show User's IPs by monthThere's a lot of potential to add value to the showip function. I have a couple of more ideas in mind but I'll put this out there as a start. [/]
Hi Myke, I added the change in the code as you wrote, but when I click on the IPs by Month link....it still just lists all the IPs but doesn't look any different than Show User's IPs.
