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)

jalmz 11-21-2006 10:42 PM

Quote:

Originally Posted by benpaul10 (Post 1122224)
Hi, This is a great idea! I run a forum with a narrow topic and can invent a bunch of questions that a non member would not be able to answer easily.

Unfortunately when I try to install I get:

Code:

Database error in vBulletin 3.5.4:

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 (THIS_SCRIPT == \'register\')\r\n{\r\n  $globaltemplates[] = \'nospam\';\r\n}', 'nospam');

MySQL Error  : Unknown column 'executionorder' in 'field list'
Error Number : 1054
Date        : Tuesday, November 21st 2006 @ 01:55:50 PM
Script      : http://fencingforum.com/forum/admincp/plugin.php
Referrer    : http://fencingforum.com/forum/admincp/plugin.php?do=productadd
IP Address  : 85.189.97.228
Username    : wingnutLP
Classname    : vb_database

Any suggestions? Sorry I am no forum guru and my understanding of PHP is slim to nil!

try this one
For ver 3.5.4
https://vborg.vbsupport.ru/showp...6&postcount=36

template modification

https://vborg.vbsupport.ru/showp...6&postcount=40

benpaul10 11-22-2006 06:31 AM

OOPS, I didn't see the version number on the mod. Thanks!

Unfortunately the two links you posted take me to here https://vborg.vbsupport.ru/portal.php

were you linking to a similar mod for earlier versions of VB?

benpaul10 11-22-2006 07:22 AM

Ah I see you were refering to the posts earlier in this thread

https://vborg.vbsupport.ru/showpost....3&postcount=53

Thanks for pointing this out...

Unfortunately I am still a bit lost still

"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!"

I have found the template I need to alter can someone please clarify whet I need to add and where I need to put it in the template please?

Sorry to be so ignorant!

TLove 11-22-2006 05:42 PM

/bump

Yeah, any chance on clarification on this? What is the exact code for the template mod?

kanadian 11-24-2006 02:41 PM

thank you for this simple and excellent mod!

Panzer Max 11-24-2006 04:38 PM

Quote:

Originally Posted by benpaul10 (Post 1122807)
Ah I see you were refering to the posts earlier in this thread

https://vborg.vbsupport.ru/showpost....3&postcount=53

Thanks for pointing this out...

Unfortunately I am still a bit lost still

"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!"

I have found the template I need to alter can someone please clarify whet I need to add and where I need to put it in the template please?

Sorry to be so ignorant!

I think what you do is, go into the Edit template, Register templates, open the one called simply "register".

Then do a search for regimagecheck and you will see:

Code:

<if condition="$show['regimagecheck']">
                        <fieldset class="fieldset">


I just added $nospamfield above the line like this:


Code:

$nospamfield
<if condition="$show['regimagecheck']">
                        <fieldset class="fieldset">

Seems to work for me with 3.5.4
I updated both of my templates that way.

mutus123 11-25-2006 03:11 PM

I was starting to get about 5 spam registrations a day. Even though most of them never made it beyond "Awaiting Email Confirmation" status... It was still annoying to delete them all the time.

Since I installed this plug-in... not even one spam reg..... nothing.

I have to say a big thank you for this one. :up:

:cool:

farooqaaa 11-25-2006 05:15 PM

Ahh it will help me alot :).

In my server GD isnt enabled, and CAPTCHA images aren't working. Using this will solve my problem.

thanks.s.s.s.!

somedevil 11-25-2006 06:06 PM

Installed

Thanks for this, it should be a big help!

Basscat 11-25-2006 09:25 PM

<font color="SeaGreen">*Basscat installs mod</font>

Great mod! Thanks!


All times are GMT. The time now is 07:08 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.01895 seconds
  • Memory Usage 1,745KB
  • 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
  • (3)bbcode_code_printable
  • (2)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