This mod will change the showing of Members Statistics in AP
Installation is quite simple:
1. Open ../application/modules/User/views/scripts/admin-manage/stats.tpl
2.Find code:
<?php if( _ENGINE_ADMIN_NEUTER ): ?> <?php echo $this->translate('(hidden)') ?> <?php else: ?> <?php if (isset($this->user->creation_ip)) { $ipObj = new Engine_IP($this->user->creation_ip); echo $ipObj->toString(); } ?> <?php endif ?>
3. Replace it with:
<?php if( _ENGINE_ADMIN_NEUTER ): ?> <?php echo $this->translate('(hidden)') ?> <?php else: ?> <a href="http://whois.domaintools.com/<?php $ipObj = new Engine_IP($this->user->creation_ip); echo $ipObj->toString(); ?>" target="_blank" title="Click here for more info about this IP"><?php $ipObj = new Engine_IP($this->user->creation_ip); echo $ipObj->toString(); ?></a> <?php endif ?>
4. Find code:
<?php if( _ENGINE_ADMIN_NEUTER ): ?> <?php echo $this->translate('(hidden)') ?> <?php elseif( $this->user->lastlogin_ip ): ?> <?php $ipObj = new Engine_IP($this->user->lastlogin_ip); echo $ipObj->toString(); ?> <?php else: ?> <?php echo $this->translate('None') ?> <?php endif ?>
5. Replace it with:
<?php if( _ENGINE_ADMIN_NEUTER ): ?> <?php echo $this->translate('(hidden)') ?> <?php elseif( $this->user->lastlogin_ip ): ?> <a href="http://whois.domaintools.com/<?php $ipObj = new Engine_IP($this->user->lastlogin_ip); echo $ipObj->toString(); ?>" target="_blank" title="Click here for more info about this IP"><?php $ipObj = new Engine_IP($this->user->lastlogin_ip); echo $ipObj->toString(); ?></a> <?php else: ?> <?php echo $this->translate('None') ?> <?php endif ?>
Looking for quality SocialEngine Hosting? Look no further than Arvixe Web Hosting!