vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Administrative and Maintenance Tools - Moderate New Registrations Based On IP Geographical Origin (https://vborg.vbsupport.ru/showthread.php?t=205044)

djbaxter 02-13-2009 10:44 PM

Quote:

Originally Posted by Jafo232 (Post 1743264)
If someone has an IP with no country associated with it, it will default them to moderation.

They are shown the standard message all users receive who are moderated.

I can't find the phrase for that message - only the phrases for the messages sent when they are accepted/approved or deleted. Can you point me in the right direction?

Jafo232 02-13-2009 10:57 PM

Just do a test registration with moderation on, you will see all the phrases you need.

djbaxter 02-14-2009 12:17 AM

Quote:

Originally Posted by Jafo232 (Post 1743329)
Just do a test registration with moderation on, you will see all the phrases you need.

D'oh!

I should have thought of this myself. Thank you! :o

kapii 02-16-2009 12:15 PM

I think this is a great idea, and if it works, could help me prevent the hacking I've had for the past year from foreign IP users. Most are proxy users anyway.

Thanks!
:up:

dknelson 03-03-2009 01:11 AM

My sincere thanks to Jafo232. This is really working well with the new Zone method. GREAT mod.

Jafo232 03-03-2009 02:28 AM

Quote:

Originally Posted by dknelson (Post 1758947)
My sincere thanks to Jafo232. This is really working well with the new Zone method. GREAT mod.

My pleasure. It is nice when a product has very few moving parts like this one.. Makes it easy to help everyone. :)

aldamon 03-03-2009 02:10 PM

Thanks for the tweak. Makes more sense to black list than to white list. Easier to manage.

Combine this hack with Human Verification and Forbid Users from Posting Links or Images if They Have Fewer than xx Posts, and every board should be SPAM free and confirmed registrations should be SPAMmer free. At least, that's what I'm hoping. :)

Quote:

Originally Posted by Jafo232 (Post 1741382)
If you want to do that you could treat the valid country codes section as an EXCLUDE list, then just change this line in whois.php:

Code:

if (!in_array($country, $valid_countries)) { $userdata->set('usergroupid', 4); }
To this:

Code:

if (in_array($country, $valid_countries)) { $userdata->set('usergroupid', 4); }


Jafo232 03-03-2009 06:11 PM

This hack alone has basically eliminated SPAM on my forums. Of course most of mine are English speaking so white listing is easier than black listing.

Paul M 03-03-2009 06:15 PM

Quote:

Originally Posted by Jafo232 (Post 1743264)
If someone has an IP with no country associated with it, it will default them to moderation.

It would be better, IMO, to default them to approved.

Jafo232 03-03-2009 06:44 PM

Quote:

Originally Posted by Paul M (Post 1759475)
It would be better, IMO, to default them to approved.

Well, you can modify the code to do that, but in my case, I deal mostly with American users. Most American ISP's will show up (in fact, I have yet to see one that will not).


All times are GMT. The time now is 04:57 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.01407 seconds
  • Memory Usage 1,739KB
  • 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
  • (2)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete