Announcement

Collapse
No announcement yet.

Custom BBCode - [hr]

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Custom BBCode - [hr]

    Is it possible to create a custom bbcode tag [hr] to display a horizontal rule, but not have to type a closing tag in order for it to appear? I just want to be able to type [hr] and a rule will appear.
    Steve
    CreedFeed - Feed Your Need!
    http://www.creedfeed.com

  • #2
    It's not possible with the current BBCode system, all tags have to have a closing tag. You might want to ask on vBorg for someone to write a plugin -- shouldn't be too hard.

    Comment


    • #3
      Actually a replacement varible would be best suited here _

      Comment


      • #4
        But that won't respect code/noparse tags, "disable bbcode", user titles... etc.

        Comment


        • #5
          It was a suggestion on how to accomplish the above without having to modify.

          As far as noparse goes, I can'tt hink of too many people who'd actually make use of that tag that often. How many people will put [hr] into a code tag? User titles can be avoided by addinging [hr] to the user title censor.

          Comment

          widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
          Working...
          X