If this is your first visit, check our documentation. To post, register or login.
Forums / Community Contributed Add-Ons / All Other Contributions/Addons / SolveMedia Captcha, anyone installed it?

SolveMedia Captcha, anyone installed it?

Started by kendog819 on 17 Oct 2011, 6:19 AM · Views: 1,226

Results 1 to 1 of 1
17 Oct 2011, 6:19 AM
#1
kendog819 avatar

kendog819

New Zenner

Join Date:
Oct 2011
Posts:
16
Plugin Contributions:
0

Post #1 by kendog819

Hello, i am trying to install the SolveMedia video captcha to be used on my login/register page.

SM's php instructions here: portal.solvemedia.com/portal/help/pub/php/

I am quite new to ZenCart, and php in general, but i can get by a bit.

What i have done so far is this:

Downloaded Library file and put it in:```
includes/templates/template_default/templates


really not sure where to go from there, i put this code:```
require_once("solvemedialib.php");			//include the Solve Media library 
echo solvemedia_get_html("your_challenge_key");	//outputs the widget

in tpl_login_default.php here:```

<div class="buttonRow forward"><?php echo zen_image_submit(BUTTON_IMAGE_SUBMIT, BUTTON_SUBMIT_ALT);[B]require_once("solvemedialib.php"); //include the Solve Media library echo solvemedia_get_html("my c-key")[/B]; ?></div> </form> ```

The SM captcha is showing, but that is obviously not the right place for the code to be, as the submit button still shows, and allows users to create accounts without even using the captcha.

Any help getting this working would be greatly appreciated.

Thanks Alot,
Ken