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

  • NotificationAry - get emails on Joomla content is submitted, added or changed

    Berndi Berndi 30.06.2019 11:45
    The fields %TO_NAME% and %TO_USERNAME% are empty

    Read more...

     
  • NotificationAry - get emails on Joomla content is submitted, added or changed

    Berndi Berndi 30.06.2019 11:43
    My fault, I made it

    Read more...

     
  • NotificationAry - get emails on Joomla content is submitted, added or changed

    Berndi Berndi 30.06.2019 10:46
    I did. Now I'm asking me how to put the surename into the email... :-|

    Read more...

     
  • NavigationAry - navigate between Joomla menu items like between articles using "prev - next"

    Berndi Berndi 29.06.2019 15:59
    I also miss content in %TO_NAME%

    Read more...

     
  • NotificationAry - get emails on Joomla content is submitted, added or changed

    Berndi Berndi 29.06.2019 15:15
    Hi gruz, I have the problem, that when I use the %AUTHOR% tag, the plugin dosen't send the author ...

    Read more...