Current time: 03-16-2010, 11:16 PM Hello There, Guest! (LoginRegister)


Post Reply 
 
Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Ip lookup in "Who's Online" Page
04-04-2009, 04:52 PM (This post was last modified: 04-04-2009 04:53 PM by farleyq.)
Post: #11
RE: Ip lookup in "Who's Online" Page
Will this trace ip be viewable by all groups who have permission to view WOL?
Find all posts by this user
Quote this message in a reply
04-04-2009, 04:55 PM
Post: #12
RE: Ip lookup in "Who's Online" Page
No - it's being added to a template that is used to show the IP of users on the WOL, so only people with access to see IPs on the WOL will see this link.

My Personal Site - Twitter
MyBB Support Team
[Image: lqscs]
Visit this user's website Find all posts by this user
Quote this message in a reply
04-04-2009, 04:59 PM (This post was last modified: 04-05-2009 12:02 AM by farleyq.)
Post: #13
RE: Ip lookup in "Who's Online" Page
Great! Thanks!
Woohoo! It work-ed! You guys are great! Heart
Actually............it works, shows up as "Trace IP", but I lost my "look up ip". Is there something I can add to the code to bring that back as well? Please be specific. Big Grin

Here is what my code looks like right now:

PHP Code:
<a href="http://www.ip-adress.com/ip_tracer/{$user['ip']}" target="_blank">Trace IP</a></span
Find all posts by this user
Quote this message in a reply
04-08-2009, 09:37 PM
Post: #14
RE: Ip lookup in "Who's Online" Page
(04-04-2009 04:59 PM)farleyq Wrote:  Great! Thanks!
Woohoo! It work-ed! You guys are great! Heart
Actually............it works, shows up as "Trace IP", but I lost my "look up ip". Is there something I can add to the code to bring that back as well? Please be specific. Big Grin

Here is what my code looks like right now:

PHP Code:
<a href="http://www.ip-adress.com/ip_tracer/{$user['ip']}" target="_blank">Trace IP</a></span

use this
Code:
<br /><span class="smalltext">{$lang->ip} {$user['ip']} <a
href="http://www.ip-adress.com/ip_tracer/{$user['ip']}"
target="_blank">Details</a><br />
<a href="modcp.php?action=ipsearch&amp;ipaddress={$user['ip']}&amp;search_users=1">{$lang->lookup}</a></span>
Dodgy

[Image: mybbsig.php]

[Image: snAke.png]
Visit this user's website Find all posts by this user
Quote this message in a reply
04-10-2009, 12:21 AM (This post was last modified: 04-10-2009 12:31 AM by farleyq.)
Post: #15
RE: Ip lookup in "Who's Online" Page
(04-08-2009 09:37 PM)-=snAke=- Wrote:  
(04-04-2009 04:59 PM)farleyq Wrote:  Great! Thanks!
Woohoo! It work-ed! You guys are great! Heart
Actually............it works, shows up as "Trace IP", but I lost my "look up ip". Is there something I can add to the code to bring that back as well? Please be specific. Big Grin

Here is what my code looks like right now:

PHP Code:
<a href="http://www.ip-adress.com/ip_tracer/{$user['ip']}" target="_blank">Trace IP</a></span

use this
Code:
<br /><span class="smalltext">{$lang->ip} {$user['ip']} <a
href="http://www.ip-adress.com/ip_tracer/{$user['ip']}"
target="_blank">Details</a><br />
<a href="modcp.php?action=ipsearch&amp;ipaddress={$user['ip']}&amp;search_users=1">{$lang->lookup}</a></span>
Dodgy

Thank you for your reply. I put this code in and now I have "look up" but cannot click on "details". The word details is there but it is not clickable? Huh

Oh, OK, I adjusted the code - had to put a space between the a and href. It work-ed! Thanks so much! Heart
Find all posts by this user
Quote this message in a reply
04-10-2009, 12:29 PM
Post: #16
RE: Ip lookup in "Who's Online" Page
Ah, thankyou. Nice find code Wink

[Image: mybbsig.php]
Visit this user's website Find all posts by this user
Quote this message in a reply
04-10-2009, 03:04 PM
Post: #17
RE: Ip lookup in "Who's Online" Page
One question: Can we show IP 'adress' instead of a LINK ("IP Trace") in this template ?

<font size too large, removed. use NORMAL size only, like below>
FIND OUT ABOUT MYBBCODES.COM
Visit this user's website Find all posts by this user
Quote this message in a reply
07-05-2009, 07:40 AM
Post: #18
RE: Ip lookup in "Who's Online" Page
THIS IS AWESOME!!! I love this! I was actually trying to figure out how to do this myself earlier but couldn't figure it out. Instead of having two lines with the same ip listed, i just changed both code lines to this:

Code:
<br /><span class="smalltext">{$lang->ip} {$user['ip']} <a href="modcp.php?action=ipsearch&amp;ipaddress={$user['ip']}&amp;search_users=1">{$lang->lookup}</a></span> <a href="http://network-tools.com/default.asp?prog=express&host={$user['ip']}" target="_blank">Whois</a></span>

http://www.nwtools.com has some very good ip tools if anyone wants to take a look btw.

Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: