Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 brain storming
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

PeeWee.Inc
Senior Member

United Kingdom
1893 Posts

Posted - 13 October 2002 :  17:02:21  Show Profile  Visit PeeWee.Inc's Homepage
Just been thinking and i have two great idea's for mods, i have no idea where to start on them yet but i'm just jottin this down so i dont forget and to see who i can get to help

Idea 1)
Snitz p2p chat
I'm not sure if any of you have been on FaceParty (http://www.faceparty.com) but it has a p2p chat, i was thinking of doin the same with snitz, say you click on a users name from AU it will open a new box and invite that member to a p2p chat

Idea 2)
Gohst hunter
From the admin home you can click/type a user in and it will check the last two ip's of every users to see if anyone has a Ghost" account.

Anyone wanna help in making the mods?

De Priofundus Calmo Ad Te Damine

PeeWee.Inc
Senior Member

United Kingdom
1893 Posts

Posted - 13 October 2002 :  17:03:21  Show Profile  Visit PeeWee.Inc's Homepage
opps, wrong forum, could a mod move it?

De Priofundus Calmo Ad Te Damine
Go to Top of Page

work mule
Senior Member

USA
1358 Posts

Posted - 13 October 2002 :  17:24:07  Show Profile
Ghost hunter - good idea, but keep this in mind.

You can have a company with any number of people, all surfing through one firewall and all appear as the same IP. I know of at least one other, possibly two other people from where I work who are signed up here. We would all share the same IP.

Also, people using the same ISP have a good chance of showing up with the same IP at some point. As people logon/logoff, the IP's are reused/reassigned to the next person.

Not to say this wouldn't be useful, but I wouldn't automate anything based on the outcome or upon matches. I would use it as an investigative reporting tool.

Questions:

What would you be looking through/for?

IP's are recorded in:

FORUM_TOPICS/A_TOPICS - T_IP
FORUM_REPLY/A_REPLY - R_IP
FORUM_FORUM - F_IP (probably skip this)
FORUM_MEMBERS - M_LAST_IP, M_IP

Would you take that user's IP and look up all matches in any of these tables for a specified time frame? If you look for all matches within a small time frame, the IP's probably wouldn't be recycled that quickly (except for the companies/universities behind firewalls).

If someone logs on/off a couple times in a row, the M_LAST_IP in the Members table could be cycled through a couple of times with different IP.


Go to Top of Page

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 13 October 2002 :  23:03:58  Show Profile  Visit Gremlin's Homepage
Search for Duplicate Member IP's - save as Admin_Dupes.asp and then link to it from your admin_home.asp pages (designed for 3.3 but change the includes and should be fine under 3.4)

<!--#INCLUDE virtual="/Forum/config.asp" -->
<% If Session(strCookieURL & "Approval") = "15916941253" Then %> 
<!--#INCLUDE virtual="/Forum/Includes/inc_functions.asp" -->
<!--#INCLUDE virtual="/Forum/Includes/inc_top.asp" -->
<%
set rs = Server.CreateObject("ADODB.Recordset")
strSQL ="SELECT M_LAST_IP, Count(*) FROM FORUM_MEMBERS WHERE M_LAST_IP <> '000.000.000.000' AND M_LAST_IP <> '203.96.144.156' GROUP BY M_LAST_IP HAVING COUNT(*) > 1"
set rs1 = my_conn.execute(strSql)
IPArray = "("

while not rs1.eof
  IPArray = IPArray & "'" & rs1("M_LAST_IP") & "',"
  rs1.movenext
wend

IPArray = left(IPArray,len(IPArray)-1) & ")"

strSQL = "SELECT M_NAME, M_LAST_IP, M_IP FROM FORUM_MEMBERS WHERE M_LAST_IP IN " & IPArray & " ORDER BY M_LAST_IP DESC"
set rs2 = my_conn.execute(strSQL)

TDClass = "cellcolorlight"
TXTClass = "default"

%>
<p>The table on the Left displays duplicates based on the IP address logged when the user <b>last</b> visited the forum.  On the right duplicates are based on 
the users <b>first</b> logged IP address i.e. when they registered at the forums</p>
<table width="100%" align="center" cellspacing="0" cellpadding="0" border="0">
  <tr>
    <td valign="top">
      <table width="98%" align="center" cellspacing="0" cellpadding="2" border="0">
        <tr>
          <td class="headerbg"><span class="header">Name</span></td>
          <td class="headerbg"><span class="header">Last IP</span></td>
          <td class="headerbg"><span class="header">First IP</span></td>
        </tr>
<% while not rs2.eof %>
        <tr>
          <td class="<% =TDClass %>"><span class="<% = TXTClass %>"><% = rs2("M_NAME")%></span></td>
          <td class="<% =TDClass %>"><span class="<% = TXTClass %>"><% = rs2("M_LAST_IP")%></span></td>
          <td class="<% =TDClass %>"><span class="<% = TXTClass %>"><% = rs2("M_IP")%></span></td>
        </tr>  
<%
  LastIP = rs2("M_LAST_IP")
  rs2.movenext()
  if not (rs2.bof or rs2.eof) then CurrIP = rs2("M_LAST_IP")
  if CurrIP <> LastIP then
    if TDClass = "cellcolordark" then 
      TDClass = "cellcolorlight"
      TXTClass = "default"
    else
      TDClass = "cellcolordark"
      TXTClass = "header"
    end if
  end if
wend
%>
      </table>
<%
rs1.close
set rs1 = nothing
rs2.close
set rs2 = nothing

set rs = Server.CreateObject("ADODB.Recordset")
strSQL ="SELECT M_IP, Count(*) FROM FORUM_MEMBERS WHERE M_IP <> '000.000.000.000' AND M_IP <> '203.96.144.156' GROUP BY M_IP HAVING COUNT(*) > 1"
set rs1 = my_conn.execute(strSql)
IPArray = "("

while not rs1.eof
  IPArray = IPArray & "'" & rs1("M_IP") & "',"
  rs1.movenext
wend

IPArray = left(IPArray,len(IPArray)-1) & ")"

strSQL = "SELECT M_NAME, M_LAST_IP, M_IP FROM FORUM_MEMBERS WHERE M_IP IN " & IPArray & " ORDER BY M_IP DESC"
set rs2 = my_conn.execute(strSQL)

TDClass = "cellcolorlight"
TXTClass = "default"

%>
    </td>
    <td> </td>
    <td valign="top">
      <table width="98%" align="center" cellspacing="0" cellpadding="2" border="0">
        <tr>
          <td class="headerbg"><span class="header">Name</span></td>
          <td class="headerbg"><span class="header">First IP</span></td>    
          <td class="headerbg"><span class="header">Last IP</span></td>
        </tr>
<% while not rs2.eof %>
        <tr>
          <td class="<% = TDClass %>"><span class="<% = TXTClass %>"><% = rs2("M_NAME")%></span></td>
          <td class="<% = TDClass %>"><span class="<% = TXTClass %>"><% = rs2("M_IP")%></span></td>    
          <td class="<% = TDClass %>"><span class="<% = TXTClass %>"><% = rs2("M_LAST_IP")%></span></td>
        </tr>  
<%
  LastIP = rs2("M_IP")
  rs2.movenext()
  if not (rs2.bof or rs2.eof) then CurrIP = rs2("M_IP")
  if CurrIP <> LastIP then
    if TDClass = "cellcolordark" then 
      TDClass = "cellcolorlight"
      TXTClass = "default"      
    else
      TDClass = "cellcolordark"
      TXTClass = "header"      
    end if
  end if
wend
%>
      </table>
    </td>
  </tr>
</table>
<br>
<br>
<br>
<%
writefooter()
rs1.close
set rs1 = nothing
rs2.close
set rs2 = nothing

else
	scriptname = split(request.servervariables("SCRIPT_NAME"),"/")
	Response.Redirect "admin_login.asp?target=" & scriptname(ubound(scriptname))
end if
%>

Kiwihosting.Net - The Forum Hosting Specialists
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.26 seconds. Powered By: Snitz Forums 2000 Version 3.4.07