Firefox PHP

Template Question

Posted by Midith 
Template Question
June 22, 2012 07:23PM
Trying to add a new item, a captcha system, to an existing template. I went into register.tpl and added {captcha} where i wanted it, and went into register.php and added $PHORUM['DATA']['captcha'] = captcha script info here, but when i go to view the register page the image doesnt show, and view source says that captcha is not defined. Am i missing something here? I tried refreshing the plugin cache in the admin section but still doesnt work.
Re: Template Question
June 23, 2012 02:53AM
Beside that you are doing it totally wrong (Don't touch the core code, write modules! And btw. you could just enable captchas for registration in the spamhurdles module) its the way it could work.


Thomas Seifert
Sorry, only registered users may post in this forum.

Click here to login