The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Strip vbbcode
Can anyone please tell me how to "strip'' vbbcode for a line? I know this line:
Code:
$buddy[usertitle]=bbcodeparse($buddy[usertitle]); |
#2
|
||||
|
||||
Without diving into the editor and writing some regex's I think the best way would be to strip_tags() from the bbcodeparse()'ed code.
|
#3
|
||||
|
||||
Oh, ok, I see now. If I have it in other areas of the site and I don't want it in this area, then I have to parse the code first and then strip it out. It worked great! Thank you very much, Chen. Here's the code I used:
Code:
$username = $buddy['username']; $buddy[usertitle]=bbcodeparse($buddy[usertitle]); $buddy[usertitle]=strip_tags($buddy[usertitle]); Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|