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
  #2  
Old 12-13-2006, 08:49 PM
Rich's Avatar
Rich Rich is offline
 
Join Date: Mar 2004
Location: U.S.A
Posts: 921
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello,

Thanks for porting this for everyone still using 3.5. I actually downloaded the 3.6 and used that one without any issues. (I made a few changes to it manually.) I have experienced GREAT results with the spam activity, or lack of, since I incorporated this. I am actually using this in conjunction with the captcha images.

Thanks again!
Reply With Quote
  #3  
Old 12-13-2006, 11:12 PM
PoetJA-1975's Avatar
PoetJA-1975 PoetJA-1975 is offline
 
Join Date: Sep 2006
Location: Meh...
Posts: 1,218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes = thank you very much for this! I just posted in the 3.6.x thread about getting this to work with Quick Register: https://vborg.vbsupport.ru/showthrea...quick+register

Any help will be appreciated!

Excellent excellent vB modification - How can I vote for this as Mod of the Month?

Thanx again!

Jacquii.
Reply With Quote
  #4  
Old 12-14-2006, 01:05 AM
antialiasis's Avatar
antialiasis antialiasis is offline
 
Join Date: Jan 2006
Location: Iceland
Posts: 346
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay, I figured out how to make it work with QuickRegister.

Edit the plugin "Generate and insert NoSpam! question" on the hook global_start.

FIND the line

Code:
   if ($nospamdo) {
and MOVE this line to just ABOVE this line a little below:

Code:
      eval('$nospamfield = "' . fetch_template('nospam') . '";');
Now SAVE the plugin.

Now go to the Template Manager and edit the quick_register template. In the template, find these lines:

Code:
    <img src="image.php?$session[sessionurl]type=regcheck&amp;imagehash=$imagehash" alt="$vbphrase[registration_image]" width="100" height="30" border="0" />
  </if>
BELOW them, add this:

Code:
  <if condition="$vbulletin->options['nospam_onoff']">
    <br />$nospamquestion <input type="text" class="bginput" name="nospam" value="Answer here" onFocus="value=''" size="20" /> <input type="hidden" name="nospamnumber" value="$nospamnumber" />
  </if>
Now save the template, and you should be good to go.

And voting Mod of the Month is located in the Mod Options below "Mark as Installed".
Reply With Quote
  #5  
Old 12-14-2006, 01:22 AM
Sooner95 Sooner95 is offline
 
Join Date: Apr 2003
Location: I don't know
Posts: 535
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

awsome, man I need this. Thx.
Reply With Quote
  #6  
Old 12-14-2006, 02:09 PM
PoetJA-1975's Avatar
PoetJA-1975 PoetJA-1975 is offline
 
Join Date: Sep 2006
Location: Meh...
Posts: 1,218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by antialiasis View Post
Okay, I figured out how to make it work with QuickRegister.

Edit the plugin "Generate and insert NoSpam! question" on the hook global_start.

FIND the line

Code:
   if ($nospamdo) {
and MOVE this line to just ABOVE this line a little below:

Code:
      eval('$nospamfield = "' . fetch_template('nospam') . '";');
Now SAVE the plugin.

Now go to the Template Manager and edit the quick_register template. In the template, find these lines:

Code:
    <img src="image.php?$session[sessionurl]type=regcheck&amp;imagehash=$imagehash" alt="$vbphrase[registration_image]" width="100" height="30" border="0" />
  </if>
BELOW them, add this:

Code:
  <if condition="$vbulletin->options['nospam_onoff']">
    <br />$nospamquestion <input type="text" class="bginput" name="nospam" value="Answer here" onFocus="value=''" size="20" /> <input type="hidden" name="nospamnumber" value="$nospamnumber" />
  </if>
Now save the template, and you should be good to go.

And voting Mod of the Month is located in the Mod Options below "Mark as Installed".
EXCELLENT - Thanx very much!
No I have NoSpam! installed on vBadvanced pages!
Much appreciation and respect for this modification = AWESOME!

Jacquii.
Reply With Quote
  #7  
Old 12-14-2006, 02:10 PM
PoetJA-1975's Avatar
PoetJA-1975 PoetJA-1975 is offline
 
Join Date: Sep 2006
Location: Meh...
Posts: 1,218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by antialiasis View Post
Okay, I figured out how to make it work with QuickRegister.

Edit the plugin "Generate and insert NoSpam! question" on the hook global_start.

FIND the line

Code:
   if ($nospamdo) {
and MOVE this line to just ABOVE this line a little below:

Code:
      eval('$nospamfield = "' . fetch_template('nospam') . '";');
Now SAVE the plugin.

Now go to the Template Manager and edit the quick_register template. In the template, find these lines:

Code:
    <img src="image.php?$session[sessionurl]type=regcheck&amp;imagehash=$imagehash" alt="$vbphrase[registration_image]" width="100" height="30" border="0" />
  </if>
BELOW them, add this:

Code:
  <if condition="$vbulletin->options['nospam_onoff']">
    <br />$nospamquestion <input type="text" class="bginput" name="nospam" value="Answer here" onFocus="value=''" size="20" /> <input type="hidden" name="nospamnumber" value="$nospamnumber" />
  </if>
Now save the template, and you should be good to go.

And voting Mod of the Month is located in the Mod Options below "Mark as Installed".
EXCELLENT - Thanx very much!
No I have NoSpam! installed on vBadvanced pages!
Much appreciation and respect for this modification = AWESOME!

Jacquii.
------------
------------

I hear you like to write?
If so click the link and become part of the JPiC Community
Reply With Quote
  #8  
Old 12-15-2006, 11:34 AM
khad's Avatar
khad khad is offline
 
Join Date: Aug 2004
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This was exactly what I wanted. Was getting so tired of spambots registering, even though I had spambuster which got rid of their posts. Now they can't even register in the first place! Good job. This mod also doubles as an idiot filter if they can't answer whatever question you put.
Reply With Quote
  #9  
Old 12-16-2006, 05:30 PM
Quarterbore Quarterbore is offline
 
Join Date: Mar 2005
Location: Valley Forge PA
Posts: 538
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This worked so well for my 3.6 forums and I am so thankful to get this for my last 3.5.x board... The darned spammers have a suprise in store for them!
Reply With Quote
  #10  
Old 01-01-2007, 02:31 PM
apnet apnet is offline
 
Join Date: Mar 2005
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great stuff!!!

Used on v3.5.4 with no problems.
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 01:29 PM.


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.04331 seconds
  • Memory Usage 2,317KB
  • Queries Executed 23 (?)
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
  • (12)bbcode_code
  • (3)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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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