DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Anyone know how to "escape" bb codes?  (Read 10,987 times)

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Anyone know how to "escape" bb codes?
« on: November 06, 2005, 10:23 PM »
the discocunt link for thebat! that i posted in members only section has a [ and ] in the url, and it's driving the forum's bbcode parser nuts.  anyone know how i could make a url link using bbcode with the [ and ] in it?

Carol Haynes

  • Waffles for England (patent pending)
  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 8,073
    • Cody Award
    • Furry Fandom Badge - Furry Fandom
Re: Anyone know how to "escape" bb codes?
« Reply #1 on: November 06, 2005, 10:56 PM »
[   =  %5B

]   =  %5D

[Edit: I removed the actual codes - mouser]

Yeee haaaa it works ;)
« Last Edit: November 06, 2005, 11:39 PM by mouser »

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Anyone know how to "escape" bb codes?
« Reply #2 on: November 06, 2005, 11:39 PM »
thanks carol, works like  charm!

clif_notes

  • Clif Notes Newsletter
  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 199
Re: Anyone know how to "escape" bb codes?
« Reply #3 on: November 10, 2005, 05:50 AM »
Supposedly, this is supposed to work.

Code
 [[[[[[[[[[[[[]]]]]]]]]]]]]]] 

Just enclose the whole section in CODE and /CODE commands.

Devoted to promoting freeware and free information

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Anyone know how to "escape" bb codes?
« Reply #4 on: November 10, 2005, 06:11 AM »
carol's solution is what i needed since it was characters in a hyperlink url, and so enclosing it in a code block would have disabled the url from working.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Anyone know how to "escape" bb codes?
« Reply #5 on: February 05, 2006, 03:47 AM »
just had to refer back to this - thanks again carol.

Carol Haynes

  • Waffles for England (patent pending)
  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 8,073
    • Cody Award
    • Furry Fandom Badge - Furry Fandom
Re: Anyone know how to "escape" bb codes?
« Reply #6 on: February 05, 2006, 10:15 AM »
:Thmbsup: :-*

housetier

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 1,321
    • Gathering Badge
Re: Anyone know how to "escape" bb codes?
« Reply #7 on: August 11, 2006, 07:45 PM »
There is also [nobbc][whatever][/nobbc].

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Anyone know how to "escape" bb codes?
« Reply #8 on: August 14, 2006, 04:45 PM »
from another page, bbcode help and examples:
http://www.phpbb.com/phpBB/faq.php?mode=bbcode

housetier

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 1,321
    • Gathering Badge
Re: Anyone know how to "escape" bb codes?
« Reply #9 on: August 14, 2006, 04:52 PM »
And by mistake, I found the cool HTML to BBCode Converter. It works quite simple: you paste in your HTML code, then select which particular BBCode flavor you want to convert to, then click "convert". Your HTML code will be replaced with the corresponding BBCode.  :)

The interface is a little akward, but it works. *I* would have put numbers on in, in a step-by-step fashion, and used different forms for input and result. But it works anyway, so I hope it will be of good use.  :)

Thank you Jeff Baker.  :Thmbsup:

Original address: https://www.donationcoder.com/forum/index.php?topic=1439.0