Let me share with you guys simple but powerfull Mod
what it Do?
you will see by this in admin panel Edit User below
User IP & you can Whois it on Domain tools
user Last Login date & time
User Signup date & time
User Stat
User Image
Installation:
Open admin_viewuser_edit.tpl
find;
PHP:
{* $Id: admin_viewusers_edit.tpl 43 2009-01-29 21:50:31Z szerrade $ *}
add after it:
PHP:
{literal}
<script language='JavaScript'>
<!---
var user_id = 0;
function confirmDelete(id) {
user_id = id;
TB_show('{/literal}{lang_print id=1013}{literal}', '#TB_inline?height=150&width=300&inlineId=confirmdelete', '', '../images/trans.gif');
}
function deleteUser() {
window.location = 'admin_viewusers.php?task=delete&user_id='+user_id;
}
// -->
</script>
{/literal}
{* HIDDEN DIV TO DISPLAY CONFIRMATION MESSAGE *}
<div style='display: none;' id='confirmdelete'>
<div style='margin-top: 10px;'>
{lang_print id=1012}
{if $setting.setting_username}
{lang_print id=1133} {$user->user_info.user_username}
{/if}
</div>
<input type='button' class='button' value='{lang_print id=175}' onclick='parent.TB_remove();parent.deleteUser();' /> <input type='button' class='button' value='{lang_print id=39}' onclick='parent.TB_remove();' />
</div>
in same file find
PHP:
<div class='smallbox' style='width: 250px; margin-left: 20px;'>
<div class='smallbox_header'><b>{lang_print id=24}</b></div>
<div class='smallbox_content'>
<div>{$total_friends} {lang_print id=1125}</div>
<div>{$user->user_info.user_logins} {lang_print id=1126}</div>
<div>{$total_messages} {lang_print id=1127}</div>
<div>{$total_comments} {lang_print id=1128}</div>
<div>{lang_print id=1129} {if $user->user_info.user_lastlogindate == 0}{lang_print id=1130}{else}{assign var="user_lastlogin" value=$datetime->timezone($user->user_info.user_lastlogindate, $setting.setting_timezone)}{$datetime->cdate("`$setting.setting_dateformat`, `$setting.setting_timeformat`", $user_lastlogin)}{/if}</div>
<div>{lang_print id=1144} {if $user->user_info.user_ip_signup == ""}---{else}{$user->user_info.user_ip_signup}{/if}</div>
<div>{lang_print id=1145} {$user->user_info.user_ip_lastactive}</div>
</div>
</div>
add after it
PHP:
<div class='smallbox' style='width: 295px; margin-left: 20px;'>
<div class='smallbox_header'><b>{$user->user_displayname|truncate:30:"...":true}</b>: <a href='{$url->url_create('profile',$user->user_info.user_username)}' target='_blank'>{lang_print id=652}</a> {if $user->user_info.user_verified == 1} | <a href='admin_loginasuser.php?user_id={$user->user_info.user_id}' target='_blank'>{lang_print id=1009}</a>{/if} | <a href="javascript:confirmDelete('{$user->user_info.user_id}');">{lang_print id=155}</a></div>
<div class='smallbox_content'>
<div style='text-align:center;padding:5px;'><img class='photo' src='{if $user->user_info.user_photo != ""}{$url->url_userdir($user->user_info.user_id)}{$user->user_info.user_photo}{else}/images/nophoto.gif{/if}' border='0' align='center' /></div>
<div class='smallbox_header'><b>Member Profile Statistics</b></div>
<div>{$total_friends} {lang_print id=1125}</div>
<div>{$user->user_info.user_logins} {lang_print id=1126}</div>
<div>{$total_messages} {lang_print id=1127}</div>
<div>{$total_comments} {lang_print id=1128}</div>
<div class='smallbox_header'><b>Member Log & IP Information</b></div>
<div>{lang_print id=1129} {if $user->user_info.user_lastlogindate == 0}{lang_print id=1130}{else}{assign var="user_lastlogin" value=$datetime->timezone($user->user_info.user_lastlogindate, $setting.setting_timezone)}{$datetime->cdate("`$setting.setting_dateformat`, `$setting.setting_timeformat`", $user_lastlogin)}{/if}</div>
<div>{lang_print id=1145} <a href='http://whois.domaintools.com/{$user->user_info.user_ip_lastactive}' target='_blank'>{$user->user_info.user_ip_lastactive}</a></div>
<div>Sign Up Date: {assign var="user_signupdate" value=$datetime->timezone($user->user_info.user_signupdate, $setting.setting_timezone)}{$datetime->cdate("`$setting.setting_dateformat`, `$setting.setting_timeformat`", $user_signupdate)}</div>
<div>{lang_print id=1144} {if $user->user_info.user_ip_signup == ""}---{else}<a href='http://whois.domaintools.com/{$user->user_info.user_ip_signup}' target='_blank'>{$user->user_info.user_ip_signup}</a>{/if}</div>
</div>
save and work