Adem GEN?
03-26-2009, 02:20 PM
Hello,
Add New Plugin
Product: My Field Control
Hook Location: register_form_complete
Execution Order: 5
Plugin 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 1238089532 at 1238089532 ---------------
Problem OK,
$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']);
Add New Plugin
Product: My Field Control
Hook Location: register_form_complete
Execution Order: 5
Plugin 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 1238089532 at 1238089532 ---------------
Problem OK,
$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']);