A Flash Developer Resource Site

Results 1 to 16 of 16

Thread: [br] =

  1. #1

    Lightbulb

    we need a simple vbcode for line breaks! it would be so convenient if [br] the vbcode referenced <br> the html code

  2. #2
    DJ_SFinKz
    Join Date
    Jan 2001
    Posts
    249
    Why would you want that when you can just push enter?
    what about a [hr] tag?

  3. #3
    because when you hit enter in a post, it puts in a line break. when you try it in your signature, nothing happens.

  4. #4
    FK Times - Editor in Chief
    My Good Little Birdie

    Join Date
    Sep 2000
    Posts
    692
    This was originally my idea!!! :-D

    I second it

  5. #5
    Ugly with a capitol F Ekostudios's Avatar
    Join Date
    Jan 2001
    Location
    Injun-ana
    Posts
    91
    me = "uses-references-and-dreamweaver-for-html"
    whats <hr> again?

    I third and fourth that!!!
    --I'm currently working on a program to generate vB script.
    this would be SOO much help!!!!
    [Edited by Ekostudios on 02-19-2001 at 05:51 PM]

  6. #6
    i think (i use dreamweaver too) its a horizontal rule

  7. #7
    Ugly with a capitol F Ekostudios's Avatar
    Join Date
    Jan 2001
    Location
    Injun-ana
    Posts
    91
    oh, well if you want a horizontal rule use [*/quote] (no *)
    see watch![/quote]
    voila!
    ---
    also, we need the [swf] tag to be FULLY editable, so you can add transparency and variables.
    ---
    last we need [l]-left, [r]-right, [j]-justified, and [c]-centered for text alignment.
    ---
    and COLOR!!! !!!
    ---
    those are all my new vB ideas

  8. #8
    and attributes to the image tag (width, height)

  9. #9
    Ugly with a capitol F Ekostudios's Avatar
    Join Date
    Jan 2001
    Location
    Injun-ana
    Posts
    91
    also - vbcode should be disabled in the [*code][*/code]
    this way we can better illustrate to newbies, and ive seen some posts mess up because of this!!!

  10. #10
    i've been examining vbulletin's php source code, and have realized how extremely simple it would be to enable this capability we are asking for. its as simple as in the global.php file, scrolling down to function bbcodeparse2($bbcode) and adding this code:

    Code:
    $bbcode=eregi_replace(quotemeta("[br]"),quotemeta("<br>"),$bbcode);
    THATS IT as far as i can see.

  11. #11
    Ugly with a capitol F Ekostudios's Avatar
    Join Date
    Jan 2001
    Location
    Injun-ana
    Posts
    91
    ya, mark p - add it!!!!!!!!

  12. #12
    FK Times - Editor in Chief
    My Good Little Birdie

    Join Date
    Sep 2000
    Posts
    692
    Originally posted by banglafreak
    i've been examining vbulletin's php source code, and have realized how extremely simple it would be to enable this capability we are asking for. its as simple as in the global.php file, scrolling down to function bbcodeparse2($bbcode) and adding this code:

    Code:
    $bbcode=eregi_replace(quotemeta("[br]"),quotemeta("<br>"),$bbcode);
    THATS IT as far as i can see.
    In the control panel you can set it up by simply typing

    [br]

    in one text box and

    <br>

    in another and then hit submit :-D No need for any complicated (to me at lweast php)

  13. #13
    well that makes it even easier! admins! add it!
    i know no php so this looks as complex to me as it does to you...

    i took apart vbulletin's source files and used common sense to replace the tags

  14. #14
    Junior Member
    Join Date
    Aug 2005
    Posts
    1
    try:

    PHP Code:
    <?

    $text = str_replace(chr(13), '<br />\n', $text);

    echo $text; 

    ?>
    and it will parse a line break for you upon entry of that character

  15. #15
    Senior Member
    Join Date
    Apr 2001
    Posts
    269
    You do realize this thread is 4 years old and none of these guys have been here in years, right?

  16. #16
    associate admedia's Avatar
    Join Date
    Oct 2001
    Location
    is
    Posts
    1,347
    lol . Where did this come from?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center