Hello,
Add New Plugin
Product: My Field Control
Hook Location: register_form_complete
Execution Order: 5
Plugin PHP Code:
PHP Code:
$vbulletin->templatecache['register'] find('<input type=\\\"submit\\\" class=\\\"button\\\" value=\\\"$vbphrase[complete_registration]\\\" accesskey=\\\"s\\\" />');
$vbulletin->templatecache['register'] replace('<input type=\\\"submit\\\" class=\\\"button\\\" id=\\\"sbutton\\\" value=\\\"$vbphrase[complete_registration]\\\" accesskey=\\\"s\\\" disabled=\\\"true\\\" />');
Plugin is Active: Yes
Register field need to change the code of the Submit button
I could not do Would you help?
Thanks
--------------- Added [DATE]1238089532[/DATE] at [TIME]1238089532[/TIME] ---------------
Problem OK,
PHP Code:
$tc_kimlik_numara_kontrolu['register']['find'] = array('<input type=\"submit\" class=\"button\" value=\"$vbphrase[complete_registration]\" accesskey=\"s\" />');
$tc_kimlik_numara_kontrolu['register']['replace'] = Array('<input type=\"submit\" class=\"button\" id=\"sbutton\" value=\"$vbphrase[complete_registration]\" accesskey=\"s\" disabled=\"true\" />');
$vbulletin->templatecache['register'] = str_replace($tc_kimlik_numara_kontrolu['register']['find'], $tc_kimlik_numara_kontrolu['register']['replace'], $vbulletin->templatecache['register']);