Invoice
for what
....... just kidding man
I did following
1) I made changes in auth.php as per your step 1
2) In my second step I did following as per your instruction for Users Online--> stats.php
Code:
***********************************************
$rec['session_create_date'] = $data['session_create_date']+$config["General"]["timezone_offset"];
$statistics[] = $rec;
***********************************************
And change it to:
***********************************************
$rec['session_create_date'] = $data['session_create_date']+$config["General"]["timezone_offset"];
$rec['session_ip'] = $data['session_ip'];
$statistics[] = $rec;
***********************************************
3) In my third step I made following changes in stats.tpl.
Code:
***********************************************
<TD bgcolor="#FFFFFF" nowrap valign="top">{if $v.userinfo ne ''}
{$v.userinfo.firstname} {$v.userinfo.firstname}{if $v.userinfo.status eq 'A'}
({$lng.lbl_anonymous_customer}){/if}{else}{$lng.lbl_unregistered_customer}{/if}</TD>
***********************************************
And change it to:
***********************************************
<TD bgcolor="#FFFFFF" nowrap valign="top">{if $v.userinfo ne ''}
{$v.userinfo.firstname} {$v.userinfo.firstname}{if $v.userinfo.status eq 'A'}
({$lng.lbl_anonymous_customer}){/if}{else}{$lng.lbl_unregistered_customer}{/if}
IP: {$v.session_ip}</TD>
***********************************************
Hamid....thanks once again for your help