PDA

View Full Version : Check Guest IP In Who's Online


Neo
06-01-2002, 06:45 AM
How this would work is that when a guest comes online their ip is checked against that database to see is that guest has been to the site before. it would show a little image by the ip address to show that aswell as when that image is click stats popup show info on it... like if that ip could be a users ip and so on... anyone what to try this?

Logician
06-01-2002, 09:09 PM
Nice idea.. Though I wouldnt suggest checking the db against IP, it wouldnt give a successful result (dynamic ips) and besides it would add an unnecassary SQL query load (not a very fast one either) to your MYSQL server.

On the other hand, vbulletin already tags your visitors (guest or members) if they can accept cookies and checking this cookie would give much successful results. It would be easier to code the hack too.

Regards,
Logician

Ps. I dont volunteer for the hack though, just gave my 2 cents hehe

inetd
06-02-2002, 09:35 AM
good idea!
I want this too :)

Neo
06-02-2002, 04:12 PM
*bump* Yeah I mean I would like to know how keeps coming back to my site ( I have enemies that would like to steal all my ideas and they come to my site all the time so I would like to know thier IP ) :)

xxxsaint
08-11-2002, 11:10 PM
very nice idea , I'd like their IP too for the enemies that come to my site to steal ideas ***** BBBAAAAAAAAANNNNNNNEDDDD***

Neo
08-11-2002, 11:36 PM
I forgot about this... I might have to make it myself ><

zootsuit
08-11-2002, 11:48 PM
I love this idea!

Boofo
08-12-2002, 01:15 AM
Wow, deja vu! I am always having problems with users coming to my site and trying to steal Neo's ideas, too. This would be a great hack to stop that. ;)

Originally posted by Neo
*bump* Yeah I mean I would like to know how keeps coming back to my site ( I have enemies that would like to steal all my ideas and they come to my site all the time so I would like to know thier IP ) :)

[D]Vincent
08-12-2002, 02:58 AM
Vincent]Couldn't you make a new table called guest and then add guestip or something and add something like this into functions:

if ($bbuserinfo[usergroupid] == 0) {
if ($ip == $DB_site->query("SELECT guestip FROM guest WHERE $guestip == $bbuserinfo[guestip]") {
$guestvisits = $guestvisits + 1;
} elseif ($ip != $DB_site->query("SELECT guestip FROM guest") {
$DB_site->query("INSERT INTO `guest` (`guestip`) VALUES ('$ip')");
$guestvisits = 1;
}
}

But I know pretty much nothing about MySQL so I doubt that will work >_<

Neo
08-12-2002, 03:16 AM
LOL @ Boofo :p

And I believe guest ips are already logged I just need to find a way to track them ;\

zootsuit
08-12-2002, 05:49 AM
Are they logged?

I had no idea. I wonder where in the database they would be...

AcadNut
01-26-2003, 03:16 PM
Did this idea die ??

We could use it as well.

USAMustangs.com
04-13-2007, 03:36 AM
this would be a good hack.

nickypoooo
10-09-2007, 03:17 AM
Great idea

bigcurt
10-09-2007, 07:25 PM
Wowww this is old :P.