vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   New User IP moderation hack (https://vborg.vbsupport.ru/showthread.php?t=75407)

JamesFrost 01-29-2005 10:00 PM

New User IP moderation hack
 
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

PHP Code:

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?


All times are GMT. The time now is 12:28 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01146 seconds
  • Memory Usage 1,727KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete