vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Anti-Spam Options - Hostname or Useragent Registration Ban (https://vborg.vbsupport.ru/showthread.php?t=279110)

nhawk 09-02-2012 09:25 AM

Quote:

Originally Posted by YOODA230 (Post 2361803)
not working for me (vBulletin 4.2.0 Patch Level 2) help me !!

It does work on 4.2 PL2.

Make sure you've turned it on in ACP->Settings->Prevent Hostname or Useragent from Registering. And make sure you're entered the hostnames and useragents you want banned.

YOODA230 09-02-2012 02:09 PM

this is an image..

http://windos.me/test/pm-7RWQ.html

nhawk 09-02-2012 02:11 PM

rtrtr.com is neither a hostname or a useragent it is a TLD name.

If that is what is showing in the hostname or useragent in who's online, then just put rtrtr in the hostname or useragent box.

lazytown 09-04-2012 04:43 AM

Does this support wildcards? For example if I want to block any hosting ending with .ru, will this allow me to do it? Or will it wind up blocking things like 123.rummy.au ? Pretty important to know!

nhawk 09-04-2012 10:11 AM

Quote:

Originally Posted by vissa (Post 2362451)
Does this support wildcards? For example if I want to block any hosting ending with .ru, will this allow me to do it? Or will it wind up blocking things like 123.rummy.au ? Pretty important to know!

If you ban ru, rummy will be banned.

I suggest using the full useragent or hostname minus any TLD extension such as .ru, .com, etc.

lazytown 09-04-2012 12:38 PM

I see, but I may *WANT* to ban something line .ru or .cn from registering.. That could be very effective for me. :) Seems to me it's just an issue of how the wildcards are set up (if the program accepts them, etc)..

nhawk 09-04-2012 02:18 PM

Quote:

Originally Posted by vissa (Post 2362549)
I see, but I may *WANT* to ban something line .ru or .cn from registering.. That could be very effective for me. :) Seems to me it's just an issue of how the wildcards are set up (if the program accepts them, etc)..

This mod is not to ban TLDs.

What you enter is automatically wildcarded. That is why you can't enter .ru and expect .rummy not to be banned.

From the settings screen for the mod..

Quote:

NOTE: You do not need to enter the entire hostname. A partial match will result in a registration ban. So if you enter 'proxy', a hostname with 'I am a proxy' will be banned from registering.
The same holds true for useragents.

EDIT:

As an example, let's use googlebot.
It has a hostname of..
Code:

crawl-66-249-72-133.googlebot.com
So, all you would enter is googlebot in the hostname setting. Then all hostnames that have 'googlebot' in them will be banned from registering no mattter what else in in the hostname.

lazytown 09-04-2012 09:17 PM

Thanks for your responses... Is there anyway for me to easily modify the code so that it only looks at the last part of the hostname? I've ok with PHP editing.

Is there a log in vbulletin somewhere that shows the useragent (and not who's online because I'm not online all the time)? Or do we have to go digging through raw http log files?

Thank you!!

nhawk 09-04-2012 09:50 PM

Quote:

Originally Posted by vissa (Post 2362698)
Thanks for your responses... Is there anyway for me to easily modify the code so that it only looks at the last part of the hostname? I've ok with PHP editing.

Is there a log in vbulletin somewhere that shows the useragent (and not who's online because I'm not online all the time)? Or do we have to go digging through raw http log files?

Thank you!!

Again, this is not a mod to ban TLDs.

All of the code is in the plugins for the mod. However, I will not assist in changing the code for what you want to do. That is not the purpose of this mod.

You will need to look through your http logs. There's no log in vB of hostnames or useragents.

Bruce1984 09-07-2012 03:27 PM

Nice mod, thank you for releasing and your continuous work on it.

I have not downloaded/tested it yet, but I've got one little question; is it possible to like edit the message that will be shown once a username/hostagent has been blocked?

Basically, like you mentioned, it wouldn't be too bad if an occasional human would be prevented from registering. But if it would happen often, for example if you choose to prevent people using proxies when registering (but fine when browsing), the message could show something along the lines of "If you are trying to register and feel you are wrongfully being blocked, feel free to message support[at]host[dot]com"?

In the above case, you're not immediately allowing people to register anyway and can verify a 'legitimate' user by the correspondence with him/her. At least, that's what I'm thinking :).


All times are GMT. The time now is 10:24 AM.

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.01460 seconds
  • Memory Usage 1,745KB
  • 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_code_printable
  • (5)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