The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#2
|
|||
|
|||
![]()
$string = preg_replace(/\[code\].*\[\/code\]/i, "", $string);
I think that'll knock them out of $string. Are you good with plugins? EDIT: Wait a minute, let me work on that some more. EDIT2: Here we go (I think) $string = preg_replace(/\[code\][\s\S]*?\[\/code\]/i, "", $string); --------------- Added [DATE]1321771433[/DATE] at [TIME]1321771433[/TIME] --------------- All wrong about that. What I posted would match bb code. You will need to match html for a code box PHP Code:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|