mchat ipmap

Post your own Mods, Snippets,
Tutorials here. Share what you got
Forum rules
User contributions are the users own "Stuff"
They are not supported by the BBCode Staff and is used at own risk

mchat ipmap

Post 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

Post by Stoker »

I love it :thumb:

Re: mchat ipmap

Post by Harry »

Thanks

Re: mchat ipmap

Post by cisco007 »

very nice i will just replace the ip with map!

Re: mchat ipmap

Post by Chalong »

Yes, very nice.

Thank you :hi:

Re: mchat ipmap

Post by KukY13 »

I like this one :D
However, wouldn't it be better off in viewonline.php?

Re: mchat ipmap

Post by cisco007 »

sure it would Kuky, i already did that one also!

Re: mchat ipmap

Post by Steve »

Did you post how2 add it too viewonline.php cisco007?

Re: mchat ipmap

Post 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!