The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Trying to convert a plugin
I need to convert a plugin so the code works in VB4
Here is the code, can anyone please help me convert it. I am having some difficulties on how to change this to be biable in VB$ Code:
if ($_REQUEST['do'] == 'editthread' AND $threadinfo['open'] != 10) { $vbulletin->templatecache['threadadmin_editthread'] = str_replace('$posticons',' <fieldset class=\"fieldset\"> <legend>$vbphrase[redirect_threads_to_url]</legend> <div style=\"padding:$stylevar[formspacer]px\"> <div class=\"fieldset\"> $vbphrase[redirect_threads_to_url_link]<br /> <input type=\"text\" class=\"bginput\" name=\"isurlredirect\" value=\"$threadinfo[isurlredirect]\" size=\"50\" maxlength=\"250\" title=\"$vbphrase[optional]\" /> </div> </div> </fieldset> $posticons',$vbulletin->templatecache['threadadmin_editthread']); } |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|