The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
link user or guest IP to site owner (uses whois from www.dnsstuff.com) Details »» | |||||||||||||||||||||||||||
link user or guest IP to site owner (uses whois from www.dnsstuff.com)
Developer Last Online: May 2008
A very simple and handy template hack to see who are those mysterious guests that show on your forum daily
On template whosonlinebit find Code:
<if condition="$show['ip']"> <td class="$ipclass"><div class="smallfont">$userinfo[host]<if condition="$show['useragent']"><br />$userinfo[useragent]</if></div></td> </if> Code:
<if condition="$show['ip']"> <td class="$ipclass"><div class="smallfont"><a href="http://www.dnsstuff.com/tools/whois.ch?ip=$userinfo[host]">$userinfo[host]</a><if condition="$show['useragent']"><br />$userinfo[useragent]</if></div></td> </if> Supporters / CoAuthors Show Your Support
|
Comments |
#2
|
|||
|
|||
would you mind looking at my 3.6.3 template and see if we can get this to work on new versions.
Code:
<tr> <td class="alt1" width="35%"> <span class="smallfont" style="float:$stylevar[right]"><span class="time">$userinfo[time]</span></span> <if condition="$show['loggedinuser']"> <a href="member.php?$session[sessionurl]u=$userinfo[userid]">$userinfo[musername]</a>$userinfo[hidden]<if condition="$show['buddy']">+</if> <else /> <if condition="$show['spider']">$spidertype<else />$userinfo[musername]</if> </if> </td> <td class="alt2" width="35%"> <div> <span style="float:$stylevar[right]"> <if condition="$show['lockedout']"><img src="$stylevar[imgdir_statusicon]/wol_lockedout.gif" alt="$vbphrase[viewing_forum_closed]" /></if> <if condition="$show['nopermission']"><img src="$stylevar[imgdir_statusicon]/wol_nopermission.gif" alt="$vbphrase[viewing_no_permission_message]" /></if> <if condition="$show['errormessage']"><img src="$stylevar[imgdir_statusicon]/wol_error.gif" alt="$vbphrase[viewing_error_message]" /></if> <if condition="$show['reallocation']"><img src="$stylevar[imgdir_misc]/question_icon.gif" alt="$userinfo[location]" /></if> </span> $userinfo[action] </div> <if condition="$show['where']"> <div class="smallfont" style="margin-top:1px"> <if condition="$show['subscribed']"><img class="inlineimg" src="$stylevar[imgdir_misc]/subscribed.gif" alt="$vbphrase[you_are_subscribed_to_this_thread]" /></if> $userinfo[where] </div> </if> </td> <if condition="$show['ip']"> <td class="$ipclass"><div class="smallfont"> <if condition="$show['ajax_resolve']"> <a href="online.php?$session[sessionurl]do=resolveip&ipaddress=$userinfo[host_encoded]" id="resolveip_$count" title="$vbphrase[resolve_ip_address]">$userinfo[host]</a> <else /> $userinfo[host] </if> <if condition="$show['useragent']"><br />$userinfo[useragent]</if> </div></td> </if> <if condition="$vboptions['showimicons']"> <td class="alt2" align="center" nowrap="nowrap"> $userinfo[aimicon] $userinfo[icqicon] $userinfo[msnicon] $userinfo[yahooicon] $userinfo[skypeicon] </td> </if> </tr> |
#3
|
|||
|
|||
Sounds to me you need to
FIND Code:
<if condition="$show['ajax_resolve']"> <a href="online.php?$session[sessionurl]do=resolveip&ipaddress=$userinfo[host_encoded]" id="resolveip_$count" title="$vbphrase[resolve_ip_address]">$userinfo[host]</a> <else /> $userinfo[host] </if> Code:
<if condition="$show['ajax_resolve']"> <a href="online.php?$session[sessionurl]do=resolveip&ipaddress=$userinfo[host_encoded]" id="resolveip_$count" title="$vbphrase[resolve_ip_address]">$userinfo[host]</a> <else /> <a href="http://www.dnsstuff.com/tools/whois.ch?ip=$userinfo[host]">$userinfo[host]</a> </if> PS: Set ajax_resolve vb option to NO or FALSE if you haven't already |
#4
|
|||
|
|||
where do i turn off the ajax resolve.. i found an option to turn of ajax but that wont allow my shout box to work.
|
#5
|
|||
|
|||
Vb options ?
If you can't find it, just get rid of the <if>: Replace the found code with this Code:
<a href="http://www.dnsstuff.com/tools/whois.ch?ip=$userinfo[host]">$userinfo[host]</a> |
#6
|
|||
|
|||
very nice hack ...my forum instal
|
#7
|
||||
|
||||
Quote:
Edit. it works when I turn ON ip resolve but I hate that view normally. |
#8
|
|||
|
|||
Another page open this code (dnsstuff.com)>
Code:
<if condition="$show['ip']"> <td class="$ipclass"><div class="smallfont"><a href="http://www.dnsstuff.com/tools/whois.ch?ip=$userinfo[host]"target="_blank">$userinfo[host]</a><if condition="$show['useragent']"><br />$userinfo[useragent]</if></div></td> </if> |
#9
|
||||
|
||||
this might come in handy. thanks
|
#10
|
||||
|
||||
Bump anything on my problem
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|