Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 11-30-2006, 02:24 AM
kyokushin4life kyokushin4life is offline
 
Join Date: Jul 2006
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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?
Reply With Quote
  #2  
Old 11-30-2006, 03:42 AM
Kungfu Kungfu is offline
 
Join Date: Dec 2005
Posts: 242
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kyokushin4life View Post
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.
Reply With Quote
  #3  
Old 11-30-2006, 10:05 AM
kyokushin4life kyokushin4life is offline
 
Join Date: Jul 2006
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Kungfu View Post
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 View Post
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.
Reply With Quote
  #4  
Old 11-30-2006, 04:48 PM
Kungfu Kungfu is offline
 
Join Date: Dec 2005
Posts: 242
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #5  
Old 11-30-2006, 06:45 PM
kyokushin4life kyokushin4life is offline
 
Join Date: Jul 2006
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:41 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.05627 seconds
  • Memory Usage 2,197KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (5)postbit
  • (5)postbit_onlinestatus
  • (5)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete