vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   A plugin to stop spammers (https://vborg.vbsupport.ru/showthread.php?t=132842)

kyokushin4life 11-30-2006 02:24 AM

A plugin to stop spammers
 
Okay we all hate random spammers posting in your forums.

We hear people crying everyday.
http://www.vbulletin.com/forum/showthread.php?t=210325

I have looked at some of the plugins posted on vbulletin.org and they are quite neat plugins.

On my board I have a custom field for everyone to write something in the box, all these spammers have their name in this box so that I can identify these accounts pretty easy.

My request is that could someone build me a small plugin so that people cannot sign up on my board when their nickname(alias) is the same as what they have in the custom field?

Kungfu 11-30-2006 03:42 AM

Quote:

Originally Posted by kyokushin4life (Post 1128460)
Okay we all hate random spammers posting in your forums.

We hear people crying everyday.
http://www.vbulletin.com/forum/showthread.php?t=210325

I have looked at some of the plugins posted on vbulletin.org and they are quite neat plugins.

On my board I have a custom field for everyone to write something in the box, all these spammers have their name in this box so that I can identify these accounts pretty easy.

My request is that could someone build me a small plugin so that people cannot sign up on my board when their nickname(alias) is the same as what they have in the custom field?

if you already have a custom field to do this it shouldnt be too hard.
Can you post what you have for that.
basically it would be a check before they sign up. If custom field = the name field then spit an error out.

kyokushin4life 11-30-2006 10:05 AM

Quote:

Originally Posted by Kungfu (Post 1128485)
Can you post what you have for that.

??? I think in the options I created a custom field for everyone to write something, in this case "Organization".
Organization
field5

Quote:

Originally Posted by Kungfu (Post 1128485)
basically it would be a check before they sign up. If custom field = the name field then spit an error out.

That's exactly what I need. Thank you kungfu.

Kungfu 11-30-2006 04:48 PM

gotcha. you would need to find out what that fields name is called. Im guessing
organization maybe.

In register.php file in the root directory you can hard code it.

if ($_POST['do'] == 'addmember')
find that. You can add the organization to the cleanarray as well.

if($vbulletin->GPC['username'] == $vbulletin->GPC['organization'])
{
eval(standard_error(fetch_error('noregister')));
}

you can use that error, its tells them there is no registration. Or make a new phrase in the error category and call that. you can add that sometime after the cleanarray.

to add organization just add
'organization' => TYPE_STR,
to the end

kyokushin4life 11-30-2006 06:45 PM

Kung Fu, I did it but i could still register when my name(alias) is equal to "organization"..


All times are GMT. The time now is 07:44 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.01068 seconds
  • Memory Usage 1,724KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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