Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
NoSpam! for vBulletin 3.5 Details »»
NoSpam! for vBulletin 3.5
Version: 3.0, by antialiasis antialiasis is offline
Developer Last Online: Nov 2013 Show Printable Version Email this Page

Version: 3.5.7 Rating:
Released: 12-12-2006 Last Update: 02-07-2007 Installs: 158
Uses Plugins Template Edits
 
No support by the author.

This hack, originally for 3.6, has now finally been fully converted to proper 3.5 format, where it will undoubtedly be even more useful than on 3.6, given the stronger default CAPTCHA protection in 3.6.

Note that this was tested on 3.5.7. If you have an older version and it is not working (or, in fact, if you have 3.5.7 and it's not working), please post in the hack thread at vBulletin.org with the details of what is working, what is not working, and what version you do have.

The method by which this version prevents guests from using Quick Search (to save them from getting a confusing "You answered the NoSpam! question incorrectly" message when they attempt it) is considerably less elegant than on 3.6 where it uses the simple $show['quicksearch'] switch which was only added in 3.6, but it works. Any pointers on improving it would be very much appreciated, however.

To quote from the other thread:

Quote:
This simple hack is meant as a replacement for the default CAPTCHA system in vBulletin. There are two main reasons one might want to do this: firstly, new technology is constantly being developed to crack CAPTCHA images and make spam accounts anyway, and secondly, the more secure the CAPTCHA, the more difficult it is for genuine users to tell what the numbers in the image are. There is also the issue of visually impaired users, and the fact that not all servers are capable of generating CAPTCHA images.

So what does this hack do instead? It asks a question. Any question you want. That's the best part: YOU make up the questions, which means that every forum is unique, which means that it is impossible for spambots to be simply programmed to bypass it at all forums with the hack installed. You can make one or many questions - if you make many, the hack will pick one at random when a guest attempts to register, search, post or send mail through the Contact Us form. Their input is compared with your specified answer, and voil?, if they get it right they're pretty much guaranteed to be human. If they get it wrong, they're given an error message.

It doesn't have to be a complicated question. Heck, you can just make it "Please type 'blah' into this box." Or you can go with inserting a simple image with HTML and ask what is shown on the image. Or you can ask them to tell you two plus two. It's up to you. In fact, this can also be used as a means of forcing people to read the rules by asking for a certain password found there, or if your forum focuses on a specialized subject, ask a question concerning the subject that all your genuine users will be able to answer, but a random troll or "CAPTCHA-sweatshop-reader" will be scratching their head over.

It's simple to install, too: just one product to import, and that's it.


VERSION HISTORY:

3.0: Added functionality to allow users to specify which pages should use NoSpam!.
2.0: Extended the NoSpam! functionality to guest posts, guest searches and guest "Contact Us" in addition to registration. First 3.5 release.
1.1: Made template edit in 3.6 automatic (with thanks to Cole2026), added ability to have more than one answer to each question, and made answers case insensitive. To upgrade, I recommend undoing the template edit so you won't have to worry about it anymore (replace $nospamfield in the template register with $imagereg, or if you added $nospamfield above $imagereg, just remove $nospamfield altogether), and then reimport the product through the Admin CP (making sure that Allow Overwrite is set to On).
1.0: Initial 3.6 release.


INSTALLATION:

1. Import product-nospam-35.xml through the Admin CP product manager.
2. Go to your vBulletin options in the Admin CP and select NoSpam! Settings. Once there, turn the system on and input your questions and answers according to the instructions there.

The system should now be functional and running.


UNINSTALLATION:

Just uninstall the product through the Admin CP.


SUPPORT:

Full support will be given in this thread. All suggestions are welcome.

Thank you and please click "Mark as Installed" if you like it.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 01-20-2007, 01:34 AM
antialiasis's Avatar
antialiasis antialiasis is offline
 
Join Date: Jan 2006
Location: Iceland
Posts: 346
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Have you edited the registration template at all? Try manually adding $nospamfield above the CAPTCHA code in the register template.
Reply With Quote
  #33  
Old 01-20-2007, 05:43 AM
noreturn noreturn is offline
 
Join Date: Feb 2004
Posts: 94
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Like I mentioned this is not my forte. Can you please give me a little better direction on "above" what code in the register template?
I searched for the word CAPTCHA but that did not come up.
Sorry.
Reply With Quote
  #34  
Old 01-21-2007, 03:10 AM
F34R F34R is offline
 
Join Date: Aug 2006
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just installed this on 3.5.4... we'll see how it goes lol. Thanks for the script.
Reply With Quote
  #35  
Old 01-21-2007, 01:41 PM
antialiasis's Avatar
antialiasis antialiasis is offline
 
Join Date: Jan 2006
Location: Iceland
Posts: 346
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I was actually talking to AddHandler, not you, noreturn. I asked you if you haven't definitely turned the NoSpam! system on.
Reply With Quote
  #36  
Old 01-21-2007, 07:00 PM
noreturn noreturn is offline
 
Join Date: Feb 2004
Posts: 94
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi....sorry for misunderstanding there.
I have it off now because there was only the field for answer showing up and not the question. But yes, I have had it on and the question does not appear for me in the quick registration. In the regular registration it does appear when I have it turned on. At post number 26 I showed that it was on, but no question displayed in front of the answer box.
Reply With Quote
  #37  
Old 01-23-2007, 10:20 PM
antialiasis's Avatar
antialiasis antialiasis is offline
 
Join Date: Jan 2006
Location: Iceland
Posts: 346
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm.

Well, this is certainly very strange, because for some reason it does not appear to be setting those variables, which it should do if that plugin is running, which it should do if the system is turned on. :/

If it were happening on my forum, I'd do some more debugging, but I really can't tell you to change everything I can think of for experimentation at your own active forum... and it's running absolutely fine with Quick Register on my 3.5.7 test forum. :/ Any suggestions from coders on what could be going wrong here would be very welcome.
Reply With Quote
  #38  
Old 01-25-2007, 02:45 PM
KipLarson KipLarson is offline
 
Join Date: Jul 2005
Posts: 191
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

9 days without a single bot registration.

NoSpam! = Amazing (and easy for users to register as well)
Reply With Quote
  #39  
Old 01-26-2007, 10:06 PM
ThunderVamp9 ThunderVamp9 is offline
 
Join Date: Oct 2005
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm also having a problem with this one. I have installed the mod with no errors, all apears to be OK, but I don't see the question OR an answer box, as shown in problem1.jpg.

However, the mod is active, as shows in problem2.jpg, which you get after going through the registration.

Any ideas why it doesn't show up at all?
Reply With Quote
  #40  
Old 01-27-2007, 11:47 PM
antialiasis's Avatar
antialiasis antialiasis is offline
 
Join Date: Jan 2006
Location: Iceland
Posts: 346
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try putting $nospamfield into the register template above $imagereg.
Reply With Quote
  #41  
Old 01-28-2007, 04:18 AM
ThunderVamp9 ThunderVamp9 is offline
 
Join Date: Oct 2005
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm looking through the register template and don't see a $imagereg anywhere. Am I missing something? What I see is:
Code:
<if condition="$show['regimagecheck']">
<fieldset class="fieldset">
	<legend>$vbphrase[image_verification]</legend>
	<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
		<tr>
			<td>
				$vbphrase[enter_text_image_right]
			</td>
			<td rowspan="2"><img src="image.php?$session[sessionurl]type=regcheck&amp;imagehash=$imagehash" alt="$vbphrase[registration_image]" width="201" height="61" border="0" /></td>
		</tr>
		<tr>
			<td><input type="text" class="bginput" name="imagestamp" size="50" maxlength="6" /><input type="hidden" name="imagehash" value="$imagehash" /></td>
		</tr>
		</table>
	</fieldset>
</if>
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 12:06 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08127 seconds
  • Memory Usage 2,312KB
  • Queries Executed 25 (?)
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)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete