PDA

View Full Version : Miscellaneous Hacks - NoSpam! - an alternative to CAPTCHA images


Pages : 1 [2] 3 4

antialiasis
01-19-2007, 04:54 PM
I'm really not sure what could be causing this if the NoSpam! system is definitely turned on...

As for using separate fields for questions and answers, it is a little more difficult because if you have a lot of questions you'll just have to count the lines to see which answer goes with which question. Colons can already be inserted, anyway, using the ASCII code (& #58; without the space).

voteforbird
01-19-2007, 11:44 PM
NoSpam was working great for about a month. I used very basic math questions like "1 + 2" and "1 + 1". Suddenly, however, I'm getting tons of spam just like I used to. Was there some spambot software that was upgraded to circumvent NoSpam?

jugo
01-19-2007, 11:50 PM
I love this...can you imagine the possibilities....

INSTALLED

antialiasis
01-20-2007, 12:21 AM
NoSpam was working great for about a month. I used very basic math questions like "1 + 2" and "1 + 1". Suddenly, however, I'm getting tons of spam just like I used to. Was there some spambot software that was upgraded to circumvent NoSpam?
No spambot can circumvent the hack altogether. However, asking basic math questions is a very bad way to do this; I highly recommend making up questions that a computer would actually have trouble answering, since if you use simple math questions, all that needs to be done to a spambot to make it get around this is to instruct it to read the math problem found in that particular spot on the page, solve it and insert the solution into that particular field. The only protection you have with math questions is that the bot won't know it's supposed to solve the equation and insert it into the field, and it was only a matter of time before they caught on to it.

They don't need to be anything strenuous for the user to answer; it's just that math questions are by definition a piece of cake for an unintelligent computer program to answer. Just have them answer a simple verbal question, and your problems are solved.

Gryphon
01-22-2007, 03:20 PM
Would it be possible to make the Search page requirement optional so we could include it only on the registration page?

There is also an invalid url for the product version check.

rknight111
01-22-2007, 05:29 PM
I installed today and hope it stops all these new users trying to register that are all use the same time zones, (GMT -7:00) Eniwetok, Kajaleiw

And there from all over, USA, Russia, Japan, where ever.

I have 10 - 12 per day try to sign on as members and I set my Admin CP for me to moderate all new users, Well that means I have to check out up to 20 users a day, that can be alot of extra work. And I have even deleted some users I wanted on the site, and don't know how to get them back.

If this works I will know within 2 days, hopefully then my new users can reister and I dont have to moderate the new users

RON

WhyDoesItMatter
01-23-2007, 04:54 AM
Just amazing! Well done.

morrow
01-23-2007, 07:44 PM
Love it!

antialiasis
01-23-2007, 10:22 PM
The next version will include the option to turn it on and off for each page (registration, Contact Us, search) separately.

And thanks for the tip about the version check URL - guess I got the vBulletin.org feature somehow wrong.

haris_led
01-23-2007, 11:06 PM
i have just installed it, and the captcha image when registering is still there!!
how can i disable the captcha image??
thanks :)

rknight111
01-24-2007, 04:57 AM
Well, Its great allready. Two days and 21 new registrations and not one spammer. Usually I would have at least 5 day. Thanks for the good work.

RON

lostgirl815
01-24-2007, 06:58 AM
I'm sorry to be stupid but this is my first time using a plug-in: am I supposed to unzip the file first before importing it in my plugin&product manager? (Because, the file shows up as a zip, not as "product-nospam.xml.")

captainron19
01-24-2007, 12:24 PM
I installed this product (Using V 3.6.4) when into the cp settings turned on the no spam, entered a question with an answer, but it is not showing up on my registration page. Any ideas what I might be missing?

Ron
www.fire-forums.com

Caiman
01-24-2007, 12:58 PM
After having used this for a while now, I just want to reiterate how awesomely effective it is. I've gone from literally twenty+ spam registrants a week to zero, thanks to such a simple implementation using easy math questions. Couldn't be happier.

antialiasis
01-24-2007, 01:17 PM
I'm sorry to be stupid but this is my first time using a plug-in: am I supposed to unzip the file first before importing it in my plugin&product manager? (Because, the file shows up as a zip, not as "product-nospam.xml.")
Yes, you should unzip it. product-nospam.xml is inside the zip file.

I installed this product (Using V 3.6.4) when into the cp settings turned on the no spam, entered a question with an answer, but it is not showing up on my registration page. Any ideas what I might be missing?

Ron
www.fire-forums.com

Go to the register template and try manually finding $imagereg and adding $nospamfield above it.

captainron19
01-24-2007, 01:35 PM
Go to the register template and try manually finding $imagereg and adding $nospamfield above it.

I went into the style manager and di that but it still didnt work.

als95tsi
01-24-2007, 02:23 PM
*installed.

thanks!

lostgirl815
01-24-2007, 03:48 PM
Yes, you should unzip it. product-nospam.xml is inside the zip file.

Thanks for the reply!

haris_led
01-24-2007, 04:30 PM
antialiasis, can you help me with my problem??

captainron19
01-24-2007, 06:04 PM
You can disable image verification in the control panel under User Registration Options

captainron19
01-24-2007, 06:18 PM
Go to the register template and try manually finding $imagereg and adding $nospamfield above it.

I double checked and double checked everything and it still isnt working. I tired every poossible option. I added the $nospamfield and that didnt work. I even tried shutting off the image verigication to see if that had something to do with it and still nothing. I also tried re-saving and uploading the template after adding the $nospamfield and that didnt work either.

lostgirl815
01-24-2007, 06:22 PM
I hate to ask this because I realize it makes me look like a moron, but I really really want this mod.

After I unzip the file with WinZip, what do I do next? i.e. I right-click the file as it appears after WinZip unzips it and choose .... ? (Extract? View? Open With?)

Because it still shows up as a zip file when I try to choose it from my product manager "browse" function.

captainron19
01-24-2007, 06:30 PM
I hate to ask this because I realize it makes me look like a moron, but I really really want this mod.

After I unzip the file with WinZip, what do I do next? i.e. I right-click the file as it appears after WinZip unzips it and choose .... ? (Extract? View? Open With?)

Because it still shows up as a zip file when I try to choose it from my product manager "browse" function.



Extract it to somplace on your computer first then go into your cp to install the product. If you are opening in winzip it may not be pulling the files out of the zip file when you are looking at the infdividual ones so you can also right click - copy the needed file then past it someplace to upload once in your cp

lostgirl815
01-24-2007, 06:30 PM
Thank you very very much!

captainron19
01-24-2007, 06:32 PM
Thank you very very much!



Your welcome - let me know if it works for you because I cant get it to run still

lostgirl815
01-24-2007, 06:33 PM
Will do - I'm fumbling my way through it as we speak.

lostgirl815
01-24-2007, 06:49 PM
Okay, I got it to work! :) Which part are you having a problem with?

captainron19
01-24-2007, 06:51 PM
My problem is that it is not showing up on my registration page. It is listed in my cp and I turned it on, set a question but still not showing on my registration page. Here is the registration page if anyone has an idea... http://fire-forums.com/forums/register.php

lostgirl815
01-24-2007, 06:54 PM
Here's the text of my test question, which showed up okay, if that helps -

In order to thwart the registration spam robots, I need to ask you a question they won't know the answer to... so, what is the last number of the six Numbers.:42

(The question being everything in front of the colon, and the answer being after the colon.)

However, I can't get it to work with more than one question.

antialiasis
01-24-2007, 09:44 PM
captainiron19, check your style manager and see if you don't definitely have a template called nospam.

Also, were you definitely editing the template in the right style when you added $nospamfield manually before?

lostgirl815, if you have more than one question it will show one at random, not all of them, if you thought that.

lostgirl815
01-24-2007, 09:51 PM
captainiron19, check your style manager and see if you don't definitely have a template called nospam.

Also, were you definitely editing the template in the right style when you added $nospamfield manually before?

lostgirl815, if you have more than one question it will show one at random, not all of them, if you thought that.

Oh! That is what I thought - well that explains it then, thanks! It's a brilliant Mod, I love it. (I clicked Install about a billion times before I realized that it was javascript, not a link I was supposed to follow.)

(And er, just in case... I didn't modify any templates manually with $nospamfield or anything, it worked with just the instructions you gave. Am I supposed to modify each style also in some way or something?) (Please say no.)

antialiasis
01-24-2007, 11:27 PM
No, you aren't. The plugins are meant to automatically insert the question, but if it's not working I tell people to try it the manual way. If it works for you already, there's no need for that.

lostgirl815
01-24-2007, 11:30 PM
Ah great. Thanks for all your help, and thanks again for a way better anti-spambot tool!

captainron19
01-25-2007, 09:45 AM
captainiron19, check your style manager and see if you don't definitely have a template called nospam.

Also, were you definitely editing the template in the right style when you added $nospamfield manually before?

lostgirl815, if you have more than one question it will show one at random, not all of them, if you thought that.

I went into the style manager (I have 3 seperate styles in use) I clicked on edit templates for each one of them and there is a template under each one labeled "nospam" each one has the following code...
<fieldset class="fieldset">
<legend>$vbphrase[nospam_question]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="400">
<tr>
<td colspan="2">$nospamquestion</td>
</tr>
<tr>
<td>
<input type="hidden" name="nospamnumber" value="$nospamnumber" />
<input type="text" class="bginput" name="nospam" size="25" />
</td>
</tr>
</table>
</fieldset>

When I manually entered the $nospamfield I went in to each of my styles, clicked on edit templates, expanded "registration templates" and then I opened the register template. I dfound the text $imagereg and right above it I added $nospamfield then I clicked on save and reload.

A portion of that section that I edited manuall in each template looks like this:


</td>
</tr>
</if>
</table>
</fieldset>

$nospamfield

$imagereg

</div>

antialiasis
01-25-2007, 04:56 PM
Hmm.

I can't really think of any explanation it wouldn't be working for you, then, captainiron19. =/ If any coder has an idea of what could be wrong, any tips would be much appreciated.

captainron19
01-25-2007, 07:05 PM
Thanks for the help anyway - hopefully someone will have an idea. I also tried doing an uninstall and re-installed the product and that didnt help either. I installed an additional product just prior to this one (The Google / You Tube video embed feature) and it worked perfectly fine.

I am seeing a few items in my contol panel....wouth either or these cause a problem? >...

"There are currently 11 customized template(s) that need to be updated or reverted. Some sections of vBulletin may not function if you do not do this!" I saw this error at my main cp page and it started once I upgraded to v 3.6.4

Under my "Manage Products" section the top is reading... "Warning: Plugins are currently globally disabled via config.php."

LBSources
01-25-2007, 09:41 PM
excellent hack .. Good work!

antialiasis
01-26-2007, 09:59 PM
Under my "Manage Products" section the top is reading... "Warning: Plugins are currently globally disabled via config.php."

...well, okay, that's definitely the problem. Edit your config.php file (it's in the includes folder) and take out the line involving DISABLE_HOOKS; I can't remember exactly what it says, but therein lies the problem. You basically disabled hacks that involve plugins, which this one does.

captainron19
01-26-2007, 11:43 PM
thanks I will do that - I believe we diabled them after having a problem with upgrading to solve a problem that really wasnt effected by any plugins

captainron19
01-27-2007, 02:01 PM
Well it looks like that was the trick. After I got it all up and running I did note however that I had the No Spam question listed int here twice. I went into the style manager where I manually added $nospamfield - it was still only in there once. So, I deleted the one I added manually and seems to be working perfectly now.

On another note..... when i went into the config.php to delete the "Diable Hooks" section I did notice I had another line there labeled.... define('SKIP_REFERRER_CHECK', true); right below the disable hooks line. I removed that also.....is that ok? Like I said before, i think both of these lines were placed in there before when i had a trouble with the forum but it turned out to be a problem on my web server's side.

Thanks again for the help

mandy71480
01-27-2007, 02:48 PM
I can't wait to see how this works. They could easily lie, but I made my question "Would you like to advertise on this site?" and made the answer no. Eh, might not work for that question but we'll see! thanks so much! :up:

antialiasis
01-27-2007, 11:49 PM
On another note..... when i went into the config.php to delete the "Diable Hooks" section I did notice I had another line there labeled.... define('SKIP_REFERRER_CHECK', true); right below the disable hooks line. I removed that also.....is that ok? Like I said before, i think both of these lines were placed in there before when i had a trouble with the forum but it turned out to be a problem on my web server's side.

If that line does what I think it does, then yes, it should be absolutely fine to remove it - in fact, it makes your forum more secure.

lazytown
01-28-2007, 10:14 AM
Any way this could be used with the 'Form mod" -- which we use as a "contact us" page? We're starting to get spam from there.
https://vborg.vbsupport.ru/showthread.php?p=1162231

Thanks
-vissa

jw791
01-28-2007, 05:07 PM
Thank you very much.

After going thru 3 weeks of 3-5 spambots/day, I installed this a couple of days ago on 2 sites and ZERO spam registrations since.

I run a pets board so my question is "Using the letters d,g, and o, type in the 3 letter name for an animal with 4 legs that barks". Ha ha! the bots can't figure that out!

I agree with the others about having the ability to turn it off on certain pages. I love it on the registration page, but am not sure if I want it on my search page for guests as it might be a little intimidating for new folks that might want to register. Anxiously awaiting the next release!

Thanks again!

captainron19
01-28-2007, 08:55 PM
Same here - working perfectly. I was getting almost 10 spam bots joining a day. I was able to stop them from posting by not allowing for members to post until responding to the email confirmation but this has definitely stopped them from joining. I run a fire department forum and my question is

What is the name of the cool wet stuff firefighters use to extinguish fires?

rknight111
01-31-2007, 04:28 AM
:) This is an excellent modification that I have added to my forum. My members and myself appreciate this alot. This has totally eliminated the spammers. I have not had any at all.

Thanks
RON:up::)

BrettMo
02-04-2007, 07:32 PM
Installed and configured in 3 minutes flat! :up: Thanks for developing this.

Yvgeniy
02-04-2007, 09:13 PM
I recently got a report from one user that some of my questions didn't seem to be working with the answers that should have worked upon registration. So I tried registering myself to see if this is in fact the case, because all the questions that I previously tested seemed to work. However, the user was right, there was on question that I stumbled on specifically that didn't work. I tested a few others of that sort and they didn't seem to work either. Here are the questions:

Will you date me?:Yes[:Yeah:Yea:Ya]
Do you like video games?:Yes[:No]
Have you ever lied to your mommy?:Yes[:Yeah:Yea:Ya:No]
Are you wearing clothes?:Yes[:Yeah:Yea:Ya:No]

Perhaps I don't have the formatting right or something, but I followed the instructions as they were written... so I donno.

antialiasis
02-05-2007, 12:17 AM
vissa: I'll look into it.

Yvgeniy: You were not meant to include the [ ] there; those were just put there to indicate that the second, third, fourth, etc. options were not necessary, as the examples were supposed to make clear but apparently didn't. So your question field should look like this:

Will you date me?:Yes:Yeah:Yea:Ya
Do you like video games?:Yes:No
Have you ever lied to your mommy?:Yes:Yeah:Yea:Ya:No
Are you wearing clothes?:Yes:Yeah:Yea:Ya:No

Sorry about the confusion.

Thanks for the feedback, all of you. :) I really appreciate it.

Smoothie
02-05-2007, 01:07 AM
Have a question. Are answers case sensitive?

Smoothie
02-05-2007, 01:54 PM
Never mind, found my answer.

ChipW
02-06-2007, 02:38 PM
HAHA.... First, great hack..... Installed...

one question I have is "what color is blue?" And you would NOT believe the amount of wrong answers I get....

WoodiE
02-06-2007, 08:49 PM
This is by far one of the most useful hacks I've installed in a long time. I find myself cussing other sites that are still using the default 3.6.x captcha for registering and/or search. The font's are so hard to read and a lot of sites have all the options enabled making the captcha VERY hard to read even for myself.

GREAT HACK!

antialiasis
02-07-2007, 12:07 AM
I just noticed that NoSpam! is leading February's Modification of the Month, so in gratitude for your support, I've updated the hack to version 3.0. :) Now you can specify whether the forum should use NoSpam! for registrations, Contact Us, guest posts and guest searches individually.

Smoothie
02-07-2007, 12:12 AM
Nice!

AndyZ
02-07-2007, 12:15 AM
Nice job, antialiasis! I've been using this for a few months and it has helped defeat a lot of the spammers.

Thank you.

Smoothie
02-07-2007, 12:17 AM
updated and all is good.

Yvgeniy
02-07-2007, 12:46 AM
Thanks for the feedback, all works well now. Running the latest version =D

lazytown
02-07-2007, 01:11 AM
Any way this could be used with the 'Form mod" -- which we use as a "contact us" page? We're starting to get spam from there.
https://vborg.vbsupport.ru/showthread.php?p=1162231

Thanks
-vissa

vissa: I'll look into it.
...
Thanks for the update -- I'm voting for MOTM. Any chance you could tell me how I might be able to get this to work with the "form mod" I mentioned above? Is it just making some changes to the template on that page or more involved than that?

-vissa

Phosphorus
02-07-2007, 06:36 AM
hum... i download the V.3.0 of your hack and when i open the zip file is the 2.0 in ...
something wrong ?

antialiasis
02-07-2007, 07:01 AM
That is definitely supposed to be version 3.0. What exactly is indicating to you that it's 2.0?

Phosphorus
02-07-2007, 07:23 AM
when i unzip and upload the xml (with overwriting "on" ) nothing is changed after - i see the product on the list called as 2.0 and on setting all is same as 2.0. and on the zip file is same files (and date) as in 2.0

Phosphorus
02-07-2007, 07:28 AM
in add if i open the xml file is writted "version 2.0"

Top Nurse
02-07-2007, 03:07 PM
Here is what we did to make the NoSpam! work in our dual language board. We used both questions (one in English and one in Spanish) on the same line. The user can input either the Spanish or English answer and it authenticates. :D

If you decide to do this you cannot hit the enter key after the first language or you will get two separate questions. :up: Enjoy :up:


Fill in the blank "We admitted that we were _______ over our addiction..." Llene los espacios en blanco ?Admitimos que eramos ______ ante nuestra adiccion??:powerless:inpotentes


https://vborg.vbsupport.ru/external/2007/02/24.jpg

Caiman
02-07-2007, 04:52 PM
Great, thanks for the update. Still one of the best, most essential hacks around right now.

antialiasis
02-07-2007, 07:13 PM
Phosphorus: I just downloaded the zip file attached to the first post here myself and it contains version 3.0. :/ Are you sure you weren't opening the previous version you downloaded or something? Try redownloading it.

Top Nurse: Remember, you can still insert a line break with HTML - just use this code:
Fill in the blank "We admitted that we were _______ over our addiction..."<br />Llene los espacios en blanco “Admitimos que eramos ______ ante nuestra adiccion…”:powerless:inpotentes

Caiman: Thank you. :)

antialiasis
02-07-2007, 11:42 PM
I have figured out the Form Hack integration; see the newly-added integration.txt file.

jw00dy
02-08-2007, 04:06 AM
I still love this mod. Thank you for the update. MOTM for sure. I don't even remember the last spammer on my forums.

Top Nurse
02-08-2007, 05:12 AM
Top Nurse: Remember, you can still insert a line break with HTML - just use this code:
Fill in the blank "We admitted that we were _______ over our addiction..."<br />Llene los espacios en blanco ?Admitimos que eramos ______ ante nuestra adiccion??:powerless:inpotentes


Oh la la! Thanks so much for the tip as that makes it look just so much nicer now. :D

Eagle Creek
02-09-2007, 12:27 AM
I think I like it BUT:
Or you can go with inserting a simple image with HTML and ask what is shown on the image.
Isn't this the same as the CAPTCHA then???

jdebler
02-09-2007, 12:11 PM
I think I like it BUT:

Isn't this the same as the CAPTCHA then???

I have seen it where there are actual simple objects that need to be identified.

Duck, Apple, House, Boat, etc...

I have seen a few instances of moving to that method.

HeloHi
02-09-2007, 03:44 PM
I love this hack. I just recently starting having a problem with spam accounts being made, hope this stops it. Thanks :)

littlematts
02-09-2007, 05:24 PM
First of all let me thank you antialiasis for your great mod you provided.

I installed your mod on my vbull forum vBulletin? v3.6.4 and it is working perfect with the registration page..

but the issue i face is with integration.. I am not able to integrate the same with Quick Register Ver: 1.6.3 installed along. The question itself is not showing up. I have tried updating the script as specified by you in integration details page but to no avail.

I am adding the modified page here.. I will be lot thankful if you could take some time to look if it is right way i have done it.. or suggest me a remedy to help me out of this delemma.

"Generate NoSpam! question" on global_start modified to:
if ($vbulletin->options['nospam_onoff'] AND !$vbulletin->userinfo['userid'])
{
$nospamdo = true;
switch (THIS_SCRIPT) {
case 'register':
$thetemplate =& $vbulletin->templatecache['register'];
break;
case 'sendmessage':
$thetemplate =& $vbulletin->templatecache['contactus'];
break;
case 'search':
$vbulletin->templatecache['search_forums'] = str_replace(array('$imagereg</td>', '($imagereg)'), array('$nospamfield\n\n$imagereg</td>', '($imagereg OR $vbulletin->options[\'nospam_onoff\'])'), $vbulletin->templatecache['search_forums']);
break;
case 'newreply':
$thetemplate =& $vbulletin->templatecache['newreply'];
break;
case 'newthread':
$thetemplate =& $vbulletin->templatecache['newthread'];
break;
default:
if ($vbulletin->options['nospam_use_reg'] AND $vbulletin->options['quickregister_active']) {
$questions = explode("\n", $vbulletin->options['nospam_questions']);
$nospamnumber = array_rand($questions);
$qanda = explode(":",$questions["$nospamnumber"]);
$nospamquestion = $qanda[0];
}
$nospamdo = false;
}

if ($thetemplate)
{
$thetemplate = str_replace('$imagereg', '$nospamfield\n\n$imagereg', $thetemplate);
}

if ($nospamdo) {
$questions = explode("\n", $vbulletin->options['nospam_questions']);
$nospamnumber = array_rand($questions);
$qanda = explode(":",$questions["$nospamnumber"]);
$nospamquestion = $qanda[0];

eval('$nospamfield = "' . fetch_template('nospam') . '";');
}
}

and edited quick_register template is:
<if condition="$vboptions['quickregister_active'] AND $show['guest']">
<!-- Start Quick Register --><table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat" colspan="6"><div align="center"><b>$vbphrase[quickregister_quickregister]</b></div></td>
</tr>
<tr>
<td class="alt1" colspan="6"> <div align="center">
<span class="smallfont"><script type="text/javascript" src="$vboptions[bburl]/clientscript/vbulletin_md5.js"></script>
<script type="text/javascript">
function verify_passwords(password1, password2)
{
// do various checks, this will save people noticing mistakes on next page
if (password1.value == '' || password2.value == '')
{
alert('Fill out both password fields');
return false;
}
else if (password1.value != password2.value)
{
alert('Entered passwords do not match');
return false;
}
else
{
md5hash(password1, document.forms.register.password_md5);
md5hash(password2, document.forms.register.passwordconfirm_md5);
return true;
}
return false;
}
</script>
<form action="$vboptions[bburl]/register.php" name="register" method="post" onsubmit="return verify_passwords(password, passwordconfirm);">
<input type="hidden" name="s" value="" />
<input type="hidden" name="do" value="addmember" />
<input type="hidden" name="url" value="$url" />
<input type="hidden" name="agree" value="" />
<input type="hidden" name="password_md5" />
<input type="hidden" name="passwordconfirm_md5" />
<if condition="$vboptions['quickregister_welcomemsg']">
$vboptions[quickregister_welcomemsgtext]<br><br>
</if>
$vbphrase[quickregister_username]
<input type="text" class="bginput" name="username" maxlength="15" value="" style="width:70px" />
$vbphrase[quickregister_password]
<input type="password" class="bginput" name="password" maxlength="15" value="" style="width:70px" />
$vbphrase[quickregister_confirmpassword]
<input type="password" class="bginput" name="passwordconfirm" maxlength="15" value="" style="width:70px" />
$vbphrase[quickregister_email]
<input type="text" class="bginput" name="email" maxlength="50" value="" style="width:70px" />
$vbphrase[quickregister_confirmemail]
<input type="text" class="bginput" name="emailconfirm" maxlength="50" value="" style="width:70px" /><br>
<if condition="$vboptions['quickregister_dob']">
$vbphrase[quickregister_birthday]
<select name="month" id="bd_month"style="width:70px" />
<option value="-1">$vbphrase[quickregister_bdmonth]</option>
<option value="01">January</option>
<option value="02">February</option>
<option value="03">March</option>
<option value="04">April</option>
<option value="05">May</option>
<option value="06">June</option>
<option value="07">July</option>
<option value="08">August</option>
<option value="09">September</option>
<option value="10">October</option>
<option value="11">November</option>
<option value="12">December</option>
</select> &nbsp;
<select name="day" id="bd_day"style="width:70px" />
<option value="-1" >$vbphrase[quickregister_bdday]</option>
<option value="01" >1</option>
<option value="02" >2</option>
<option value="03" >3</option>
<option value="04" >4</option>
<option value="05" >5</option>
<option value="06" >6</option>
<option value="07" >7</option>
<option value="08" >8</option>
<option value="09" >9</option>
<option value="10" >10</option>
<option value="11" >11</option>
<option value="12" >12</option>
<option value="13" >13</option>
<option value="14" >14</option>
<option value="15" >15</option>
<option value="16" >16</option>
<option value="17" >17</option>
<option value="18" >18</option>
<option value="19" >19</option>
<option value="20" >20</option>
<option value="21" >21</option>
<option value="22" >22</option>
<option value="23" >23</option>
<option value="24" >24</option>
<option value="25" >25</option>
<option value="26" >26</option>
<option value="27" >27</option>
<option value="28" >28</option>
<option value="29" >29</option>
<option value="30" >30</option>
<option value="31" >31</option>
</select> &nbsp;
<input type="text" class="bginput" name="year" onFocus="value=''" value="$vbphrase[quickregister_bdyear]" size="4" maxlength="4" id="bd_year" style="width:50px" /></if>
<if condition="$vboptions['quickregister_imgver'] AND $vboptions['regimagecheck']">
&nbsp;<input type="text" class="bginput" name="imagestamp" size="16" onFocus="value=''" value="$vbphrase[quickregister_imagever]" maxlength="6" title="$vbphrase[quickregister_imageverhov]" />
<input type="hidden" name="imagehash" value="$imagehash" />
<img src="image.php?$session[sessionurl]type=regcheck&amp;imagehash=$imagehash" alt="$vbphrase[registration_image]" width="100" height="30" border="0" />
</if>
<if condition="$vbulletin->options['nospam_onoff'] AND $vbulletin->options['nospam_use_reg']">
<br />$nospamquestion <input type="text" class="bginput" name="nospam" value="Answer here" onFocus="value=''" size="20" /> <input type="hidden" name="nospamnumber" value="$nospamnumber" />
</if>

<input type="submit" class="button" value="$vbphrase[quickregister_submit]" accesskey="s" /><input name="agree" id="cb_rules_agree" value="1" type="checkbox"><strong>$vbphrase[quickregister_agree] <a href="$vboptions[bburl]/register.php?" target="_blank">$vbphrase[quickregister_forumrules]</a></strong>&nbsp;

</span></form>
</div></td>
</tr>
</thead>
</table><br></if>
<!-- End Quick Register --></if>


i have disabled captcha image in vbull options.

buddy do you have any idea where i went wrong.. coz the quick register dsnt show the integrated no-spam question or the answer box in the page...which i feel mandatory to keep spammers away.. :(

hopefully waiting for your words of help..

regards
Matthew

rjmjr69
02-09-2007, 05:45 PM
I dont see anywhere in the options to set it to specific pages?

antialiasis
02-09-2007, 11:27 PM
littlematts: Hmm, the answer box isn't showing up either, you say? Then something must be wrong with the template edit you made. Did you definitely make it in all the styles? And did you definitely turn NoSpam! on and set it to being displayed at registration?

rjmjr69: It's the bottom four options on the NoSpam! settings in the vBulletin settings - whether to show it at registration, whether to show it for guest searches, whether to show it for Contact Us and whether to show it for guest posts.

CP,
02-10-2007, 12:06 PM
Ok i just want this to be enabled on the registration page, not when each user wants to make a post.. how can i do this? cheers!

antialiasis
02-10-2007, 01:23 PM
Make sure you have the newest version (3.0). Then go to vBulletin Settings in the Admin CP and find NoSpam! settings. There the bottom four options allow you to enable or disable NoSpam! on registrations, guest posts, Contact Us and guest searches.

littlematts
02-10-2007, 09:28 PM
littlematts: Hmm, the answer box isn't showing up either, you say? Then something must be wrong with the template edit you made. Did you definitely make it in all the styles? And did you definitely turn NoSpam! on and set it to being displayed at registration?

rjmjr69: It's the bottom four options on the NoSpam! settings in the vBulletin settings - whether to show it at registration, whether to show it for guest searches, whether to show it for Contact Us and whether to show it for guest posts.

.. yups dude.. even the answer box is not showing up.. i added the exact code above the specified submit post code.

Have rechecked to make sure it is made for all styles << Done; it is :)

Turn on NoSpam << Yups dude, and it is working best for registration page

Set it to being displayed in registration << EEps.. unfortunately i am not able to find this option in vbulletin options menu for NoSpam settings.. but it is working fine as said for main registration page..

.. but still the problem persist.. the NoSpam not integrating with my "Quick registration" mod.. :(

i will be lot thankful if u could look into my modified code when u have some time to spare..

thanks lots for taking your time to read and reply for my query dude.. keep rocking

regards
littlematts

antialiasis
02-10-2007, 10:16 PM
Hmm, that's odd.

Try removing the if tags from what you added into the quickregister template.

blogtorank
02-11-2007, 01:40 AM
Thought I would share some of my fast but effective ready to go Spam preventions sayings where you have to add the

Please type "" into the following box.:So here is my .txt file with 150 of these ready to go so all you would have to do is just simply copy / paste these to your AdminCP area for this under Options :)

Enjoy! If the coder doesn't like it I'll take it down. However I thought this would help others out to have a few (150) more ready to go!


Edited:

BTW thanks coder for the 3.0!

littlematts
02-11-2007, 07:05 AM
Hmm, that's odd.

Try removing the if tags from what you added into the quickregister template.

wow dude.. that was infact a fast response.. thanks looooots..

and u know wat.. tat suggestion made a smile on my face when implemented.. i removed the if condition and kept the block as if it will get executed without checking any condition. and yes.. the message box appeared but smile dint last when i made out the question is no where to be found.. i think removing the condition helped me coz.. the no spam version i use is 2.0 and it doesnt have option $vbulletin->options['nospam_use_reg'] in vbulletin option menu so it is like the AND condition never get satisfied..

so buddy.. we have answer box with the message "answer here" is here.. but the question is not in sight.. is it the issue with version 2.0 wile i use the integration note for ver3.0?!

always thank you from bottom of my heart to your kind support you providing me..

regards
Matthew

littlematts
02-11-2007, 07:36 AM
I dont know if i am right.. but is the error (Question not getting displayed) due to non caching of nospam for quick register form?

like:
case 'register':
if ($vbulletin->options['nospam_use_reg']) {
$thetemplate =& $vbulletin->templatecache['register'];
$nospamdo = true;
}
break;

for register template..

do we need one such case for quick register to get it cached for the same too..

eeps! did i confuse u?! hope not ;) :)
was jus trying to help to figure out along :)

regards
Matthew

familyhistory
02-11-2007, 01:32 PM
Hi,

Just added this to my forum (better than CAPTCHA hopefully!)

Anyway, I have an issue with the search.
(I have logged out and cleared cookies)
When as a guest uses the quick search (top of forum) it comes up with:
You answered the NoSpam! question incorrectly. Please reevaluate your answer or, if you found yourself unable to answer it, you can refresh for another question if the administrator has enabled multiple questions. If you find yourself repeatedly unable to answer the NoSpam! questions, please contact the forum administration.Yet, when as a guest, I click advanced search it works ok!

Another major issue is that when I try to register and click "complete Registration", I get a server error from .........../register.php?do=addmember

Any help please,
Regards,
Dave

antialiasis
02-11-2007, 05:19 PM
blogtorank: I appreciate the effort to help, but using presets of any sort completely defeats the point of NoSpam!. If people start using math problems or "Please type [word] into the following box" in that exact format en masse, it allows spambots to just be programmed with the rule and then extract the numbers/word from the question to insert it. The strength of NoSpam! lies in the impossibility of mechanically predicting for any given forum that uses the hack what the answer to the question might be, which is the reason NoSpam! does not come with any default questions.

littlematts: Um, obviously you shouldn't be surprised if integration instructions for 3.0 aren't working when you're using 2.0. o_O Just upgrade the hack, and that's all there is to it. Not caching the nospam template had nothing to with it; for one thing, templates still work even if they're not cached (but require an additional query), and for another, the nospam template is not used for the QuickRegister integration.

familyhistory: If you want guests to be able to search without NoSpam!, turn off NoSpam! for guest searches in the Admin CP. If you don't, then there appears to be a problem with NoSpam!'s automatic disabling of Quick Search. Is your forum definitely running vBulletin 3.6.x? And what sort of server error are you getting when you try to register? Just saying you get a server error doesn't tell me anything.

littlematts
02-11-2007, 05:43 PM
blogtorank: I appreciate the effort to help, but using presets of any sort completely defeats the point of NoSpam!. If people start using math problems or "Please type [word] into the following box" in that exact format en masse, it allows spambots to just be programmed with the rule and then extract the numbers/word from the question to insert it. The strength of NoSpam! lies in the impossibility of mechanically predicting for any given forum that uses the hack what the answer to the question might be, which is the reason NoSpam! does not come with any default questions.

littlematts: Um, obviously you shouldn't be surprised if integration instructions for 3.0 aren't working when you're using 2.0. o_O Just upgrade the hack, and that's all there is to it. Not caching the nospam template had nothing to with it; for one thing, templates still work even if they're not cached (but require an additional query), and for another, the nospam template is not used for the QuickRegister integration.

familyhistory: If you want guests to be able to search without NoSpam!, turn off NoSpam! for guest searches in the Admin CP. If you don't, then there appears to be a problem with NoSpam!'s automatic disabling of Quick Search. Is your forum definitely running vBulletin 3.6.x? And what sort of server error are you getting when you try to register? Just saying you get a server error doesn't tell me anything.

thanks lots for the reply mate.. and sorry for any incon..

will make the upgrade now and be back with report..

keepin my fingers crossed..

regards
Matthew

littlematts
02-11-2007, 06:06 PM
Hia dude..

I am back.. :D

tried upgrade to 3 and now the answer box appear without removing the "IF" condition.. ie; integration works.. but still the question is nowhere to be found :(

I tried it with removing :
<if condition="$vbulletin->options['nospam_onoff'] AND $vbulletin->options['nospam_use_reg']">
<br />$nospamquestion
</if>

to see if the question appear or if any space limit is blocking it.. but to no avail.. the question is not getting displayed even now.. but to say it works perfect with main register page

Matthew



also tried with the main page calling code in the quick register page
ie; changed the code of quick register to look like :


<if condition="$vbulletin->options['nospam_onoff'] AND $vbulletin->options['nospam_use_reg']">
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="400">
<tr>
<td colspan="2">$nospamquestion</td>
</tr>
<tr>
<td>
<input type="hidden" name="nospamnumber" value="$nospamnumber" />
<input type="text" class="bginput" name="nospam" size="25" />
</td>
</tr>
</table>
</if>

but still the question is missing from displayed.. do we need any change to the integration code to get the question displayed in quick register form?

sorry to bug u ...
thanks lots for your cooperation buddy

Matthew

antialiasis
02-11-2007, 07:09 PM
Can you give me the code of your "Generate and insert NoSpam! question" plugin on global_start?

littlematts
02-11-2007, 09:01 PM
Can you give me the code of your "Generate and insert NoSpam! question" plugin on global_start?

sure mate..

Here it is for the reference..

if ($vbulletin->options['nospam_onoff'] AND !$vbulletin->userinfo['userid'])
{
switch (THIS_SCRIPT) {
case 'register':
if ($vbulletin->options['nospam_use_reg']) {
$thetemplate =& $vbulletin->templatecache['register'];
$nospamdo = true;
}
break;
case 'sendmessage':
if ($vbulletin->options['nospam_use_contactus']) {
$thetemplate =& $vbulletin->templatecache['contactus'];
$nospamdo = true;
}
break;
case 'search':
if ($vbulletin->options['nospam_use_search']) {
$vbulletin->templatecache['search_forums'] = str_replace(array('$imagereg</td>', '($imagereg)'), array('$nospamfield\n\n$imagereg</td>', '($imagereg OR ($vbulletin->options[\'nospam_onoff\'] AND $vbulletin->options[\'nospam_use_search\']))'), $vbulletin->templatecache['search_forums']);
$nospamdo = true;
}
break;
case 'newreply':
if ($vbulletin->options['nospam_use_post']) {
$thetemplate =& $vbulletin->templatecache['newreply'];
$nospamdo = true;
}
break;
case 'newthread':
if ($vbulletin->options['nospam_use_post']) {
$thetemplate =& $vbulletin->templatecache['newthread'];
$nospamdo = true;
}
break;
default:
if ($vbulletin->options['nospam_use_reg'] AND $vbulletin->options['quickregister_active']) {
$questions = explode("\n", $vbulletin->options['nospam_questions']);
$nospamnumber = array_rand($questions);
$qanda = explode(":",$questions["$nospamnumber"]);
$nospamquestion = $qanda[0];
}
$nospamdo = false;
}

if ($thetemplate)
{
$thetemplate = str_replace('$imagereg', '$nospamfield\n\n$imagereg', $thetemplate);
}

if ($nospamdo) {
$questions = explode("\n", $vbulletin->options['nospam_questions']);
$nospamnumber = array_rand($questions);
$qanda = explode(":",$questions["$nospamnumber"]);
$nospamquestion = $qanda[0];

eval('$nospamfield = "' . fetch_template('nospam') . '";');
}
}

waiting for your valuable reply :)

Matthew

familyhistory
02-11-2007, 09:10 PM
thanks for the reply antialiasis,

The forum version 3.6, site is here: http://www.forum.familyhistory.uk.com

Maybe you could see if there is a problem signing up. Maybe it may be something to do with my cache or cookies.....

Thanks,:)
Dave

Smoothie
02-11-2007, 10:13 PM
thanks for the reply antialiasis,

The forum version 3.6, site is here: http://www.forum.familyhistory.uk.com

Maybe you could see if there is a problem signing up. Maybe it may be something to do with my cache or cookies.....

Thanks,:)
DaveThere's something up with your settings or templates because when you have enabled under vBulletin options-> "message searching options" -> Guest Search Image Verification, when a guest clicks search it redirects them to the advanced search page, there is no option when clicking search as a guest for the dropdown box to open when it's clicked. It has nothing to do with no spam settings.

antialiasis
02-12-2007, 12:31 AM
littlematts, try replacing

if ($vbulletin->options['nospam_use_reg'] AND $vbulletin->options['quickregister_active']) {
$questions = explode("\n", $vbulletin->options['nospam_questions']);
$nospamnumber = array_rand($questions);
$qanda = explode(":",$questions["$nospamnumber"]);
$nospamquestion = $qanda[0];
}

with just

$questions = explode("\n", $vbulletin->options['nospam_questions']);
$nospamnumber = array_rand($questions);
$qanda = explode(":",$questions["$nospamnumber"]);
$nospamquestion = $qanda[0];

Then tell me if it works then.

familyhistory: Registration works fine for me. About the search, yes, I think Smoothie hits the nail on the head - it sounds like there's something up with your navbar template. Did you keep an old template unreverted after upgrading to 3.6 or something like that?

littlematts
02-12-2007, 08:17 AM
littlematts, try replacing

if ($vbulletin->options['nospam_use_reg'] AND $vbulletin->options['quickregister_active']) {
$questions = explode("\n", $vbulletin->options['nospam_questions']);
$nospamnumber = array_rand($questions);
$qanda = explode(":",$questions["$nospamnumber"]);
$nospamquestion = $qanda[0];
}

with just

$questions = explode("\n", $vbulletin->options['nospam_questions']);
$nospamnumber = array_rand($questions);
$qanda = explode(":",$questions["$nospamnumber"]);
$nospamquestion = $qanda[0];

Then tell me if it works then.

familyhistory: Registration works fine for me. About the search, yes, I think Smoothie hits the nail on the head - it sounds like there's something up with your navbar template. Did you keep an old template unreverted after upgrading to 3.6 or something like that?


hia buddy.. tried with the same and following alteration but to no avail.. sorry for any mistaken trial ... coz i am not good in coding..

Trial 1:
default:
{
$questions = explode("\n", $vbulletin->options['nospam_questions']);
$nospamnumber = array_rand($questions);
$qanda = explode(":",$questions["$nospamnumber"]);
$nospamquestion = $qanda[0];
}

Result: No Luck.

Traial2:
default:
if $vbulletin->options['quickregister_active']) {
$questions = explode("\n", $vbulletin->options['nospam_questions']);
$nospamnumber = array_rand($questions);
$qanda = explode(":",$questions["$nospamnumber"]);
$nospamquestion = $qanda[0];
}
$nospamdo = false;
}
Result: No Luck

:( donno what issue with my case.. are u getting the result when tried testing?
do u want me to try any other combination buddy.. i will be only happy to.. coz the nospam mod is much useful than captcha verification as per my view..

regards
Matthew

phill2003
02-12-2007, 10:38 AM
First of all let me thank you antialiasis for your great mod you provided.

I installed your mod on my vbull forum vBulletin? v3.6.4 and it is working perfect with the registration page..

but the issue i face is with integration.. I am not able to integrate the same with Quick Register Ver: 1.6.3 installed along. The question itself is not showing up. I have tried updating the script as specified by you in integration details page but to no avail.



regards
Matthew

I had the same problem as you (if you look back in the thread I have posted a couple of times but got no joy) anyway I have fixed my issue and by the looks of things it may help you as you seem to be having the exact problem i was having...


To fix mine I inserted some code into the quickregister plugin.

in the quick register plugin at global start look for this
$show['guest'] = true;

and above that place this

if ($vbulletin->options['nospam_use_reg'] AND $vbulletin->options['quickregister_active']) {
$questions = explode("\n", $vbulletin->options['nospam_questions']);
$nospamnumber = array_rand($questions);
$qanda = explode(":",$questions["$nospamnumber"]);
$nospamquestion = $qanda[0];
}


This when applied to my quick register plugin got the question to appear as well as the box for the answer :)

I hope this fixs your issue as the nospam hack is IMO one of if not the best hack on vbulletin.org and I was disappointed that it would not work on my quick register which also is a must have for increased registrations.

It might be an idea to whack this in the readme for others in the same situation :) if there are any.

blogtorank
02-12-2007, 12:10 PM
blogtorank: I appreciate the effort to help, but using presets of any sort completely defeats the point of NoSpam!. If people start using math problems or "Please type [word] into the following box" in that exact format en masse, it allows spambots to just be programmed with the rule and then extract the numbers/word from the question to insert it. The strength of NoSpam! lies in the impossibility of mechanically predicting for any given forum that uses the hack what the answer to the question might be, which is the reason NoSpam! does not come with any default questions.


Gotcha, and thought to pass these onto others to add-in with their existing ones :) Thanks for explanation as well!

Eagle Creek
02-12-2007, 12:44 PM
I think I like it BUT:
Or you can go with inserting a simple image with HTML and ask what is shown on the image.
Isn't this the same as the CAPTCHA then???

antialiasis, what about this?
Why can't spambots read this and they can read a normal image?

antialiasis
02-12-2007, 03:50 PM
Because CAPTCHA images are computer-generated images containing letters and/or numbers with varying amount of distortion. Computerized pattern recognition programs can be programmed to read the distorted letters in CAPTCHA images without much trouble, but identifying an object in an image is a dramatically more difficult task requiring far more elaborate, advanced AI.

Say you took your avatar and asked in NoSpam! what that image shows. The average human should without too much trouble be able to answer "eagle". However, a computer doesn't have years of experience of looking at pictures of animals and eagles with a mind-numbingly elaborate neural network that specializes in recognizing objects such as animals in visual data, and thus it will not have any idea what the heck your avatar is. Letters are simple patterns that a bot can be programmed to recognize; recognizing 3-D objects in 2-D images from any angle is something that we humans have been specializing ourselves in for millions of years of evolutionary history and a varying number of years of personal experience. Not to mention that the bot would have to keep a database of rules to recognize an absolutely astronomical number of objects in order to be able to take on an arbitrary image with no clue whatsoever as to what it contains. Artificial intelligence just can't do it, at least not yet.

littlematts, you did it wrong on both trials. :/ Replace exactly what I told you with exactly what I told you. Or do what phill2003 did, since it worked for him. It works fine with my original instructions on my test forum; maybe it's a matter of different PHP versions or something. =/

littlematts
02-12-2007, 08:19 PM
I had the same problem as you (if you look back in the thread I have posted a couple of times but got no joy) anyway I have fixed my issue and by the looks of things it may help you as you seem to be having the exact problem i was having...


To fix mine I inserted some code into the quickregister plugin.

in the quick register plugin at global start look for this
$show['guest'] = true;

and above that place this

if ($vbulletin->options['nospam_use_reg'] AND $vbulletin->options['quickregister_active']) {
$questions = explode("\n", $vbulletin->options['nospam_questions']);
$nospamnumber = array_rand($questions);
$qanda = explode(":",$questions["$nospamnumber"]);
$nospamquestion = $qanda[0];
}


This when applied to my quick register plugin got the question to appear as well as the box for the answer :)

I hope this fixs your issue as the nospam hack is IMO one of if not the best hack on vbulletin.org and I was disappointed that it would not work on my quick register which also is a must have for increased registrations.

It might be an idea to whack this in the readme for others in the same situation :) if there are any.


:up: :) :up: :) :up: :)

I dont know.. if a million thanks will reply for this suggestionu gave me.. coz it simply worked!! THANKS mate.. Thanks lotttts.. phill2003

I am soo happy to see people here are soo kind enough to support others to guide them out of trouble..

and my thanks to antialiasis too for the great mod and support.. infact i got to say he tried his best to get me out of this delemma..

antialiasis, i think we should change the integraton details in txt file provided along.. ask users to use ver3 along with the integration method suggested by phill2003

Thank you both.. my joy of success find no limit dudes..

You guys simply rocks..

Matthew

blankoboy
02-13-2007, 04:37 AM
I was just going to suggest that adding more than one answer for a question would be a great feature to make this mod really shine. But...low and behold antialiasis already had this feature implemented (along with case insensitive option). You are the man and this mod has my vote for MOTM. Fantastic. :up: :up:

Vbulletin really ought to have this implemented as standard.

Veeb0rg
02-13-2007, 11:26 AM
is there a way to get this to work with 3.0.7 vb?

Eagle Creek
02-13-2007, 11:34 AM
Because CAPTCHA images are computer-generated images containing letters and/or numbers with varying amount of distortion. Computerized pattern recognition programs can be programmed to read the distorted letters in CAPTCHA images without much trouble, but identifying an object in an image is a dramatically more difficult task requiring far more elaborate, advanced AI.

Say you took your avatar and asked in NoSpam! what that image shows. The average human should without too much trouble be able to answer "eagle". However, a computer doesn't have years of experience of looking at pictures of animals and eagles with a mind-numbingly elaborate neural network that specializes in recognizing objects such as animals in visual data, and thus it will not have any idea what the heck your avatar is. Letters are simple patterns that a bot can be programmed to recognize; recognizing 3-D objects in 2-D images from any angle is something that we humans have been specializing ourselves in for millions of years of evolutionary history and a varying number of years of personal experience. Not to mention that the bot would have to keep a database of rules to recognize an absolutely astronomical number of objects in order to be able to take on an arbitrary image with no clue whatsoever as to what it contains. Artificial intelligence just can't do it, at least not yet.


HI,

I understand the system of images being read etc.. (very nice explanaiton btw!). But what I don't understand is this. You say:
Or you can go with inserting a simple image with HTML and ask what is shown on the image.
Then you still have exactly the same, dont you? You present a simple image like .JPG and then it can be read? Or am I wrong understanding what you are writing :).
I will definetly going to use this hack ;).

phill2003
02-13-2007, 02:03 PM
HI,


Then you still have exactly the same, dont you? You present a simple image like .JPG and then it can be read? .


No because you could use a picture of a naked chick and ask how many tits she has. the capture image wants to know what the letters and numbers are and programmes can be made to decypher that, but when you ask how hairy the biff is or how bog are the baps no programme on earth (I presume) is capable of that....

limey
02-13-2007, 10:51 PM
I can't seem to get this to work with the Quick Register add on for vb 3.64.

This part of code is not in the global start section from what I can see.
$show['guest'] = true;

antialiasis
02-13-2007, 11:28 PM
Veeb0rg: I'm afraid I have no experience with 3.0.x whatsoever, sorry. :/ Another coder is free to port it back if they like, though.

Eagle Creek: Then you still have exactly the same, dont you? You present a simple image like .JPG and then it can be read? Or am I wrong understanding what you are writing :).
No, because the simple image would contain an object that has to be recognized, not letters that can be read by applying computerized rules.

limey: If you are trying to use phill2003's solution, remember that you should be looking for that in the QuickRegister plugin, not the NoSpam! one.

Eagle Creek
02-14-2007, 12:47 AM
Now I fully understand. Thanks for the explaination :).

limey
02-14-2007, 04:24 AM
Thanks antialiasis...alot!

chkdgate
02-14-2007, 05:36 AM
I don't know if this has been answered somewhere in the 355+ posts but will this mod also work with Allow Unregistered Users to use 'Contact Us' under contact details? Even though my settings are Yes, but verify image, I still get loads of spam. I would love to install this if that's the case.

antialiasis
02-14-2007, 06:13 AM
Yes, it works with guests using Contact Us.

chkdgate
02-14-2007, 07:08 AM
Awesome. Downloaded it and will install tomorrow. It's late. Thank you for this because I'm getting sick and tired of getting Penis Enlargement ads and Viagra email attacks from my site. No joke.:mad:

Veeb0rg
02-14-2007, 09:20 AM
Veeb0rg: I'm afraid I have no experience with 3.0.x whatsoever, sorry. :/ Another coder is free to port it back if they like, though.



thanks for the reply.. I'm just tryin to get some sort of protection on this board i admin while i'm upgrading it/moving it to a new server. the spambots are out of control

d1150488
02-14-2007, 05:53 PM
I can't get this to appear at all, i've tried several of the fixes, including the manual template edits. I tried restoring the tempate and product and re-tried, but with no luck :(

I've checked i've got the nospam template, i've got the reference in the reg template. I've got the hooks enabled, i've gone over and over the code, and i'm completely confused as to why it shouldn't work. I've had a good read through this thread, and i just can't find a fix :(

carbide
02-14-2007, 08:15 PM
excellent=installed:)
gr8 hack

derfelix
02-14-2007, 09:14 PM
Ok i looked a little into the multilingual support.. as I was not satisfied with the solution above. I am using the hack https://vborg.vbsupport.ru/showthread.php?t=98904 by JoergZ for translating customfields and i thought that i could use a few lines of code here. (actually it is a code snippet I posted in that thread to adapt his hack)

The basic idea is: You only need the question translated, you can define the answers in different languages.. so you give the answers in all installed languages.

3 steps to make it work multilanguage with phrases.

Step one:
Modify the product xml:
find:
$nospamquestion = $qanda[0];
below add:
// ########### Lang hack ---start ########
$questionphrase = '';
$testforphrase = substr(trim($nospamquestion), 0, 1);
if ($testforphrase == '$')
{
$questionphrase = substr(trim($nospamquestion), 1);
$nospamquestion = $vbphrase[$questionphrase];
}
// ########### Lang hack ---end ########
Now reinstall the product.xml (with overwrite of course)

Step two:
Go to your phrase manager in the ACP and add a new phrase:

Phrase Type: GLOBAL
Product: vBulletin
Varname: nospam_question_01
Text: How much is 2+2

Then insert the translation for all istalled languages (in my case english, german and french)

German: Wieviel ist 2+2
Fran?ais: Combien font 2+2

Now save the phrase.

Repeat for all your questions using the variables:

Varname: nospam_question_02
Varname: nospam_question_03
Varname: nospam_question_04
Varname: nospam_question_05
............. and so on

IMPORTANT!!!: Write down the question number and the question on a piece of paper !!!! (happened to me.. i didnt remember which variable number was which question)

Now comes step three:

go to your nospam settings and define the questions the following way:
(in our example: How much is 2+2)

$nospam_question_01:4:four:vier:quatre

IMPORTANT: in your nospam setting you MUST set a $ sign in front of the varname you used in the phrases
other example: in your phrases you use the varname nospam_question_04 in your nospam settings you use $nospam_question_04

I hope it is clear.

I tested it on 3.64 and it works for me... THANK YOU for the great hack!!

Felix

Forgot to say, that if you dont use the $ in the nospam settings for the question, the question will appear as you entered it. (Like in the original hack)

Hope this helps someone

d1150488
02-14-2007, 09:18 PM
I can't get this to appear at all, i've tried several of the fixes, including the manual template edits. I tried restoring the tempate and product and re-tried, but with no luck :(

I've checked i've got the nospam template, i've got the reference in the reg template. I've got the hooks enabled, i've gone over and over the code, and i'm completely confused as to why it shouldn't work. I've had a good read through this thread, and i just can't find a fix :(

Just an update to that, i manually added the content of the template 'nospam' to the main reg template and all i got were the static elements. No variables were passed. So no question etc. just a box and a border.

The thing will process when submitted suggesting the feild is incorrect. However its not pulling the information through.

Any help would be greatly appreciated. :)

Or if you let me know how the 'nospamnumber' works, i can just statically write the submitting form on the reg page (i think) :lol:

*Edit, i manually set the 'nospamnumber' to 0 and wrote out the question. It now picks out the 2nd or 3rd answer in the admin CP and validates against it. Wich is good enough for me at the moment, but i'd like to understand it more, if anyone can help.

antialiasis
02-14-2007, 09:58 PM
The variable $nospamnumber is basically which NoSpam! question it is so that the hack can determine which answer it should be comparing the input to.

A few forums have had that problem, but it still mystifies me what the heck is wrong there. :/

I guess you could try just putting this block of code right at the start of the plugin on global_start:

$questions = explode("\n", $vbulletin->options['nospam_questions']);
$nospamnumber = array_rand($questions);
$qanda = explode(":",$questions["$nospamnumber"]);
$nospamquestion = $qanda[0];

morrow
02-14-2007, 10:26 PM
This mod is a must have! Thanks for all of your hard work!

chkdgate
02-15-2007, 09:04 AM
What about multiple questions?

Eagle Creek
02-15-2007, 05:14 PM
What about multiple questions?
Possible!
https://vborg.vbsupport.ru/attachment.php?attachmentid=52762&d=1156727175

chkdgate
02-15-2007, 06:36 PM
Possible!
https://vborg.vbsupport.ru/attachment.php?attachmentid=52762&d=1156727175
I already tried this method but it doesn't work for me. Do I separate the questions in any particular way.

antialiasis
02-16-2007, 12:30 AM
You just put one question/answer set on each line, and then it picks one at random. If you were asking if it could actually ask multiple questions at the same time, it would be possible to do but there's absolutely no need for it; you can of course ask a question in two parts just by combining them into one.

CP,
02-16-2007, 12:00 PM
i have a 3.5.4 will this work?

antialiasis
02-16-2007, 04:39 PM
Please click the link in the first post or in my signature for the 3.5 version.

demojames
02-16-2007, 08:15 PM
Awesome! I love this mod! My spam has gone from 3-5 a day to ZERO! NONE! NADA!

a1whs.com
02-17-2007, 07:11 AM
To be frank i do not like it as it requires installation of another mod, can this be just a standalone mod not requiring installation of another 3rd party mod?

Top Nurse
02-17-2007, 09:25 AM
Ok i looked a little into the multilingual support.. as I was not satisfied with the solution above. I am using the hack https://vborg.vbsupport.ru/showthread.php?t=98904 by JoergZ for translating customfields and i thought that i could use a few lines of code here. (actually it is a code snippet I posted in that thread to adapt his hack)

Thanks for the mini-hack :D

I think this may work better than my idea as I was just being lazy. Having the ability to using the vB language system to take care of the translation makes it look a lot more professional.

antialiasis
02-18-2007, 12:13 PM
To be frank i do not like it as it requires installation of another mod, can this be just a standalone mod not requiring installation of another 3rd party mod?
Huh? You're reading something very wrong. You don't need to install anything except the core vBulletin software to use this.

chkdgate
02-18-2007, 11:48 PM
Over the weekend a couple of spam emails went through so I added a couple more random questions. Should be good. MOTM for sure!

clarkstoncracke
02-19-2007, 02:26 AM
Best PLUGIN EVER!

My large website went from 20-30 spammers a day to ZERO!

Thanks again!

If it continues to prevent spam, I may get to turn off new user validation! That would make my life so much better!

AND this took all of 20 seconds to install! Nice installer, great options.

mrgrimes
02-19-2007, 11:17 AM
I have figured out the Form Hack integration; see the newly-added integration.txt file.
Hi. I followed the instructions in integration.txt but on testing the form I got this error: 'Fatal error: Cannot redeclare trim_array() (previously declared in /var/www/citfou_vbulletin/global.php(356) : eval()'d code:43) in /var/www/citfou_vbulletin/includes/functions_newpost.php(360) : eval()'d code on line 13'
Any ideas?

Eagle Creek
02-19-2007, 01:34 PM
Best PLUGIN EVER!

My large website went from 20-30 spammers a day to ZERO!


Thanks again!

If it continues to prevent spam, I may get to turn off new user validation! That would make my life so much better!


AND this took all of 20 seconds to install! Nice installer, great options.

Sweet huh! :up:

derfelix
02-20-2007, 05:33 PM
Thanks for the mini-hack :D

I think this may work better than my idea as I was just being lazy. Having the ability to using the vB language system to take care of the translation makes it look a lot more professional.

well in your case it was ok.. but i installed russian, english and simple chinese so the users wouldn't understand the questions in the different languages and be afraid to answer..

still didn't test it on a live system though

Felix

bjf123
02-21-2007, 01:22 AM
I just added it to my forum. We'll see if the bogus registrations stop. ;)

antialiasis
02-21-2007, 07:41 PM
Hi. I followed the instructions in integration.txt but on testing the form I got this error: 'Fatal error: Cannot redeclare trim_array() (previously declared in /var/www/citfou_vbulletin/global.php(356) : eval()'d code:43) in /var/www/citfou_vbulletin/includes/functions_newpost.php(360) : eval()'d code on line 13'
Any ideas?

Remove this bit from the code you added into the plugin on global_start, and you should be fine:

function trim_array(&$answer)
{
$answer = trim($answer);
}

Top Nurse
02-22-2007, 05:01 AM
I'm going to add that hack to our production forum sometime this weekend as we have a lot of Spanish readers who can test the system for us. Let you know how it flies. :)

well in your case it was ok.. but i installed russian, english and simple chinese so the users wouldn't understand the questions in the different languages and be afraid to answer..

still didn't test it on a live system though

Felix

SPEED1
02-25-2007, 02:42 PM
Awesome!! Installed. Thank you! :)

old_expat
02-28-2007, 02:08 PM
Go to the register template and try manually finding $imagereg and adding $nospamfield above it.
For those new to vBulletin .. where is the "register template" i.e. which directory. I can't find anything except register.php

BACANERIA
02-28-2007, 04:56 PM
thanks but ill be instaling this later

blockbusted
02-28-2007, 09:57 PM
Great hack! Thanks!

*clicks install

antialiasis
02-28-2007, 10:44 PM
For those new to vBulletin .. where is the "register template" i.e. which directory. I can't find anything except register.php

That's the PHP files; most hacks don't require you to edit those. The templates are located in the Admin CP; look under Styles and Templates. The template you should edit is called simply register.

chkdgate
03-02-2007, 05:29 PM
Has anyone tried it with 3.6.5 yet?

phill2003
03-02-2007, 07:27 PM
Has anyone tried it with 3.6.5 yet?

From what I can see not a lot has changed with 3.6.5 so I would be amazed if it did not work...

antialiasis
03-02-2007, 10:54 PM
I don't think any of the hooks used in NoSpam! are actually in files that were changed in 3.6.5, so you should be pretty safe with that. :/

Stilgar
03-02-2007, 11:22 PM
Has anyone tried it with 3.6.5 yet?


Works just fine with v3.6.5

chkdgate
03-03-2007, 06:51 AM
Thank you phill2003.

talenak
03-04-2007, 03:35 AM
This is a good hack, but you can accomplish exactly the same thing using the User Profile Field Manager.

User Profile Field>Add New User Profile Field>

You can require it to be answered, require a certain answer, all the same niftyness.

antialiasis
03-04-2007, 09:59 AM
No, you can't.

1. It will only work on registration - not for guest posts, guest searches or guest Contact Us.
2. It can only be one set question, not a random one out of many like this hack.
3. Although this is the 3.6 version, it is not possible to require a certain answer for a profile field in 3.5. There is a 3.5 version of the hack.

LPH2004
03-05-2007, 11:16 AM
Spammers are still getting through to the forums and posting. In fact, the one this morning was banned, masks changed to deny on all forums, and they were still posting. They registered this morning, so they were getting through somehow. I even changed the questions/answers for future registrations.

Any thoughts on how they are still getting through?

Smoothie
03-05-2007, 01:02 PM
LPH2004,

Live spammers, (aka humans) can still register and post. At least last time I checked. ;) This mod should and does prevent bots from regsitering. It cannot and does not prevent someone with a brain from registering.

SoftWareRevue
03-05-2007, 01:24 PM
Spammers are still getting through to the forums and posting. In fact, the one this morning was banned, masks changed to deny on all forums, and they were still posting. They registered this morning, so they were getting through somehow. I even changed the questions/answers for future registrations.

Any thoughts on how they are still getting through?
Yeah. Like LPH2004 suggests, this hack stops the bots. Humans can still register. ;)

ThePiston
03-07-2007, 09:13 PM
pretty nice add-on... ever think of including a stock or sample bundle of Q/As in the txt file?

ThePiston
03-07-2007, 09:39 PM
can you tell me in very simple terms where I find "form template "? thanks

antiekeradio
03-07-2007, 10:37 PM
Hmm, the beauty of this mod for my board would be that I could ask the questions in Dutch.

this would mean i could use really simple questions, enabling even 'slightly less intelligent' :-) humans to register, while still keeping out the bots and even the human spammers (who don't speak dutch)

still; 2 questions:

- Are there "Phrases" in this plugin so that the title of the question box and the error text can be translated?

- Is it possible to define a {question:answer} set per language?

I am going to install it anyway but consider either a feature request for the future (if not 'yes' already)

PS when reading all the stuff about the problems with CAPTCHA image and all the specific settings etc, I already thought of a custom question system like the one made possible by this. Quite silly vBulletin doesn't want to make this 'out of the box', actually.
totally agree with the MoM award!

Smoothie
03-08-2007, 12:32 AM
pretty nice add-on... ever think of including a stock or sample bundle of Q/As in the txt file?That would defeat the whole purpose of this mod.

antiekeradio
03-08-2007, 08:48 AM
after install it seems that both questions are 'no' atm.

where do i change the title of the question box and the error text???

antiekeradio
03-08-2007, 08:51 AM
ah, i'm very sorry. the search function of the phrases seems to be case-sensitive, even when it is set not be so. Found the phrases!

rungss
03-08-2007, 09:52 AM
ah, i'm very sorry. the search function of the phrases seems to be case-sensitive, even when it is set not be so. Found the phrases!

I came across this plugin just now.

I have one query, is the validation/search function case sensitive or is it customizable.

If it is case sensitive then user might have a tough time figuring out the answer in the right case combination.

Also if the answer is multiple word or a combination of special characters and alphabets, it again can create a problem for the user.

What is required is a system which verifies that the end user is indeed a human with least trouble for the user. and that the user is not prompted again and again unnecessarily to retype the answer or verify them.

Thanks,
Bijay Rungta
Software Architect
http://www.PaGaLGuY.com

Smoothie
03-08-2007, 01:15 PM
The answers, they are not case-sensitive.

antialiasis
03-11-2007, 01:06 AM
antiekeradio, a user posted fairly recently somewhere in this thread with a modification of this hack that allows for questions to be in different languages. However, it is not exactly going to help keeping out spammers any better if the questions are already also in English, is it? And if you want them only in Dutch, you can just put them in in Dutch right from the start.

can you tell me in very simple terms where I find "form template "? thanks
I'm not sure what you're referring to... the first thing I thought of when I saw that was that you had been installing the Forms Hack and are having trouble with that, but then you should ask for support in that hack's own support thread.

rungss, the answers are case insensitive. Whether the answer is multi-worded or such of course depends entirely upon the administrator of the forum; it is therefore up to them to have the sense to select questions whose answers are straightforward enough to make the user have little choice in how to type their answer as long as they do know what it is. If there is any choice at all, the multiple answers can take care of it, such as by allowing the user to answer either "4" or "four" if the answer is the number four. I am fairly certain that all that is possible to do on my end to ensure the convenience of the user has been done.

Top Nurse
03-12-2007, 07:54 PM
I just installed this into our live forum and it works perfectly in 3.6.5! (see here for the hack mod) (https://vborg.vbsupport.ru/showpost.php?p=1182738&postcount=362)

https://vborg.vbsupport.ru/external/2007/03/4.gif

Ok i looked a little into the multilingual support.. as I was not satisfied with the solution above. I am using the hack https://vborg.vbsupport.ru/showthread.php?t=98904 by JoergZ for translating customfields and i thought that i could use a few lines of code here. (actually it is a code snippet I posted in that thread to adapt his hack)

The basic idea is: You only need the question translated, you can define the answers in different languages.. so you give the answers in all installed languages.

3 steps to make it work multilanguage with phrases.

Top Nurse
03-12-2007, 08:01 PM
See this post (https://vborg.vbsupport.ru/showpost.php?p=1182738&postcount=362).



- Are there "Phrases" in this plugin so that the title of the question box and the error text can be translated?

antialiasis
03-13-2007, 12:01 AM
That's the questions themselves, not the title of the question box and the error text, however.

I think I named those phrases "nospam_question" and "nospam_wrong_answer", but my memory may be failing me.

SaN-DeeP
03-18-2007, 12:58 AM
Why does numerical "2" always appears in text box for me ?

SaN-DeeP
03-18-2007, 01:03 AM
anways, reinstalled with "overwrite" and now fixed.

Rich
03-18-2007, 04:43 PM
This doesn't work in Opera browsers.

I just tested this on several different browsers. Each of these browsers are the newest they have out:

IE - Works

Mozilla - Works

Netscape - Works

Flock - Works

Slim Browser - Works

Opera - Does NOT Work

Smoothie
03-18-2007, 04:54 PM
works with Opera for me.

PoetJA-1975
03-19-2007, 01:42 AM
This doesn't work in Opera browsers.

I just tested this on several different browsers. Each of these browsers are the newest they have out:

IE - Works

Mozilla - Works

Netscape - Works

Flock - Works

Slim Browser - Works

Opera - Does NOT Work

I've been using Opera for almost 2 years now-
NoSpam works perfectly for my opera - You may wanna make sure you have the newest version installed - I think it's 9.10 ;)

Jacquii.

Rich
03-19-2007, 04:01 PM
Version 9.10
Build 8679
Platform Win32
System Windows NT 6.0

I will redownload it and see if perhaps something was amuck. I already checked to see if I had the latest updates, and I do. (I used the "Help" at the top of the browser to check.)

I am not certain why it won't display for me unless it has to do with my OS. I am using Windows Vista.

captainron19
03-19-2007, 06:43 PM
Does this work with Version 3.6.5?

aramik
03-21-2007, 11:50 AM
ive installed it and all, but it appears it doesn't stop the spam bots too be honest :(

antialiasis
03-23-2007, 02:53 PM
This doesn't work in Opera browsers.

I just tested this on several different browsers. Each of these browsers are the newest they have out:

IE - Works

Mozilla - Works

Netscape - Works

Flock - Works

Slim Browser - Works

Opera - Does NOT Work
That quite simply does not make sense; all the code it uses is server-side (meaning the browser will never even know it existed) and then basic HTML which all browsers support. Exactly how is it "not working", anyway? Does the question not appear or what?

Does this work with Version 3.6.5?
I believe somebody posted earlier in the thread that it works fine with 3.6.5; I would be very surprised if it did not, either way, considering I don't believe any of the files that this hack contains plugins in were changed at all.

ive installed it and all, but it appears it doesn't stop the spam bots too be honest :(
There are three possible explanations for this.
a) Your questions aren't good enough. What questions are you using?
b) The spammers at your forum are legitimate human beings or had legitimate human beings register for them, in which case I'm afraid there is no stopping them. Is there anything making you believe they are definitely bots?
c) You forgot to turn it on in the Admin CP. :P

As I have said, this hack is theoretically impossible for a computer at even the most advanced level of AI known in the world today to bypass, as long as the administrator makes up varied enough questions. Thus, if it doesn't stop spam at your forums, nothing will. :/

Smoothie
03-24-2007, 01:33 AM
Does this work with Version 3.6.5?Does a bear crap in the woods?

aramik
03-24-2007, 02:52 PM
Hmm, it's on. Well the types of usernames they register with and the certain sections they post in make me believe they are too stupid to be human. It could be my questions, ill add more complex ones.

derfelix
03-24-2007, 07:32 PM
I just installed this into our live forum and it works perfectly in 3.6.5! (see here for the hack mod) (https://vborg.vbsupport.ru/showpost.php?p=1182738&postcount=362)

https://vborg.vbsupport.ru/external/2007/03/4.gif


Happy to read its working.. but.. its also a draw back..
if you have for example 3 languages installed, you also have to accept at least 3 answers for every question. .. that makes it a little easier for bots as some may consider it as a password and use brute force.... . :confused:

btw a question.. as the difficulty of the questions often comes up.

isnt it rather the length of the answer? because in my understanding, either someone understands the question or doesnt.. if he doesnt then the difficulty doesnt matter.

but if he does he can answer any question.. or am I wrong??
thats why i meant.. the length of the answer might rather be important.. rather than the difficulty... (a program will take longer to find a fitting word with 8 letters than a three letter word)

Felix

antialiasis
03-24-2007, 11:52 PM
Well, the thing is that no computer is going to be programmed to sit there cycling through possible answers to NoSpam! questions, especially if the questions change randomly. It makes much more economical sense to just make it give up and go to a forum that doesn't have NoSpam! installed. Remember that to prevent a thief from breaking in, you only need your house to be a bit more secure than your neighbour's. ;)

wwhiker
03-25-2007, 12:43 AM
This is awesome! Thank you so much. :up:

Rich
03-25-2007, 01:10 AM
Hello,

Yes, the issue was that it just wasn't appearing in Opera at all. It displayed fine in every other browser, but for some reason, it didn't display in Opera. I went ahead and redownloaded Opera and it started working. I had even emptied the cache and temp files to see if it was just a quirk. Who knows, but it displays in Opera now and that is all I was concerned about.

odie3
03-25-2007, 07:48 PM
Very nice - this is great! I added like 10 questions!

Thank You!

BTW, it would be nice to have a link to refresh the question like the image has... ;)

toytaco99
03-27-2007, 03:01 AM
Just wanted to post up a thanks to the developer of this plugin. It has worked WONDERS for our forum. We used to get between 3 and 4 new Spam registrations each day and in the past week since I installed it, we have had NONE. Excellent job. :up:

blinking8s
03-27-2007, 06:40 AM
Ok...I've been pounding my head against the wall.

We recently upgraded to 3.6.5 and for months have been plagued with spam, it's worse than ever now.

So I downloaded the NoSpam! 3.0, uploaded the xml, and now I'm lost.

Everything is present in the admin, but I can't seem to get it to display.

The install instructions don't seem to tell me a lot, they end with a nice THATS IT! and you would think things would work.

Which template files do I need to edit? The implimentation file discribes it's use with the quick register hack at the top. That confused me, because I don't have that.

I don't see any option to select the pages it appears on. Just if I want it on a specific 4 pages which looks to be present in the previous versions changelog.

Do I need captcha enabled?

I apologize for my retardation. It's frustrating cause so many users have given praise on ease of installation and how good a job this has done. But the instructions and troubleshooting are just not clear to me.

antialiasis
03-27-2007, 10:06 PM
There should be a file in the NoSpam! zip you got called troubleshooting.txt. This describes the template edits you need to make to make NoSpam! appear on each of the supported pages if it does not work immediately upon installation. Follow the instructions for those pages you have enabled where it is not working. The integration file is about integrating NoSpam! with other hacks and is not relevant to your case if you don't need it integrated with other hacks.

Those four options are the pages you can select for it to appear on, as they are the only places in the forum at which I could picture NoSpam! as being remotely useful. The change since version 2.0 is that now you can choose to disable it for one or more of those pages, while previously it would always appear on all of them. Make sure you at least have it set to be enabled at registration, and perhaps the others if you would like that; now follow the instructions for template edits in the troubleshooting.txt file you downloaded for each page you enabled where it is not appearing. For example, if you enabled it at registration but not at the Contact Us page, you should follow the instructions under REGISTRATION, but not those under CONTACT US.

jketron
03-28-2007, 03:27 AM
I am running 3.6.5 vbulletin and your latest version of NoSpam and I had it working fine, for reasons unknown I no longer get the prompt during new user registration to enter the text for Nospam verification. I have the little image thing that the users have to type but the field and question are missing. I have it enabled in the admincp and the new user registration fails with the notice that I didn't answer the NoSpam question...I never got the chance

www.completerc.com

blinking8s
03-28-2007, 09:16 AM
I went through the troubleshooting and triple checked that everything is in place, nospam is enabled and everything appears to function fine within the admin

but...it does not display in registration or any of the other pages.

*edit*

i uninstalled the addon, then reinstalled it, and it had DOUBLE NoSPAM in the templates, so I had to goback and remove the troubleshooting stuff I had added...haha

oh well, it appears to be working now, I am very excited...

antiekeradio
03-28-2007, 08:24 PM
first month of use allmost over:

0 spambot registrations.

*knocks wood with a BIG smile.

antialiasis
03-28-2007, 10:23 PM
I am running 3.6.5 vbulletin and your latest version of NoSpam and I had it working fine, for reasons unknown I no longer get the prompt during new user registration to enter the text for Nospam verification. I have the little image thing that the users have to type but the field and question are missing. I have it enabled in the admincp and the new user registration fails with the notice that I didn't answer the NoSpam question...I never got the chance

www.completerc.com

View the troubleshooting.txt file you should have downloaded with the hack and make the template edit listed for registration.

Damien001
03-29-2007, 07:53 AM
i have install no spam but it seem that some bots are getting by

also have the proxing checker running could that be interfering?

putergirl
04-03-2007, 12:26 AM
After another annoying spam registration today I installed your program and it worked right out of the box! Thank you so much. :)

TMM
04-04-2007, 07:47 AM
Hi,

This looks like a great mod - 2 questions:

Any chance this will work with 2.2.9....?
Can it be set up so that it only applies for guest postings?


Thanks,

TMM

haynesforum
04-04-2007, 09:18 AM
I've installed NoSpam!, added the question and answer, selected for it to appear on the reg and contact pages and added $nospamfield above $imagereg in their templates but no questions are displayed.

Help!

We have vBulletin 3.6.4 and NoSpam3.0, PHP 5.5.

Luky
04-04-2007, 09:28 AM
Upgrade to 3.6.5 :) Its safer.

Ncturnal
04-04-2007, 12:32 PM
Hi,

This looks like a great mod - 2 questions:

Any chance this will work with 2.2.9....?
Can it be set up so that it only applies for guest postings?


Thanks,

TMM

Version 2.2.9??? :down: Jeebus, uprgrade already. Posting open to Guests? Seriously, I'm speechless. I think you should seriously re-evaluate how you run a forum.

antialiasis
04-04-2007, 01:15 PM
Hi,

This looks like a great mod - 2 questions:

Any chance this will work with 2.2.9....?
Can it be set up so that it only applies for guest postings?


Thanks,

TMM
It can apply only for guest posting just fine, but I'm afraid that to my knowledge the vBulletin software has been pretty much entirely rewritten since 2.2.9 and I have absolutely no experience with pre-3.5 vBulletin. This isn't such a complicated hack and probably wouldn't take too long to specialize to 2.2.9 for you if you desperately needed it, but that would need me to dig into outdated code that just about nobody is using. If you are using CAPTCHA and yet your forum is being filled with spambots, I might look into it as a favor, but don't count on it. It would be a much better idea to upgrade your forum if at all possible.

I've installed NoSpam!, added the question and answer, selected for it to appear on the reg and contact pages and added $nospamfield above $imagereg in their templates but no questions are displayed.

Help!

We have vBulletin 3.6.4 and NoSpam3.0, PHP 5.5.
Hmm.

If you trust me, I could probably figure it out if you gave me admin access to your forum for a little while, but of course it is perfectly understandable if you aren't too fond of the idea. If you try to register, do you get an error message about having answered the question incorrectly or not?

haynesforum
04-05-2007, 09:34 AM
Thanks for getting back to me. I'd like to try and sort this without assigning admin priveleges in the first instance.

The pages display and function as if No Spam! were not enabled.

antialiasis
04-05-2007, 12:55 PM
Hmm.

First off, although this is kind of obvious, are you certain that the plugin system is enabled and all the NoSpam! plugins are active?

z0diac
04-07-2007, 11:32 AM
AWESOME. Just installed it and tested it.

I have *NO IDEA* why scripts, web sites, forums, etc, etc.. .have EVER used "image verification" stuff. It's hard for humans to even read, and chances are the spam bots can read them better and continue on to whatever it is as a fake user...

It's SO EASY to just have a simple question + answer combination - why hasn't this been used since the beginning of new user verifications instead of image identification???? (I'm not asking you of course - I'm just frustrated the image identification system was EVER INVENTED)

Thanks a bunch for this hack!!! I've been receiving 2-3 spam posters a day for the those damn "pharmacy" messages. Hopefully this will clear up the problem!

aslan
04-07-2007, 11:50 AM
Installed and test it. Great hack.
Thanx

Resell
04-09-2007, 08:50 AM
Hi,

I imported the product and got this error during import :

Database error in vBulletin 3.5.3:

Invalid SQL:

### INSERT QUERY GENERATED BY fetch_query_sql() ###
INSERT INTO plugin
(`active`, `executionorder`, `title`, `hookname`, `phpcode`, `product`)
VALUES
('1', '5', 'Cache the NoSpam! template', 'cache_templates', 'if ($vbulletin->options[\'nospam_onoff\'])\r\n{\r\n switch (THIS_SCRIPT) {\r\n case \'register\':\r\n if ($vbulletin->options[\'nospam_use_reg\']) {\r\n $globaltemplates[] = \'nospam\';\r\n }\r\n break;\r\n case \'search\':\r\n if ($vbulletin->options[\'nospam_use_search\']) {\r\n $globaltemplates[] = \'nospam\';\r\n }\r\n break;\r\n case \'newreply\':\r\n case \'newthread\':\r\n if ($vbulletin->options[\'nospam_use_post\']) {\r\n $globaltemplates[] = \'nospam\';\r\n }\r\n break;\r\n case \'sendmessage\':\r\n if ($vbulletin->options[\'nospam_use_contactus\']) {\r\n $actiontemplates[\'contactus\'][] = \'nospam\';\r\n }\r\n break;\r\n }\r\n}', 'nospam');

MySQL Error : Unknown column 'executionorder' in 'field list'
Error Number : 1054
Date : Monday, April 9th 2007 @ 05:50:57 AM
Script : http://www.singapore-christian-network.com/admincp/plugin.php
Referrer : http://www.singapore-christian-network.com/admincp/plugin.php?do=productadd
IP Address : 165.21.154.15
Username : admin
Classname : vb_database

Can u advise how to resolve?

schanulleke
04-09-2007, 03:19 PM
Maybe it helps to install the hack that is meant for 3.5.x (https://vborg.vbsupport.ru/showthread.php?t=133937).

LinkBliss_com
04-10-2007, 10:29 PM
OK I have it installed. Please double-check my math --

1 + 2 equals...:3:three
2 + 1 equals...:3:three
1 + 3 equals...:4:four
3 + 1 equals...:4:four

Eric

adwade
04-10-2007, 11:19 PM
OK I have it installed. Please double-check my math --

1 + 2 equals...:3:three
2 + 1 equals...:3:three
1 + 3 equals...:4:four
3 + 1 equals...:4:four

Eric

Don't laugh, one other possibility is Roman Numerals. :rolleyes: Everytime I think I've covered all the bases, some new user complains about some weird (but other correct) answer it should have accepted. :p

haynesforum
04-11-2007, 07:29 AM
Hmm.

First off, although this is kind of obvious, are you certain that the plugin system is enabled and all the NoSpam! plugins are active?

I used the plugin manager to install NoSPam! and the following NoSPam! plug-ins were (and still are) activated:

Cache the NoSpam! template; cache_templates.
Check if NoSpam! question has been answered correctly; newpost_process; register_addmember_process; search_process_start; sendmessage_docontactus_process.
Generate and insert NoSpam! question; global_start.

Sean James
04-15-2007, 02:32 AM
Just a small question, if i install this mod on my forum and then download a style used on my forum (which i release here for free) will there be any template changes made to the style?

Or will i need to revert the template before downloading them?

antialiasis
04-15-2007, 04:40 PM
I used the plugin manager to install NoSPam! and the following NoSPam! plug-ins were (and still are) activated:

Cache the NoSpam! template; cache_templates.
Check if NoSpam! question has been answered correctly; newpost_process; register_addmember_process; search_process_start; sendmessage_docontactus_process.
Generate and insert NoSpam! question; global_start.

Are any other plugins working? Do you have a line that says define('DISABLE_HOOKS', true); or something similar in your config.php file?

You may need to make a template edit to the style, depending on whether the style has changed the strings that the hack searches for in the templates to include the NoSpam! template. Just test it on the style, and if it doesn't work, make the template edit described in the troubleshooting.txt file.

haynesforum
04-16-2007, 07:16 AM
There's no line similar to that in the config.php file.

I've added $nospamfield above $imagereg in the reg and contact page templates, as suggested in the troubleshooting doc.

Gil427
04-17-2007, 11:22 AM
Here are some more questions:

What is 2 plus 3?:5:five
Please type "le m on s" without any spaces below.:lemons
Please type "c and y" without any spaces below.:candy
Please type "cho c ola t e" without any spaces below.:chocolate
What is 5 plus 4?:nine:9
Please type "ga m e s" without any spaces below.:games
Please type "m usi c" without any spaces below.:music
Please type "r em o te" without any spaces below.:remote
Please type "s p am" without any spaces below.:spam

antialiasis
04-17-2007, 03:40 PM
There's no line similar to that in the config.php file.

I've added $nospamfield above $imagereg in the reg and contact page templates, as suggested in the troubleshooting doc.

Those won't do anything if the plugins aren't running, which they clearly aren't if information submitted through the forms is getting through just fine even without a NoSpam! input. You did definitely define your questions correctly and everything, I hope?

rolfw1
04-18-2007, 07:05 PM
Thanks, installed and working fine. :)

mattyk72
04-19-2007, 12:36 PM
nice, clicks install

haynesforum
04-20-2007, 08:42 AM
I've found the problem! At the top of the Plugin Settings page there's the setting "If you would like to disable the NoSpam! system, please select No here."

It's set to 'No' by default. I've set it to 'Yes' and it all works. Mind you the question appears twice but I guess that's something in the template code!

I would suggest that the option question is simplified to make it clearer:

Disable the NoSpam! system? Yes (Disable) No (Active)

iHogwarts.com
04-21-2007, 03:13 AM
This is very useful, and I can see where it will come in handy. Glad I installed this before it becomes a problem.

/me click's install.

Jamie1
04-21-2007, 01:41 PM
Just what i've been looking for

/Jamie1 installs

MarcG
04-21-2007, 01:43 PM
Installed and Thank You!

schanulleke
04-22-2007, 05:28 PM
I still have version 2.0 installed and would like to upgrade to 3.0.
Do I need to uninstall the old version before installing the newer one? Or can I install 3.0 without uninstalling 2.0?

Stifmeister2
04-23-2007, 06:30 PM
I still have version 2.0 installed and would like to upgrade to 3.0.
Do I need to uninstall the old version before installing the newer one? Or can I install 3.0 without uninstalling 2.0?
Yes you can. But remember to allow overwrite when you import the 3.0 version from ACP. :)

schanulleke
04-23-2007, 08:38 PM
Thanks!

OCSupertones
04-25-2007, 01:20 AM
Going to give it a go right now...we're getting tons of spam at AfterHim.com

Thanks!

mikewiemholt
04-25-2007, 03:26 AM
Much thanks for this mod - love it. Absolutely love it.

RDX1
04-25-2007, 07:19 AM
Installed, nice to see you have integration for my hack. Just an FYI. I'll be updating it so it works with 3.6, you may need to look over the integration code.

MissKalunji
04-27-2007, 10:04 PM
the images are not working for me i get a broken image with a bunch of %%%% to it

DementedMindz
04-28-2007, 06:51 PM
what images there are none?

derfelix
04-29-2007, 10:35 AM
that just gave me an idea...
wouldn't it be even more difficult for a (future) bot if the text of the question was written in a image?

the bot thinks its a normal image.. and... writes the question text instead of the answer..

so we know its a bot and not a stupid user.. and he can be automatically banned without risking to ban a normal user..

example:
question: HoW much i s two and 2?
written in verdana font on a transparent gif. A user will think it is normal text..
A bot will think its a captcha image... and will enter the text as written in the image ..
so if he writes it exactly (with spelling errors, typos and strange capitalization,
but not respecting the spaces in the sentence)

.. we know its a bot.. (even a "not so bright" user will at least add one space in the sentence)


Felix

PoetJA-1975
04-29-2007, 11:05 PM
that just gave me an idea...
wouldn't it be even more difficult for a (future) bot if the text of the question was written in a image?

the bot thinks its a normal image.. and... writes the question text instead of the answer..

so we know its a bot and not a stupid user.. and he can be automatically banned without risking to ban a normal user..

example:
question: HoW much i s two and 2?
written in verdana font on a transparent gif. A user will think it is normal text..
A bot will think its a captcha image... and will enter the text as written in the image ..
so if he writes it exactly (with spelling errors, typos and strange capitalization,
but not respecting the spaces in the sentence)

.. we know its a bot.. (even a "not so bright" user will at least add one space in the sentence)


Felix

Wow! Sounds like an AWESOME idea - I wonder how difficult it would be to implement though? Anyway - perhaps in the next "update"

Jacquii.

jam583
04-29-2007, 11:32 PM
Great add-on! I was getting hit by tons of spambots and this killed them all.

tom557766
04-30-2007, 07:20 PM
How do I install this plugin. I can't seem to find the "product manager" under the Admin CP.

Is it the plugin manager that the instruction is referring to? If that is the case, what do I select for the following:

Hook Location?
Title (Does it matter what title I put?)
Plugin PHP Code ( Where do I get this code?

MissKalunji
04-30-2007, 08:03 PM
what images there are none?

Or you can go with inserting a simple image with HTML and ask what is shown on the image.

That image that im talking about i've added the html even tried bbcode and nothing comes up but a broken image

DementedMindz
04-30-2007, 08:11 PM
not sure I just use it regular with the 2 + 2 deal this way I know it works everytime and does what its suppose to do. maybe ill test it with images to see how it works but in that case I would use the other spam mod that has the images already.

MissKalunji
04-30-2007, 09:31 PM
not sure I just use it regular with the 2 + 2 deal this way I know it works everytime and does what its suppose to do. maybe ill test it with images to see how it works but in that case I would use the other spam mod that has the images already.

wich?

DementedMindz
04-30-2007, 10:10 PM
ill have to find the link there way one that had 3 images and the user had to pick which one was like a dog or cat and the images were random.

MissKalunji
05-01-2007, 12:41 AM
i got it its cool

mr sprocket
05-01-2007, 01:07 AM
I upgraded just so I could use this one.

Tom Shelly
05-02-2007, 10:03 PM
I would love to use this but when I try to import, after I enter my customer number, I get this:

Connection to source server failed. Check username and password

Can anyone help me?

EDIT:

Ok never mind. I found that I was trying to import it when I should have been doing it through the Product Manager.

Reece^B
05-03-2007, 07:38 AM
Question:

Should captcha still be running? Mine is and I deem it pointless having two anti bot things.

So does anyone disable the captcha and just use this?

ruger
05-03-2007, 08:31 AM
I use both and no biggy for my registrations.

mrgrimes
05-03-2007, 03:40 PM
I'm having huge problems with this. For some reason, with NoSpam installed, there was no verification option at all showing in the registration form, and users couldn't send the form because they got an error telling them that they hadn't completed the image verification [sic].

I made sure all references to image verification were turned off. No result. I switched image verification back on and disabled NoSpam. Still nothing. In desparation I uninstalled NoSpam, but still there is no verification showing in the registration form.

I've tried reading through the forum, as well as the docs, but nothing seems to match the problems I'm facing (the instructions in troubleshooting.txt, for example, seem to bear no resemblance to the contents of my register.php - or is this not the right file?)

Sorry if I'm being incredibly dumb but I'm absolutely desperate, as noone can register and we have a big project just starting that requires use of a forum.

Many many thanks,

Michael

Phillip Chapman
05-04-2007, 04:53 AM
We've been running this hack on our 3.6.1 board for the past six weeks and love it. It's taken care of 95% of our Spam problems and has been fantastic. However, this week we needed to begin moderating new user posts. We changed the permissions in vBulletin and set up a "promotion" system.

We thought everything was working properly. However, it turns out that new threads by new members are going to the "moderate posts" queue but replies from new members on existing posts are not going to the moderation queue. After the process of elimination, the problem appears to be with this hack. When we disable this hack, both new member threads and replies are going properly to the moderation queue.

Does anyone know a way around this issue or anything we can do to fix this? We love "No Spam" and hate to give it up. Others have possibly run into this same problem and can maybe suggest ways we can make it work.

jimlay
05-06-2007, 02:18 PM
What a great tool and easy to use. I was really getting frustrated by some of the new tactics to get by what I had put in place to stop SPAM registrations and contact emails. (hundreds per day). This mod completely (and I mean completely) eliminated that problem.

Thanks for sharing such a great tool!

Jim

Zachery
05-06-2007, 07:01 PM
Proper ImageVerification is still 99% effective without this modification, but I'm glad to see its getting use :)

Stifmeister2
05-06-2007, 08:57 PM
Proper ImageVerification is still 99% effective without this modification, but I'm glad to see its getting use :)
When we upgraded to 3.6.4 months ago we were getting many bots before we installed this mod...

sola
05-08-2007, 12:25 AM
Proper ImageVerification is still 99% effective without this modification, but I'm glad to see its getting use :)Beg to strongly disagree with you. I know what my 3.6.5 Spam situation was before I installed this.

phill2003
05-08-2007, 07:28 AM
Proper ImageVerification is still 99% effective without this modification, but I'm glad to see its getting use :)


LOL, Why do I smell the company line with that statement :) nothing wrong with that but I will be surprised if the company are not actively looking at this mod for inclusion into the core code.

Lissa
05-08-2007, 11:21 AM
Proper ImageVerification is still 99% effective without this modification, but I'm glad to see its getting use :)

Before I installed this hack I was getting bombarded by bots.

sola
05-08-2007, 11:57 AM
It is a brilliant addition. Just brilliant. The fact that you can personalise it to your peculiar target audience makes it impossible for bots to crack it, unless it is coded for your board specifically...And that makes no sense of course. I own 4 VB licenses and this thing is saving me hours fighting spam daily. They'd better consider buying it and adding it to the core code.

Great work buddy.

DementedMindz
05-08-2007, 06:20 PM
Proper ImageVerification is still 99% effective without this modification, but I'm glad to see its getting use :)

this is alot easier then Image Verification... sometimes its hard to read the letters on Image Verification thats why I chose this over Image Verification.

Stifmeister2
05-08-2007, 07:10 PM
My Nospam! has been workng fine until today.. :S But somehow as of today, neither the Nospam! question nor the space to answer appear on the registration site... But when you try to register it displays error that you have answered the question wrong.

I have no idea what caused this, I haven't installed any new stuff lately...

Tried unistalling & reinstalling but it didn't help...

scott_see
05-09-2007, 03:19 AM
I am amazed how easy this was to install and configure.

Thank you. Thank you. Thank you. Thank you. Thank you. Thank you.


Scott See
www.sideline-business-tax-breaks.com
www.hammock.net

tiredoff
05-09-2007, 04:00 AM
What Nospam you are using?: antialiasis Nospam :)
thank you .

mrgrimes
05-09-2007, 07:18 AM
My Nospam! has been workng fine until today.. :S But somehow as of today, neither the Nospam! question nor the space to answer appear on the registration site... But when you try to register it displays error that you have answered the question wrong.


I have no idea what caused this, I haven't installed any new stuff lately...


Tried unistalling & reinstalling but it didn't help...

I have exactly the same problem, but now image verification won't work either.

GoNz00
05-09-2007, 12:46 PM
thanks installed :D

Stifmeister2
05-09-2007, 07:41 PM
I have exactly the same problem, but now image verification won't work either.
My image verification works but now that I had to disable NoSpam yesterday night we already have 5 registered bots... I need to fix this asap!

Stifmeister2
05-09-2007, 08:46 PM
Here's a screenshot... I even tried to edit those templates like it says in the troubleshooting but Nospam still won't appear...:o I'm clueless..:confused:

jimlay
05-09-2007, 09:51 PM
Proper ImageVerification is still 99% effective without this modification, but I'm glad to see its getting use :)

Zachery,

I have been using the image verification and it had worked for some time (1 year), but within the last 2-3 months, some hack figured out a way to get around that and I was getting a large number of contact us emails and registrations even with the image verification turned on. I'm not sure how they were doing it but the registration bot appears to be attempting to fill out all of the board-specific fields.

I just added questions that are specific tech knowledge to site users and it completely eliminated the issue.

I was receiving several hundred SPAM type contact us and registration attempts even while using the image verification. Maybe I was doing something else wrong, but this seems to have completely corrected the problem.

Jim

Crazy Serb
05-10-2007, 04:21 AM
just a note...

A MAJOR NOTE...

This mod doesn't work well with vbEvent Forums... it actually messes up that mod like there's no tomorrow - it starts overwriting the old calendar events when you try to submit a new one... it's just ridiculous.