User Rating: 5 / 5

Star ActiveStar ActiveStar ActiveStar ActiveStar Active
 

Add CAPTCHA to

We have:

  • Joomla 1.5.22
  • Virtuemart 1.1.6

Task:

  • Add CAPTCHA to "Ask seller" page

Solution:

Add CAPTCHA to To solve the problem we need an additional plugin to be installed - OSOLcaptcha. Install the plugin, publish it, set option to Yes (More about the plugin settings: http://www.outsource-online.net/osol-captcha-for-joomla.html )

Next we go to file components/com_virtuemart/themes/YOURTHEME/templates/pages/shop.ask.tpl.php and in line about 35-36 (if we speak of the default VM theme) before code

add CAPTCHA code:

Add CAPTCHA to

Comments   

nick
# nick 2010-12-30 08:31
Great article, how about adding it to the VM registration page? thanks !
nick
# nick 2010-12-30 08:39
Found it:

1)administrator\components\com_virtuemart\html\checkout_register_form.php

2)search
echo '


3) add the following code above step 2
global $mainframe;
$mainframe->triggerEvent('onShowOSOLCaptcha', array(false));
nick
# nick 2010-12-30 08:40
Sorry for the above msg.

1)administrator\components\com_virtuemart\html\checkout_register_form.php

2)search
echo '


3) add the following code above step 2
global $mainframe;
$mainframe->triggerEvent('onShowOSOLCaptcha', array(false));
gruz
# gruz 2010-12-30 11:45
It's a bad idea to modify core VirtueMart files. The changes will be overwritten when you update VirtueMart.

There is another way. You must install SecurityImages component and then you may add a captcha field from VirtueMart backend.
More info here:
http://virtuemart.net/documentation/User_Manual/User_Registration_Fields.html

I'd prefer this way to modifying core files.
sanju
# sanju 2011-09-23 13:33
hello, Gruz....

thank u very much for this post ...
my registration page works fine with this ..hey great thanks.............
universalckcs
# universalckcs 2011-11-23 15:09
Thanks for this plugin but did want to mention that the code above did not work for me, but when using the code in your documentation it worked! I'm looking forward to no more spam from my product details ....
gruz
# gruz 2011-11-23 15:38
Hm.... I didn't caught what is wrong or not working. Can I help?
M4d3L
+1 # M4d3L 2012-04-02 18:34
I can see the capcha but if I wrote anything in the field and submit, it's not blocked!
gruz
# gruz 2012-04-03 17:50
Strange. Seems to be something with the plugin settings. Play with them. Maybe something with the order of the plugin in the backend.
Hans
# Hans 2012-04-13 12:54
It doesnt work for me anymore with Joomla 1.5.25 and virtuemart 1.1.9...i need it on the ask seller page to avoid spammers...but the captcha image doesnt shows up...how come?

Great plugin btw! Maybe i'm doing something wrong..

Best regards,

Hans
gruz
# gruz 2012-04-13 13:37
Mail me superadmin and better FTP access so I can check. I cannot help in another way.
Guest
# Guest 2013-01-19 06:33
Hi

Just can't get this to work at all, could u help?

Thanks

Kev
gruz
# gruz 2013-01-19 13:54
How?

Please register to post comments.

Found a typo? Please select it and press Ctrl + Enter.
FaLang translation system by Faboba
Електронна бібліотека «Exlibris»: історичні дослідження, мемуаристика, публіцистика, художня література Українська етнографія: книги, курси лекцій, статті й матеріали, мапи, фотоальбоми, веб-ресурси Правителі України: портрети, життєписи, матеріали Твори Адріана Кащенка: романтика козацьких часів Народна війна 1917-1932

See a typo?

Select the text block and press

CTRL+Enter

Comments

  • AutoReadMore - automatic read more for Joomla

    gruz gruz 16.01.2019 13:41
    Hi. Currently it's not possible to make intotext as the link. If you badly need, mail me, I'll try ...

    Read more...

     
  • AutoReadMore - automatic read more for Joomla

    mrwad mrwad 13.01.2019 13:23
    Dear Gruz! One more question. Is there any way to hide and make (blog text) clickable instead?

    Read more...

     
  • AutoReadMore - automatic read more for Joomla

    mrwad mrwad 27.12.2018 22:25
    My bad! Thank you for great plugin!

    Read more...

     
  • AutoReadMore - automatic read more for Joomla

    gruz gruz 27.12.2018 00:09
    Hi. Did you try setting "Strip Formatting" to yes?

    Read more...

     
  • AutoReadMore - automatic read more for Joomla

    mrwad mrwad 26.12.2018 21:16
    Dear Gruz! Thank you for awesome plugin! That saved a lot of time for me developing websites! I have ...

    Read more...