View Full Version : Finding Member IP
Sinfullilblonde
12-24-2005, 02:06 AM
Is there anyway that we can track a members IP? So say they sign in and we need that information at a later date...is there a way we can find it, the IP for them? Thank you
natio :: phpFox
12-24-2005, 03:24 AM
Yes, the mysql db is already built in to store IP's, but it was removed from the source to insert the users ip into the sql table for the time being. Ill make sure it will be added on the next update.
In the mean time you can open up "/member/html/html_member_off.php"
and look for this:
Content visible to registered users only.
and replace that with:
Content visible to registered users only.
Now it will store the users IP addy.
Now if you want to be able to see all your user IP from your admin panel, just open up "/admin/html/most_active.php" and look for this:
Content visible to registered users only.
and under that add this:
Content visible to registered users only.
That should now allow you to view all your members ip's once ofcourse they login and update the db with their new ip.
get back to me once youve tested this and how it worked out.
Sinfullilblonde
12-27-2005, 09:35 PM
Hi, I did what you said and when I browse members I see where the number should be but it's not showing. Just the word IP....I reviewed what you told me to do and I do believe I did this right...Thanks, :)
natio :: phpFox
12-28-2005, 12:38 PM
OPPPPSS!
im sorry. my bad, i mixed up one little variable there in the last step.
If we look above to where we added:
Content visible to registered users only.
and in there just change up:
Content visible to registered users only.
to:
Content visible to registered users only.
After that it should work then.
Get back to me how it goes
:D
Sinfullilblonde
12-28-2005, 08:10 PM
It worked great, thanks :)
vBulletin® v3.6.10, Copyright ©2000-2009, Jelsoft Enterprises Ltd.