PDA

View Full Version : New User IP moderation hack


JamesFrost
01-29-2005, 10:00 PM
This hack basically makes it a bit easier if :

1) You moderate your users manually.
2) You check IP addresses against existing (or past) users.
3) You have a lot of registrations per day.

What it does, is add an asterisk next to a persons name in the 'Users Awaiting Moderation' page if there are 1 or more IP address that match existing users. This means you only have to manually check those memebers, and not go through each one in turn.

It's a bit hard to show a screenshot as the information in the page is pretty much all confidential - I've done one with the user name, e-mail and IP blanked out - hope you get the idea.

One warning - it does increase the page load time significantly. Still, it is quicker than manual checking.

31 Jan 2005 - Added a tooltip showing the hostname when you hover over the IP address. This saves having to click on the IP to find out it is the AOL proxy or whatever!

yoyoyoyo
01-30-2005, 08:31 AM
great idea!

ImportPassion
01-30-2005, 04:45 PM
one little mistake, you should find this for the first section


print_cells_row(array(
$vbphrase['username'],
$vbphrase['email'],
$vbphrase['ip_address'],
"<input type=\"button\" class=\"button\" value=\"" . $vbphrase['accept_all'] . "\" onclick=\"js_check_radio(1)\" />
<input type=\"button\" class=\"button\" value=\"" . $vbphrase['delete_all'] . "\" onclick=\"js_check_radio(-1)\" />
<input type=\"button\" class=\"button\" value=\"" . $vbphrase['ignore_all'] . "\" onclick=\"js_check_radio(0)\" />"
), 0, 'thead', -3);
while ($user = $DB_site->fetch_array($users))
{


note the curly bracket at the end, if u don't replace that too, u will get an error. but other than that, awesome idea. i need this. cut down my admin crap. i don't notice too much of a lag after adding this either.

JamesFrost
01-30-2005, 07:01 PM
There's only a lag where there is a lot of users waiting moderation - I had 25 this morning and it was a bit slow.

Thanks for the bugfix - added to the instructions in post 1 now.

nighteyes
01-31-2005, 11:54 AM
Beautiful :p this will save us A LOT of time everyday when we go through moderating new members. Found the tool tip update really useful too to save even more time. Great work!!!

MauriceReed
02-16-2005, 01:36 AM
installed, nice work mate.

ImportPassion
09-20-2005, 03:33 PM
I knw this hasn't been touched in a while, but I would like to add the ability to show if they are using a proxy and show real ip and proxy ip.
I will see what I can do, but maybe author can look into it?

thanks,
D

xony
01-27-2008, 08:18 AM
Question ¿This works in 3.6.8?