Page 1 of 1

mchat ipmap

Posted: 22 Aug 2010, 14:45
by Harry
Image




Image



open mchat body.html
find

Code: Select all

{mchatrow.MCHAT_USER_IP}</a>
IN-LINE AFTER, ADD

Code: Select all

&nbsp;<a href="javascript:void(0)" onclick="window.open('http://en.utrace.de/?query={mchatrow.MCHAT_USER_IP}' , 'popup','width=800,height=620,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=30,top=30'); return false">Map</a>

Re: mchat ipmap

Posted: 22 Aug 2010, 14:48
by Stoker
I love it :thumb:

Re: mchat ipmap

Posted: 22 Aug 2010, 15:08
by Harry
Thanks

Re: mchat ipmap

Posted: 22 Aug 2010, 16:52
by cisco007
very nice i will just replace the ip with map!

Re: mchat ipmap

Posted: 23 Aug 2010, 11:03
by Chalong
Yes, very nice.

Thank you :hi:

Re: mchat ipmap

Posted: 23 Aug 2010, 21:38
by KukY13
I like this one :D
However, wouldn't it be better off in viewonline.php?

Re: mchat ipmap

Posted: 23 Aug 2010, 22:38
by cisco007
sure it would Kuky, i already did that one also!

Re: mchat ipmap

Posted: 23 Aug 2010, 22:41
by Steve
Did you post how2 add it too viewonline.php cisco007?

Re: mchat ipmap

Posted: 23 Aug 2010, 23:07
by cisco007
no, should I!? :lol:

it's not to hard, i'm real busy now, will do it later!

ok i did not want to do it but here it is!

open styles/prosilver/template/viewonline_body.html
Find:

Code: Select all

<td>{user_row.USERNAME_FULL}<!-- IF user_row.USER_IP --> <span style="margin-left: 30px;">{L_IP}: <a href="{user_row.U_USER_IP}">{user_row.USER_IP}</a> &#187; <a href="{user_row.U_WHOIS}" onclick="popup(this.href, 750, 500); return false;">{L_WHOIS}</a></span><!-- ENDIF -->
Replace with:

Code: Select all

<td>{user_row.USERNAME_FULL}<!-- IF user_row.USER_IP --> <span style="margin-left: 30px;">{L_IP}: <a href="javascript:void(0)" onclick="window.open('http://en.utrace.de/?query={user_row.USER_IP}' , 'popup','width=800,height=620,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=30,top=30'); return false" alt="{user_row.USER_IP}">Map</a> &#187; <a href="{user_row.U_WHOIS}" onclick="popup(this.href, 750, 500); return false;">{L_WHOIS}</a></span><!-- ENDIF -->
I do not have subsilver installed anywhere so i do not know the edits for it! there you go easy!