php forum
php mysql forum
php mysql smarty
 
Topic Options
#313610 - 03/18/07 07:18 PM Enhanced Registration Queue Screen
Calpy Offline
Power User

Registered: 12/17/02
Posts: 71
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>&nbsp;(<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>&nbsp;(<a href="http://ws.arin.net/cgi-bin/whois.pl?queryinput={$que[$i]['ip']}" target="_blank">ARIN IP Whois</a>)&nbsp;(<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.



Edited by Calpy (03/18/07 07:30 PM)
Edit Reason: Updated for Gizmo's code

Top
#313611 - 03/18/07 08:46 PM Re: Enhanced Registration Queue Screen [Re: Calpy]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
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 - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#313612 - 03/18/07 08:51 PM Re: Enhanced Registration Queue Screen [Re: Gizmo]
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
thank you for sharing thumbsup
_________________________
- Allen wavey
- What Drives You?

Top
#313614 - 03/19/07 04:51 AM Re: Enhanced Registration Queue Screen [Re: Gizmo]
Calpy Offline
Power User

Registered: 12/17/02
Posts: 71
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.

Top
#313615 - 03/19/07 04:56 AM Re: Enhanced Registration Queue Screen [Re: Calpy]
Calpy Offline
Power User

Registered: 12/17/02
Posts: 71
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:
<!-- 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>)

Top
#313616 - 03/19/07 05:12 AM Re: Enhanced Registration Queue Screen [Re: Calpy]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
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 - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#314148 - 05/20/07 05:30 AM Re: Enhanced Registration Queue Screen [Re: Gizmo]
cclapper Offline
Lurker

Registered: 05/20/07
Posts: 2
That sounds clever. I have never considered running geolocation or whois on registration page.
_________________________
http://www.you-switch.org - Youswitch provides advice on switching utility bills.
http://www.broardband.net - broadband advice

Top



Moderator:  sirdude 
Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks