Finding IP address of user

Need help with the Administration of your Joomla! 2.5 site? This is the spot for you.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
audiodef
Joomla! Apprentice
Joomla! Apprentice
Posts: 47
Joined: Wed Oct 12, 2011 3:59 pm

Finding IP address of user

Postby audiodef » Fri Feb 24, 2012 3:32 pm

How can I find the IP address of a registered user? I want to track down a suspicious bit of activity on a web site I run of a very sensitive nature.
My Joomla sites: Audiodef.com
Synthetronica.com
GentooStudio.org
AbusedMen.org

User avatar
toivo
Joomla! Exemplar
Joomla! Exemplar
Posts: 7677
Joined: Thu Feb 15, 2007 5:48 am
Location: Nottingham, UK
Contact:

Re: Finding IP address of user

Postby toivo » Sat Feb 25, 2012 3:23 am

You need a user plugin which is triggered by the onUserLogin event: http://docs.joomla.org/Plugin/Events/User#onLoginUser . This plugin can record the value of the server variable $_SERVER['REMOTE_ADDR'] to a text file or a database table.

On the other hand, there are extensions which track the IP address of the users: http://extensions.joomla.org/extensions ... s/visitors
Toivo Talikka, Global Moderator
my first programs were assembled and run in 16KB :)
http://archive.computerhistory.org/resources/text/GE/GE.GE-115SystemSoftware.1967.102646096.pdf#zoom=100

audiodef
Joomla! Apprentice
Joomla! Apprentice
Posts: 47
Joined: Wed Oct 12, 2011 3:59 pm

Re: Finding IP address of user

Postby audiodef » Mon Feb 27, 2012 1:30 am

Thanks! :)
My Joomla sites: Audiodef.com
Synthetronica.com
GentooStudio.org
AbusedMen.org


Return to “Administration Joomla! 2.5”

Who is online

Users browsing this forum: No registered users and 9 guests