The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
||||
|
||||
![]()
did you ever find a answer?
i'm doing this exact same thing right now. I'm updating a 3.8 product that used that same tutorial you mentioned to do an auto template edit. I've updated my code this far Code:
if ($forumid!=$vbulletin->options['mrt_id']) { $original = '<li><label><input type=\"radio\" name=\"do\" value=\"movethread\" tabindex=\"3\" /> {vb:rawphrase move_thread}…</label></li>'; $replace = '<li><label><input type=\"radio\" name=\"do\" value=\"recyclethread\" tabindex=\"3\" /> {vb:rawphrase recycle_thread}…</label></li>'; $vbulletin->templatecache['SHOWTHREAD'] = str_replace($original,$replace . "\r\n\t\t\t" . $original, $vbulletin->templatecache['SHOWTHREAD']); } any help would be appreciated working hard trying to retrain myself to vb4 & I'd rather learn how to do it right than just go edit the template. |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|