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)

Jafo232 07-12-2010 05:43 PM

Code:

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

Code:

if (in_array($country, $valid_countries)) { $userdata->set('usergroupid', 4); }
There, you now have a blacklist..

Nickbe 07-12-2010 06:16 PM

Ok i amde the change and it worked perfectly. Thanks for that.

pjcnlv 07-23-2010 04:07 PM

I am seeing exactly the same with no info why in the logs.

Mod is disabled for now.

Quote:

Originally Posted by The_Hawk (Post 2019383)
Seems new registrations aren't happening anymore with users getting a blank screen on this page after filling in all the registration info and hitting OK:

http://www.vwwatercooled.org.au/regi...p?do=addmember

I'm sure this mod WAS working fine with 4.0.2 PL4 but has since given up the ghost.

As first I thought it was a vBulletin problem so I upgraded to 4.0.3, still no working. I then through it was the vbSEO I installed last week (3.0.5 RC3) so I uninstalled that, still no dice. Then I turned off the country mod and BAM, users can register again.

Re-installed vbSEO, still working.
Uninstalled Country Mod (rather than just disabled) - still working.
Re Installed Country Mod - Not working.
I have re-uploaded the zone files, I have re-uploaded the mod files - still not working
Disabled country mod - working again.

Is there a common fault here or is it just something I have done wrong?

(on a side note all of this DID happen on or about when I install vbSEO so I'm still thinking that's the problem, although technically by completely uninstalling it should have solved the problem... but it didn't)


Nickbe 07-23-2010 05:08 PM

Mine works fine on 4.0.3

The_Hawk 07-23-2010 09:17 PM

Quote:

Originally Posted by pjcnlv (Post 2073423)
I am seeing exactly the same with no info why in the logs.

Mod is disabled for now.

As below, my problem was showing in the logs and was a memory out issue, still seems to be going well, no issues since more RAM was allocated :)

Quote:

Originally Posted by Jafo232 (Post 2045599)
Your memory_limit setting in your php.ini file is rather low (32 Megabytes). If you bump that up and restart apache, the issue will most likely go away. I would try 64M.

Quote:

Originally Posted by The_Hawk (Post 2045846)
Many thanks, that did the trick and it all seems to be working under 4.0.3 PL1 here now :D


amorosso 11-09-2010 03:45 PM

While uploading I was watching someone from China trying to register. Not anymore, Thank you very much.. Installed and working on 4.0.8

PSimmo 11-11-2010 04:37 AM

doesnt work for me on 4.08.
Uploaded the all the zone files into plugins/zones and it still says I need to download the zone files.

RichieBoy67 12-22-2010 07:30 AM

Will this work in 4.1?

Thanks

The_Hawk 12-22-2010 06:21 PM

I'm running 4.1.0 PL2 and it's ticking along fine.

deschutes 12-24-2010 05:10 PM

This mod is exactly what I have been looking for. I made the change shown in post #51 to make it more of a blacklist (CN,RU,PK). If you do any further development it would be cool to provide a switch in the options to make it either a whitelist or blacklist. It appears to work just fine with VB 4.0.8. Hopefully this will eliminate the flood of spam registrations I have been getting from Pakistan lately.

Thanks!


All times are GMT. The time now is 05: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.01070 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
  • (4)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