mchat ipmap

Post your own Mods, Snippets, Tutorials here. Share what you got
There is no support here! Only Read Access!
Forum rules
User contributions are the users own "Stuff"
They are not supported by the BBCode Staff and is used at own risk
Locked
Harry
BBCoder II
BBCoder II
Posts: 9
Joined: 12 Mar 2010, 21:33

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>
User avatar
Stoker
Site Admin
Site Admin
Posts: 3536
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Re: mchat ipmap

Post by Stoker »

I love it :thumb:
Board rules! No PM support
Harry
BBCoder II
BBCoder II
Posts: 9
Joined: 12 Mar 2010, 21:33

Re: mchat ipmap

Post by Harry »

Thanks
cisco007
BBCoder VI
BBCoder VI
Posts: 1015
Joined: 16 Mar 2010, 18:14
Location: Don't really know!

Re: mchat ipmap

Post by cisco007 »

very nice i will just replace the ip with map!
User avatar
Chalong
BBCoder II
BBCoder II
Posts: 59
Joined: 06 Mar 2010, 14:03
Location: Pforzheim / Germany
Contact:

Re: mchat ipmap

Post by Chalong »

Yes, very nice.

Thank you :hi:
Regards Chalong

www.chalong.de
KukY13
BBCoder III
BBCoder III
Posts: 96
Joined: 26 Jun 2010, 16:23
Contact:

Re: mchat ipmap

Post by KukY13 »

I like this one :D
However, wouldn't it be better off in viewonline.php?
Image
cisco007
BBCoder VI
BBCoder VI
Posts: 1015
Joined: 16 Mar 2010, 18:14
Location: Don't really know!

Re: mchat ipmap

Post by cisco007 »

sure it would Kuky, i already did that one also!
User avatar
Steve
BBCoder VI
BBCoder VI
Posts: 847
Joined: 05 Mar 2010, 01:10
BBCodes: 2000
Favourite BBCode: p**n tube
Favourite MOD: Non of Stokers

Re: mchat ipmap

Post by Steve »

Did you post how2 add it too viewonline.php cisco007?
Steve wrote: 14 Nov 2024, 16:45 It's happy bastard day!
cisco007
BBCoder VI
BBCoder VI
Posts: 1015
Joined: 16 Mar 2010, 18:14
Location: Don't really know!

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