How to add captcha in registration of joomla 1.5?



The previous article has mentioned about recaptcha. This article we will show the detail how to add recaptcha to register page.


First read this article to download recaptcha plugin and config it.


Then go to folder components/com_users/controller.php line 61 and place this:


global $mainframe;
$mainframe->triggerEvent('onCaptchaConfirm');


Finally, go to template file in components/com_user/views/register/tmpl/default.php or in folder template/template_name/html/com_user/register/default.php and insert this:


<?php global $mainframe;
$mainframe->triggerEvent('onCaptchaDisplay'); ?>


at where you want.


This can help you stop spammer from register automatically and spam you forum.


Hope this is helpful.



Responses

0 Respones to "How to add captcha in registration of joomla 1.5?"

Post a Comment

 

Link Liên kết

Thông tin liên hệ

YH: huonggiangdhtn
Skype: tthuonggiang
Return to top of page Copyright © 2010 | joomla extensions jw-extension.net