vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Miscellaneous Hacks - NoSpam! - an alternative to CAPTCHA images (https://vborg.vbsupport.ru/showthread.php?t=124828)

dvsDave 08-28-2006 02:10 AM

The new updated product doesn't have the code that Cole2026 suggested in it. :confused:

antialiasis 08-28-2006 02:20 AM

It does... There was already a plugin at register_start, and I added the code there (inside the if statement).

adwade - what you should do is simply to remove the $nospamfield from the template (or revert it, unless you've got other edits in it), and then import the new product through the Admin CP, making sure that Allow Overwrite is on. (You don't need to uninstall it first or anything.) That's all you have to do.

dvsDave 08-28-2006 06:45 PM

hmm... I redownloaded it just to be sure... but I don't see Cole's code anywhere in the xml file. I uploaded the .xml file that I have just for comparison's sake (I downloaded it just a moment ago and checked it with the same results).

antialiasis 08-28-2006 08:20 PM

That's version 1.0...

Don't ask me how the heck this keeps happening to me. I have the zip file right here on my computer - the very same one I attached to the first post a couple of minutes after I last edited the files in it - and the file in there is the correct one. How the 1.0 file landed in the zip file attached to the post is completely beyond me if it did, and I apologize. The correct one is definitely there now, though, as I downloaded it after attaching it and it has the right file.

dartho 08-29-2006 09:45 PM

antialiasis - your profile says you are using VB 3.5.4 - will you be releasing this for 3.5 also? I really like the idea!

antialiasis 08-29-2006 11:01 PM

Oh, that's an error in my profile, actually.

Editing the XML for 3.5 shouldn't be too hard, though - just removing a couple of things, and it should work just fine. :/ In fact... I attached an XML file that I think should in theory work for 3.5. Not tested at all, though.

dartho 08-31-2006 09:05 AM

Downloaded and installed the "product-nospam-3-5.xml" Installed OK, I sleected YES to enable, added a question and saved - but still got the old image verification on the registration screen :(

the nospam template is there, and there are 2 no spam plugins:

Hook Location : register_addmember_process
Check if NoSpam! question has been answered correctly

Hook Location : register_start
Generate NoSpam! question


Any ideas for me to try?

Thanks!

antialiasis 08-31-2006 04:18 PM

Hmm, there should be one more plugin... o_O A cache_templates one?

The normal image verification isn't supposed to disappear, by the way - you need to manually disable it if you want to use only NoSpam!. But if the NoSpam! isn't appearing... well, that's weird. Try making the template edit manually (adding $nospamfield above $imagereg in the register template).

hcmagix 08-31-2006 04:44 PM

Version 1.1 also translated for german vb users

dartho 09-01-2006 12:21 PM

There in may lay the problem - there is no "$imagereg" See template code below:

I added in a $nospamfield just above this, and it all came togther - thanks!

Code:

                        <if condition="$show['regimagecheck']">
                        <fieldset class="fieldset">
                                <legend>$vbphrase[image_verification]</legend>
                                <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
                                <tr>
                                        <td>
                                                $vbphrase[enter_text_image_right]
                                        </td>
                                        <td rowspan="2"><img src="image.php?$session[sessionurl]type=regcheck&amp;imagehash=$imagehash" alt="$vbphrase[registration_image]" width="201" height="61" border="0" /></td>
                                </tr>
                                <tr>
                                        <td><input type="text" class="bginput" name="imagestamp" size="50" maxlength="6" /><input type="hidden" name="imagehash" value="$imagehash" /></td>
                                </tr>
                                </table>
                        </fieldset>
                        </if>



All times are GMT. The time now is 04:55 PM.

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

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01762 seconds
  • Memory Usage 1,742KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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