vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Add-On Releases - Image Match "Forms Hack add-on" (https://vborg.vbsupport.ru/showthread.php?t=144880)

Deepdog009 04-13-2007 10:00 PM

Image Match "Forms Hack add-on"
 
Image Match for Form Hack
*********************

What does this mod do you say?
It inserts a captcha image at the bottom of your forms to assist with blocking unwanted bots and pestilence from hammering your forms...

Included in the zip is one xml file, captcha images folder and two php files... Credit goes to ABE1 Form Hack and Solmetra Form ver.1.01...

Installation
*********
After setup
*********
Captcha image match works only when submitting or previewing form...
You must insert image match code before submitting or previewing form,,, if incorrect code entered a error message will ask that you return and re-submit code before continuing...

Updated zip file

Deepdog009 04-14-2007 09:10 PM

Updated and integrated with Form Hack...


All that's needed is to add this to your new forms and use xml in zip...
HTML Code:

<tr>
<td class="text_field_question question" colspan="3" align="center">
Please enter confirmation code displayed below:<br />
<img src="image_match.php?regen=y&<?php echo time(); ?>" />
<input type="text" name="code" /><br /><br /></td>
</tr>


UltimateOreo! 04-14-2007 09:41 PM

Wouldnt this be extremely tedious? Or can you just turn it on for guests?

Deepdog009 04-14-2007 11:50 PM

<font color="Red">News Update</font>
***********

Super easy setup if you use the xml file as example...

If you've made forms before,,, then its a breeze to setup...

ComputerVitals 05-01-2007 04:54 PM

When I dont enter any code I get this error on a white page.

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/******/public_html/forum/image_match.php:1) in /home/******/public_html/forum/SPAF_FormValidator.class.php on line 103

Error - the code entered is incorrrect

How do I fix this error?

Deepdog009 05-06-2007 02:37 AM

Quote:

Originally Posted by ComputerVitals (Post 1239021)
When I dont enter any code I get this error on a white page.

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/******/public_html/forum/image_match.php:1) in /home/******/public_html/forum/SPAF_FormValidator.class.php on line 103

Error - the code entered is incorrrect




How do I fix this error?


ComputerVitals,,, mini mod has been updated... Install new xml and upload files to forum root = http://yoursite.com/forum/ or /forums/...

Deepdog009 05-06-2007 04:30 PM

bumpy bump...>>> Updated <<<

dsotmoon 06-14-2007 10:35 PM

Quote:

(there are 10 different backgrounds included in the package); Automatically adjusts for the size of the background; Can use any number of TTF fonts (10 fonts included in package);
first: thanks for pointing me to this addon


second: i uploaded the files to the forum root directory, made the two template changes in my form BUT in the zip there was no backgrounds or TTF fonts, so I get a red X where the image should be

was it left out of the zip or am I doing something wrong?


Thanks

Saviour 06-19-2007 02:55 AM

Uploaded three files to forum root.

Made changes to form template where required.

Test box appears, but no image is displayed. Just a red "X".

I think someone dropped the ball here...and this hack is supported?

No offense...but where are the images and fonts? They're definitely not in your download...and neither are the directions.

Another thing...why include a template form? People who use the Form Hack already...looking for a captcha image they can use...would probably just want simple code they can install in the form they've already completed.

I've tried both of the hacks you've provided to this community...and so far...neither of them work.

In the future, you might want to include these little tid-bits in order for the hack to function properly.

Deepdog009 06-22-2007 01:34 AM

Quote:

Originally Posted by dsotmoon (Post 1268662)
first: thanks for pointing me to this addon


second: i uploaded the files to the forum root directory, made the two template changes in my form BUT in the zip there was no backgrounds or TTF fonts, so I get a red X where the image should be

was it left out of the zip or am I doing something wrong?


Thanks

dsotmoon,,, download new xml and files and update...

Deepdog009 06-22-2007 01:41 AM

Quote:

Originally Posted by Saviour (Post 1271430)
Uploaded three files to forum root.

Made changes to form template where required.

Test box appears, but no image is displayed. Just a red "X".

I think someone dropped the ball here...and this hack is supported?

No offense...but where are the images and fonts? They're definitely not in your download...and neither are the directions.

Another thing...why include a template form? People who use the Form Hack already...looking for a captcha image they can use...would probably just want simple code they can install in the form they've already completed.

I've tried both of the hacks you've provided to this community...and so far...neither of them work.

In the future, you might want to include these little tid-bits in order for the hack to function properly.


Saviour,,, download new zip and update...

Saviour 06-22-2007 04:48 PM

Okay...

Here we go again...

Files uplaoded and template modifications made to the form template.

The CAPTCHA image and font now shows on the form...Hooray!

Here are the issues with your hack:

1) Error message for your hack opens a blank page (if the code is entered incorrectly) displaying an error message with the word "incorrect" spelled incorrectly. I fixed that, but feel the error message should be displayed on the same page as the form, in red text and under or above the CAPTCHA image, when the form is submitted.
2) After uploading files and making template changes, there is no email sent to the email address listed in the form hack and no PM sent, either. I believe this is due to the fact the new code we had to edit in the form changed the post action from "newthread.php" to "image_match.php".

The above issues need to be addressed in order for this hack to be a viable hack for anyone. The premise is a good one, however, the submission of the form should follow the same guidelines as any other vbulletin form...such as the contact us form.

Update: Number 2, above, seems to be working now...my bad...I had to correct the $answerall == part on the form.

Also, regarding Number 1 above: If there is a problem with the code entered after clicking "Submit"...instead of redirecting to your error page, how about a vbulletin Message box like the one you'd get if the form was completed succesfully, or if there was a missing field. At least, it would follow the layout of the forum and the form hack itself.

Saviour 06-23-2007 02:27 PM

Quote:

1) Error message for your hack opens a blank page (if the code is entered incorrectly) displaying an error message with the word "incorrect" spelled incorrectly. I fixed that, but feel the error message should be displayed on the same page as the form, in red text and under or above the CAPTCHA image, when the form is submitted. Alternatively, you can use a vbulletin error message...correct?
Any plans to correct the "error" redirect? Or incorporate it into a vbulletin message?

This is a great hack...now that it's working...clicked "Installed".

Deepdog009 06-25-2007 04:38 AM

NEWS BULLETIN.... .... .... Updated code to integrate better with Form Hack...

TheMilkCarton 07-19-2007 11:42 AM

Quote:

Why....
I put this together because $imagereg wont allow using in other "form templates"
Not true. I have the built in $imagereg working just fine in my forms. I hope to release it sometime, but it's really low on my priority list right now.

Charles_1 12-01-2008 07:56 PM

There are not all files in archive in first post (only xml file), in the html code you refer to image_match.php.

Deepdog009 12-09-2008 05:53 PM

Quote:

Originally Posted by Charles_1 (Post 1676641)
There are not all files in archive in first post (only xml file), in the html code you refer to image_match.php.


Charles_1,,,
Sorry about the missing files... I double checked files and uploaded with all intact...

Easy setup
*********
  • upload captcha image dir. to forum-root... = show backgrounds with text
  • upload both .php files to forum-root... = verify text match = true and submit
  • install xml file with ABE1 formhack & Updated code = access new form1 with captcha image match

Good Luck 2 ya...


All times are GMT. The time now is 01:43 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.01122 seconds
  • Memory Usage 1,766KB
  • 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_html_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (17)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete