The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#5
|
||||
|
||||
![]()
i went about doing it pretty much that way lol, with a bunch of minor changes
things are not named the final name this is just my build procedure lol, i know... sloppy =) it'll be sexy and make sence in the end example: Code:
//showthread_quickreply $drcrb_hd = '</fieldset>'; $find = '<textarea name=\"message\" id=\"{$editorid}_textarea\"'; $replace = '<textarea class=\"form-control comment-form-textarea\" name=\"message\" id=\"{$editorid}_textarea\"'; $find2 = '<div class=\"controlbar\"'; $replace2 = '<div class=\"controlbar upload-enabled\"'; $vbulletin->templatecache['showthread_quickreply'] = str_replace($drcrb_hd,fetch_template('drc_iiu_below_txtarea').$drcrb_hd,$vbulletin->templatecache['showthread_quickreply']); $vbulletin->templatecache['showthread_quickreply'] = str_replace($find,$replace,$vbulletin->templatecache['showthread_quickreply']); $vbulletin->templatecache['showthread_quickreply'] = str_replace($find2,$replace2,$vbulletin->templatecache['showthread_quickreply']); //newthread $find6 = '$newpost[message]</textarea>'; $find4 = '<textarea name=\"message\" id=\"{$editorid}_textarea\"'; $replace4 = '<textarea class=\"form-control comment-form-textarea\" name=\"message\" id=\"{$editorid}_textarea\"'; $find3 = '<td class=\"controlbar\">'; $replace3 = '<td class=\"controlbar upload-enabled\">'; $vbulletin->templatecache['editor_toolbar_on'] = str_replace($find6,$find6.fetch_template('drc_iiu_below_txtarea'),$vbulletin->templatecache['editor_toolbar_on']); $vbulletin->templatecache['editor_toolbar_on'] = str_replace($find4,$replace4,$vbulletin->templatecache['editor_toolbar_on']); $vbulletin->templatecache['editor_toolbar_on'] = str_replace($find3,$replace3,$vbulletin->templatecache['editor_toolbar_on']); Code:
$vbulletin->templatecache['editor_toolbar_on'] = $vbulletin->templatecache['drc_iiu_editor_toolbar_on']; but grabbing things that SHOULD be there no matter how custom a theme is ...SHOULD work for everyone lol |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|