Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Dec 2002
Posts: 67
Power User
Power User
Joined: Dec 2002
Posts: 67
Another of my simple little mods that saves me some time, thought I'd share. I occasionally have a small group of troublemakers attempting to sign back up under aliases, so I have my forum set up to require admin approval of new registrations. If a new person awaiting approval looks suspicious I like to check out the geolocation or ARIN whois of their IP, send them an email asking for more info or Google their email address. This adds those options to the Registration Queue tab under member manage in the admin interface. If anyone knows of a better IP geolocator that lets you pass the IP in a query in the URL, lemme know.

Files modified: templates/default/admin/membermanage.tmpl
Find this (around line 318):
Code

<br />{$que[$i]['uname']}<br />{$que[$i]['email']}<br />{$que[$i]['ip']}

Replace with this:
Code
<!-- hack for more info on incoming users-->
<br />{$que[$i]['uname']}<br /><a href="mailto:{$que[$i]['email']}">{$que[$i]['email']}</a> (<a href="http://www.google.com/search?q={$que[$i]['email']}" target="_blank">Google Email Addy</a>)<br />
<a href="http://www.rleeden.no-ip.com/geotool.php?ip={$que[$i]['ip']}" target="_blank">{$que[$i]['ip']}</a> (<a href="http://ws.arin.net/cgi-bin/whois.pl?queryinput={$que[$i]['ip']}" target="_blank">ARIN IP Whois</a>) (<a href="http://whois.domaintools.com/{$que[$i]['ip']}" target="_blank">Domain Tools IP info</a>)

I always comment these things as "hacks", I don't know if I should call them "hacks" or "mods", but in any case, there ya go.

PS: I just realized that Gizmo has a similar thing to link IP addresses next to a person's post in showflat. I added a link to his domaintools info page, too.


Last edited by Calpy; 03/18/2007 7:30 PM. Reason: Updated for Gizmo's code
Sponsored Links
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
hehe was about to comment on the last line before it poped up; what exactly do you want via ip triangulation? I have a boatload of services...


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
thank you for sharing thumbsup


- Allen wavey
- What Drives You?
Joined: Dec 2002
Posts: 67
Power User
Power User
Joined: Dec 2002
Posts: 67
Well, luckily my most problematic forum stalkers live in out-of-the-way cities, so a quick view of a sock-puppet's IP location usually tells me who it is. I also just like to keep track of trouble makers using various metrics in case they develop into problems later.

If you ever have a moment, maybe posting a list of useful info gathering sites like that would be helpful. Maybe I'll add in my own and code them all into a crazy little "info overload" css-controlled popup div for admins who want to be able to dig up lots of info on troublemakers with the push of a button.

Joined: Dec 2002
Posts: 67
Power User
Power User
Joined: Dec 2002
Posts: 67
By the way, for me in Firefox it only shows the first two lines of the code, unless I click-drag downward inside the two-line-high "code" box. The full thing is:
Replace with:


{$que[$i]['uname']}
{$que[$i]['email']} (Google Email Addy)

{$que[$i]['ip']} (ARIN IP Whois) (Domain Tools IP info)

Sponsored Links
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Well, i also code utilities as well; i have an ip triangulation tool i've been working on for a while; and several others lol, hence my asking what exactly you wanted wink...


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: May 2007
Posts: 2
Lurker
Lurker
Offline
Joined: May 2007
Posts: 2
That sounds clever. I have never considered running geolocation or whois on registration page.


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Posts: 70
Joined: January 2007
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)