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)

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

Quote:

Originally Posted by mrgrimes (Post 1185910)
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:

Code:

            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. :)

Quote:

Originally Posted by derfelix (Post 1186872)
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

Quote:

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

Quote:

Originally Posted by old_expat (Post 1192661)
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

Quote:

Originally Posted by chkdgate (Post 1194264)
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...


All times are GMT. The time now is 05:49 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.02026 seconds
  • Memory Usage 1,739KB
  • 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
  • (5)bbcode_quote_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