vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Anti-Spam Options - Spambot Stopper - Prevent Spambots from Registering (https://vborg.vbsupport.ru/showthread.php?t=294633)

Max Taxable 06-25-2014 11:15 AM

I have good luck just using the native human verification for that action.

Plus, the Mods in addition to this one, which are recommended at the link in my signature, help as well.

helmer.co 06-26-2014 04:17 AM

Quote:

Originally Posted by kh99 (Post 2501900)
That may be the same problem a few other people were having. I'll try to find time to look at it.

Have you had time to look at this yet kh99?

Thanks,


John


http://www.helmer.co

kh99 06-27-2014 01:51 PM

Quote:

Originally Posted by helmer.co (Post 2503805)
Have you had time to look at this yet kh99?

Thanks,


John


http://www.helmer.co

Sorry, I haven't. I'll try again this weekend.

iamjubee 06-27-2014 11:52 PM

Thank you for this! Works perfectly for 4.2.2

Bluemax712 06-30-2014 12:14 AM

Quote:

Originally Posted by kh99 (Post 2503583)
That's an interesting idea. I suppose there's no reason not to apply the same idea to that form. But of course it would only work if it's being submitted by a bot.

https://vborg.vbsupport.ru/external/2014/06/1.jpg

Grouper 07-09-2014 11:46 PM

I have my minimum value set at 10 with max set at 0. I also have the force user to wait until minimum time enabled, then have the redirect to registration page with error message. I was going through my glow-host spam logs and noticed the same users hitting the page 5+ times so I went to do a test registration and noticed that even after the timer stopped and the registration button enabled it is always returning the user to the registration page with the error message specified in the settings.

I AM using FunCaptcha but that shouldn't have any issues i wouldn't think.

ForceHSS 07-09-2014 11:50 PM

check error logs for full error

Grouper 07-10-2014 02:56 PM

I don't have anything in my vb php error logs

ForceHSS 07-10-2014 05:24 PM

check the tec email your have in the config error should go there

kh99 07-10-2014 06:51 PM

Quote:

Originally Posted by Grouper (Post 2506171)
I have my minimum value set at 10 with max set at 0. I also have the force user to wait until minimum time enabled, then have the redirect to registration page with error message. I was going through my glow-host spam logs and noticed the same users hitting the page 5+ times so I went to do a test registration and noticed that even after the timer stopped and the registration button enabled it is always returning the user to the registration page with the error message specified in the settings.

I AM using FunCaptcha but that shouldn't have any issues i wouldn't think.

I'm sorry that it's not working for you. All I can tell you right now is to disable it (which you probably figured out already). Others have reported that it doesn't work when Captcha is enabled, so maybe you're having a similar problem. If I get a chance to look in to that issue I'll post an update.

infnity8x3 07-10-2014 11:17 PM

Works as intended. Caught about 5 within the hour.

I use Captcha with this mod because I know the only thing Captcha slows down is people. Bots fly past it in seconds, literally.

Thanks for this :)

Max Taxable 07-10-2014 11:34 PM

Quote:

Originally Posted by infnity8x3 (Post 2506305)
Works as intended. Caught about 5 within the hour.

I use Captcha with this mod because I know the only thing Captcha slows down is people.
Bots fly past it in seconds, literally.

Thanks for this :)

It also, annoys them. But that's for another thread.:D

ozzy47 07-11-2014 12:04 AM

I would have to agree, captcha's are a thing of the past, and only annoy potential members. I don't use them, or questions and have no spam.

Chadi 08-01-2014 07:18 PM

I noticed that this conflicts in mobile skin. Even though my minimum seconds is set to 15, no matter how long I wait I still get the error "are you a spam bot" message, only in mobile registration process. Any fix?

kh99 08-01-2014 07:24 PM

Hmm...I'm afraid I don't know anything about the mobile stuff. Is it just a different style? Then I suppose the problem is that it's not inserting the right codes in the template. There's probably a way around that (like having an option to insert what's needed manually), but I haven't looked at this is a long time so I can't remember right now. I'll try to look at it soon (but I should warn you that I keep telling people that and I never manage to get any vb stuff done).

kh99 08-01-2014 08:32 PM

OK, I got curious and looked at it a little. It works by adding the extra form values to the $timezoneoptions variable, so as long as you have that in your style it should be OK.

But I was only guessing that that was the problem, it could be something else.

Edit: OK, Chadi, I looked at your site and I see that the mobile style doesn't have the option to select the timezone, so I guess that's the problem. RIght now it doesn't look like there's any way to add it manually because I'd have to register the variables to your template. But I can add an option to do that (and maybe it will solve some other people's problems as well).

Chadi 08-01-2014 09:02 PM

Quote:

Originally Posted by kh99 (Post 2509347)
OK, I got curious and looked at it a little. It works by adding the extra form values to the $timezoneoptions variable, so as long as you have that in your style it should be OK.

But I was only guessing that that was the problem, it could be something else.

Edit: OK, Chadi, I looked at your site and I see that the mobile style doesn't have the option to select the timezone, so I guess that's the problem. RIght now it doesn't look like there's any way to add it manually because I'd have to register the variables to your template. But I can add an option to do that (and maybe it will solve some other people's problems as well).

Please check again. It does (I restored original template). I only removed a few lines before to test it out to see if it would work. However, it doesn't even with that variable. So, what would I do from here to fix this?

Current mobile register template

Code:

{vb:stylevar htmldoctype}
<html xmlns="http://www.w3.org/1999/xhtml"<vb:if condition="$vboptions['enablefacebookconnect']"> xmlns:fb="http://www.facebook.com/2008/fbml"</vb:if> dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}" id="vbulletin_html">
<head>
    {vb:raw headinclude}
    <title>{vb:raw vboptions.bbtitle}</title>
    {vb:raw headinclude_bottom}
</head>
<body>

{vb:raw header}

{vb:raw navbar}

<div id="pagetitle" class="pagetitle ui-bar-b">
    <h1 class="pagetitle">{vb:rawphrase vbulletin_registration}</h1>
    <vb:if condition="$vboptions['usecoppa']"><p class="description">{vb:rawphrase step_2_of_2}</p></vb:if>
</div>

<vb:if condition="$vboptions['enablefacebookconnect']">
<form id="facebookassociateform" method="post" action="login.php?do=login" data-ajax="false">   
    <input type="hidden" name="do" value="login" />
    <input type="hidden" name="s" value="{vb:raw session.sessionhash}" />
    <input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
    <input type="hidden" name="url" value="register.php" />
    <input type="hidden" id="vb_login_username" name="vb_login_username" />
    <input type="hidden" id="vb_login_password" name="vb_login_password" />
    <input type="hidden" name="cookieuser" id="cb_cookieuser" value="1" />
</form>
</vb:if>

<div data-role="content">
    <form id="registerform" action="register.php?do=addmember" name="register" method="post" class="vbform block" data-ajax="false">
        <h3>{vb:rawphrase register_at_x, {vb:raw vboptions.bbtitle}}</h3>
       
        <vb:if condition="$show['errors']">
            <h4 class="ui-bar ui-bar-e">{vb:rawphrase errors_occurred_during_registration}</h4>
            <div class="ui-body ui-body-e">
                <ul class="blockrow">
                    {vb:raw errorlist}
                </ul>
            </div>
        </vb:if>
   
        <vb:if condition="$show['coppa']">
            <p>{vb:rawphrase until_receive_signed_form}</p>
        </vb:if>
       
        <vb:if condition="$vboptions['enablefacebookconnect']">
            <h3 class="ui-bar ui-bar-d">{vb:rawphrase facebook_connect}</h3>
            <div id="fbregbox" class="fbregbox ui-br">
                <vb:if condition="$show['facebookuser']">
                    <img src="{vb:raw fbprofilepicurl}" title="{vb:var fbname}" alt="{vb:var fbname}" />
                    <a id="fb_reglogoutbtn" href="#"><img src="/images/mobile/facebook-mobile.png" alt="{vb:rawphrase logout_of_facebook}" width="244" /></a>
                    <br />
                    {vb:rawphrase welcome_x_link_y, {vb:var fbname}, {vb:raw fbprofileurl}}
                <vb:else />
                    <a id="fb_regloginbtn" href="#"><img src="/images/mobile/facebook-mobile.png" alt="{vb:rawphrase facebook_connect}" width="244" /></a>
                </vb:if>
            </div>
           
            <vb:if condition="$show['facebookuser']">
            <h4>{vb:rawphrase already_a_member}</h4>
            <p class="description">{vb:rawphrase associate_facebook_with_x_account, {vb:raw vboptions.bbtitle}}</p>
            <div data-role="fieldcontain">
                <label for="facebookusername">{vb:rawphrase username}:</label>
                <input type="text" class="textbox" name="facebookusername" id="facebookusername" maxlength="50" tabindex="1" value="" />
                <label for="facebookpassword">{vb:rawphrase password}:</label>
                <input type="password" class="textbox" name="facebookpassword" id="facebookpassword" maxlength="50" tabindex="1" />
                <input type="button" data-theme="a" name="facebookassociate" id="facebookassociate" value="{vb:rawphrase log_in}" tabindex="1" />
            </div>
            </vb:if>
           
            {vb:raw fbimportform}
        </vb:if>

        <h3 class="ui-bar ui-bar-d">{vb:rawphrase required_information}</h3>
        <div data-role="fieldcontain">
            <label for="regusername">{vb:rawphrase username}:</label>
            <input class="primary textbox" id="regusername" type="text" name="username" maxlength="{vb:raw vboptions.maxuserlength}" value="{vb:raw username}" tabindex="1" />
        </div>
           
        <div data-role="fieldcontain">
            <label for="password">{vb:rawphrase password}:</label>
            <input type="password" class="textbox" name="password" id="password" maxlength="50" value="{vb:raw password}" tabindex="1" />
            <label for="passwordconfirm">{vb:rawphrase confirm_password}:</label>
            <input type="password" class="textbox" name="passwordconfirm" id="passwordconfirm" maxlength="50" value="{vb:raw passwordconfirm}" tabindex="1" />
        </div>
       
        <div data-role="fieldcontain">
            <label for="email">{vb:rawphrase email_address}:</label>
            <input type="text" class="textbox" name="email" id="email" maxlength="50" value="{vb:raw email}" dir="ltr" tabindex="1" />
            <label for="emailconfirm">{vb:rawphrase confirm_email_address}:</label>
            <input type="text" class="textbox" name="emailconfirm" id="emailconfirm" maxlength="50" value="{vb:raw emailconfirm}" dir="ltr" tabindex="1" />
        </div>

        <vb:if condition="$show['coppa']">
        <div data-role="fieldcontain">
            <label for="parentemail">{vb:rawphrase parent_guardian_email}:</label>
            <input type="text" class="primary textbox" name="parentemail" id="parentemail" maxlength="50" value="{vb:raw parentemail}" dir="ltr" tabindex="1" />
        </div>
        </vb:if>
       
        {vb:raw human_verify}

        <vb:if condition="$show['customfields_profile']">
            <h3 class="ui-bar ui-bar-d">{vb:rawphrase additional_required_information_profile}</h3>
            {vb:raw customfields_profile}
            <vb:if condition="$show['birthday']">{vb:raw birthdayfields}</vb:if>
        </vb:if>

        <vb:if condition="$show['customfields_option']">
            <h3 class="ui-bar ui-bar-d">{vb:rawphrase additional_required_information_option}</h3>
            {vb:raw customfields_option}
        </vb:if>

        <h3 class="ui-bar ui-bar-d">{vb:rawphrase additional_information}</h3>
        <vb:if condition="$show['referrer']">
            <div data-role="fieldcontain">
                <label for="referrerfield_ctrl">{vb:rawphrase referrer}:</label>
                <input id="referrerfield_ctrl" type="text" class="primary textbox popupctrl" name="referrername" value="{vb:raw referrername}" tabindex="1" maxlength="{vb:raw vboptions.maxuserlength}" />
            </div>
        </vb:if>
       
        {vb:raw timezoneoptions}
       
        <div data-role="fieldcontain">
            <fieldset data-role="controlgroup">
            <legend>{vb:rawphrase receive_email}...</legend>
            <input type="checkbox" name="options[adminemail]" value="1" id="cb_adminemail" tabindex="1" {vb:raw checkedoff.adminemail} />
            <label for="cb_adminemail">{vb:rawphrase receive_email_from_bulletin_board_staff}</label>
            <vb:if condition="$show['email']">
                <input type="checkbox" name="options[showemail]" value="1" id="cb_showemail" tabindex="1" {vb:raw checkedoff.showemail} />
                <label for="cb_showemail">{vb:rawphrase receive_email_from_other_members}</label>
            </vb:if>
            </fieldset>
        </div>
       
        <vb:comment> For performance reason, (Too many form elements perform really bad on iOS), we disable additional information.
       
        {vb:raw customfields_other}
       
        </vb:comment>
       
        <div data-role="fieldcontain">
            <input type="checkbox" name="agree" id="cb_rules_agree" tabindex="1" value="1" />
            <label for="cb_rules_agree" class="full">{vb:rawphrase read_agree_abide_by_rules, {vb:raw vboptions.bbtitle}}</label>
            <a href="mobile.php?do=agreement" data-rel="dialog" data-transition="pop" data-role="button">{vb:rawphrase view_rules}</a>
        </div>
       
        <button type="submit" data-theme="a">{vb:rawphrase complete_registration}</button>

        <input type="hidden" name="s" value="{vb:raw session.sessionhash}" />
        <input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
        <input type="hidden" name="do" value="addmember" />
        <input type="hidden" name="url" value="{vb:raw url}" />
        <input type="hidden" name="password_md5" />
        <input type="hidden" name="passwordconfirm_md5" />
        <vb:if condition="!$show['birthday']">
            <input type="hidden" name="day" value="{vb:raw day}" />
            <input type="hidden" name="month" value="{vb:raw month}" />
            <input type="hidden" name="year" value="{vb:raw year}" />
        </vb:if>
        <vb:if condition="$show['coppa']">
            <input type="hidden" name="coppauser" value="1" />
        </vb:if>
    </form>
</div>

{vb:raw footer}

</body>
</html>


kh99 08-01-2014 09:08 PM

OK, well I'm glad you responded before I added that option. But now I'm at a loss. I guess I could try to add some logging so I can actually help people who have problems instead of telling them "I don't know".

Shanakar 08-02-2014 11:59 AM

Installed on 4.2.2 PL1 Suite and it works perfectly! Thank you very much! :D

markoroots 08-03-2014 10:46 AM

Configuring inside the plugin also I can say that work perfectly on 4.2.2
Many thanks to the coder.
Very usefull.
I will mark immediately your mod. ;)

kh99 08-03-2014 10:52 AM

Quote:

Originally Posted by markoroots (Post 2509536)
Hi guys,
i have just installed this mod yesterday and look what I found in one thread today:
http://www.eliquid-forum.com/threads...-the-why/page3

look also the next pages...
What is this???????

That looks like threadid 1. I guess you have "Enable posting a notice to a thread..." set to Yes, and "Specify the id of an existing thread to which notifications will be posted" to 1. So you must either specify a different threadid for those posts, or else set "Enable posting a notice to a thread..." to No.

markoroots 08-03-2014 12:14 PM

Hi kh99 and tanks for your quickly reply.

The thing is this:
If i set "Enable posting a notice to a thread..." to No
the mod doesn't stop to send post in the id1 thread

In the 4.2.1 vb look that this option work (cause i have 2 forum)
but in the 4.2.2 the post are still sent in the post id1 also if the "notification post" option is disabled.

kh99 08-03-2014 12:57 PM

Quote:

Originally Posted by markoroots (Post 2509548)
Hi kh99 and tanks for your quickly reply.

The thing is this:
If i set "Enable posting a notice to a thread..." to No
the mod doesn't stop to send post in the id1 thread

In the 4.2.1 vb look that this option work (cause i have 2 forum)
but in the 4.2.2 the post are still sent in the post id1 also if the "notification post" option is disabled.

Hmm...I may have made a mistake in the way I'm checking that option. But try setting the threadid to 0 and see if that stops it.

Chadi 08-04-2014 11:18 PM

Quote:

Originally Posted by kh99 (Post 2509351)
OK, well I'm glad you responded before I added that option. But now I'm at a loss. I guess I could try to add some logging so I can actually help people who have problems instead of telling them "I don't know".

I was just curious if you found anything yet on this? Thanks in advance.

kh99 08-05-2014 03:22 PM

Quote:

Originally Posted by Chadi (Post 2509785)
I was just curious if you found anything yet on this? Thanks in advance.

I haven't, sorry. What I meant by my last post is that unless I find time to add logging, I probably can't help. IIRC the mod actually has some messages in it but they just aren't written out anywhere, so maybe I can put them in a db table or something (or use the vb log, as I think someone else suggested a while back).

Kills 09-05-2014 06:40 PM

just installed it done got one...nice add on... Thanks

edit: I do like the redirect thing...lol

ozzy47 09-05-2014 06:43 PM

It will get alot more than that, this is a pretty cool mod. :)

ozzy47 09-07-2014 10:43 AM

Hey Kevin, question. I am trying to get this to write to the DB, when there is a timer trigger, but it don't seem to work, here is what I tried.

Hook Location, register_start
Execution Order, tried 5 and 15

Code:
PHP Code:

function kh99_sbs_post2(&$data$event)
{
   global 
$vbulletin;

   if (
$data['reject'])
   {
        
$dateline TIMENOW;
        
$vbulletin->db->hide_errors();

        
$vbulletin->db->query_write("
            INSERT INTO `"
TABLE_PREFIX ."bad_bots1`
            (
                dateline, 
                bots1, 
                agent,
                userip
            )
            VALUES 
            (
                "
.$dateline.", 
                '2', 
                '1',
                '1'
            )
        "
);   
   }


But I believe it is not doing so, and it seems to stop the post from being added also. :confused:

kh99 09-08-2014 10:25 AM

Quote:

Originally Posted by ozzy47 (Post 2514023)
Hey Kevin, question. I am trying to get this to write to the DB, when there is a timer trigger, but it don't seem to work, here is what I tried....

I don't see anything wrong with that code. I'd have to have time to re-familiarize myself with how the mod works to be able to help more.

ozzy47 09-08-2014 10:42 AM

Not in a big hurry, I am taking the counts I need from the reply count in the thread for the time being. :)

mservis 09-29-2014 10:52 PM

1 Attachment(s)
Hello my vBulletin 4.2.2 Patch Level 1 not working.

Installed and configured as 600 seconds, but allows registering about 40/60 seconds, which is what it take to complete the fields.
the submit button is not disabled

You have to do something else besides install and configure?

Using the original template vbulletin

Greetings

sorry for the English of google, I'm Spanish

ForceHSS 09-29-2014 11:39 PM

600 secs is far to high set it to 20

mservis 09-30-2014 01:37 AM

It's just for a test.
now get only 70 seconds

for 70 seconds and allowed to register
the submit button is not disabled

greetings

kh99 09-30-2014 09:54 AM

Quote:

Originally Posted by mservis (Post 2516974)
Hello my vBulletin 4.2.2 Patch Level 1 not working.

Installed and configured as 600 seconds, but allows registering about 40/60 seconds, which is what it take to complete the fields.
the submit button is not disabled

You have to do something else besides install and configure?

I'm sorry that it's not working for you. It looks to me like you have it set up correctly. Unfortunately I really have no way to know why it isn't working for you. Are you using the mobile style? Someone else said it didn't work when using that style.

Edit: Do you still have this mod installed? If you do, and if you want to PM me a link to your site I can look at the html of the registration page and see if the hidden form fields are being inserted correctly.

mservis 09-30-2014 10:16 PM

send pm

greetings from Barcelona

kh99 10-01-2014 01:27 PM

Quote:

Originally Posted by mservis (Post 2517138)
send pm

greetings from Barcelona

OK, I looked at your site and I don't see the hidden fields being added to your registration page. They are supposed to be added to the end of the time zone information, and I see the time zone options, so I don't know what's going on. Do you still have this mod enabled?

You could try disabling your other mods temporarily (especially if any of them have to do with registration) and see if that makes any difference. Also you could try turning off human verification temporarily to see if that makes any difference.

Sorry I can't be of any more help.

mservis 10-02-2014 12:48 AM

I've seen that puts the control panel:
Warning: Plugins are currently globally disabled from the config.php file

I have looked in config.php and had this:

PHP Code:

define('DISABLE_HOOKS'true);
define('SKIP_DS_ERRORS'true); 

It may be that?
I have removed and leaves no warning.

plugins installed:
Innovative Google Analytics
Auto Database Backup
Spambot Stopper

Greetings

Note:
Its works

Wait to Complete Registration in ...



.

Max Taxable 10-02-2014 12:52 AM

Quote:

Originally Posted by mservis (Post 2517336)
It may be that?

Yes.

mservis 10-02-2014 01:24 AM

Error it's:

PHP Code:

define('DISABLE_HOOKS'true); 

if you put that in the config stops working

greetings

ozzy47 10-02-2014 01:28 AM

Yeah, that will stop any mods from running.


All times are GMT. The time now is 02:30 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01969 seconds
  • Memory Usage 1,903KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (3)bbcode_php_printable
  • (14)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete