The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
I like having a horizontal rule [hr] BBCode but I'm not quite sure how to handle it. you can't use the regular custom BBCode admin becasue the tags need an end tag and can't be empty. the thought of using something like [hr]-[/hr] just to force it to work annoys me. I tried using the replacements but it gets messed up on edit.
what I would up with was a plugin at bbcode_parse_complete with this code Code:
$text = str_replace("[hr]", "<hr>", $text); my question is, is there a problem with handling a custom BBCode like this? Is there a more efficient way? I saw a great explanation on how to parse custom BBCodes here but it's for tags w/ a beginning and ending tag. thanks in advance. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|