vb.org Archive

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

AntonLargiader 02-23-2010 10:58 PM

I look at the profile fields to see if they're legit. And they generally aren't spamming in the profiles anyway. Just registering.

AntonLargiader 02-24-2010 11:30 AM

Which message var does the user get? I'd like to edit it to explain how to become un-moderated.

JenniferK 03-17-2010 01:14 PM

I run a local website, so only people in my community should be interested. I get tons of spammers trying to register daily, so this would be nice for me. But due to problems with a few locals (mainly one crazy who has registered repeatedly under different ips and names, 100+ times), I have all new registrations moderated anyway. It would be nice if registrations from countries I don't whitelist would just not go through at all. That way when I go through the list in moderation I won't have to sort through them at all. Is this possible? Or is this mod not useful to me since all registrations go into the moderation queue anyway?

Thanks!

Jafo232 03-17-2010 02:04 PM

Quote:

Originally Posted by JenniferK (Post 2005501)
I run a local website, so only people in my community should be interested. I get tons of spammers trying to register daily, so this would be nice for me. But due to problems with a few locals (mainly one crazy who has registered repeatedly under different ips and names, 100+ times), I have all new registrations moderated anyway. It would be nice if registrations from countries I don't whitelist would just not go through at all. That way when I go through the list in moderation I won't have to sort through them at all. Is this possible? Or is this mod not useful to me since all registrations go into the moderation queue anyway?

Thanks!

Well you would have to modify the whois.php file a little I would think. I am not testing this at the moment, but this would probably work:

Find this code in whois.php:

Code:

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

Code:

if (!in_array($country, $valid_countries)) { standard_error('Sorry, we are not allowing registrations from your country.'); }

JenniferK 03-17-2010 02:20 PM

Thanks for the quick answer! I guess another option would be to create another usergroup and just have those not on the whitelist sent there, then I can just go in and delete them all periodically. Would that work?

Jafo232 03-17-2010 02:31 PM

Yeah, you would have to change the 4 in the same code I referenced above to the user group ID# that you create, but otherwise, you can do that too.. Or you could set it for the banned user group. :)

LinuxJoeser 03-19-2010 11:47 AM

Is there a possibility to block the ip adresses in stead of moderating them.
So block the ip adres en moderate the others?
We have a small site and only want our members (about 400) to use the site.

AntonLargiader 03-19-2010 12:10 PM

Quote:

Originally Posted by LinuxJoeser (Post 2006421)
Is there a possibility to block the ip adresses in stead of moderating them.
So block the ip adres en moderate the others?
We have a small site and only want our members (about 400) to use the site.

I'm guessing you didn't take the time to read the previous posts.

seventysix 03-21-2010 06:14 PM

I uploaded plugins/zones to my vbulletin root directory.
I also uploaded whois.php inside the zones folder as well as all the .zone files.

In my VB4.0 login I go to Settings->Options and I do not see the "Country Moderation" option as it says in the instructions.

Please let me know if I am missing something

revitclinic 03-24-2010 06:00 PM

I downloaded and installed. Just only one question:

How does this add-on know to sent the moderation email to which email address?


All times are GMT. The time now is 10:06 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.01084 seconds
  • Memory Usage 1,740KB
  • 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
  • (2)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