is BB Code html?

Reply

Join Date: Nov 2005
Posts: 36
Reputation: xgmx is an unknown quantity at this point 
Solved Threads: 0
xgmx's Avatar
xgmx xgmx is offline Offline
Light Poster

is BB Code html?

 
0
  #1
Mar 26th, 2006
please answer
Reply With Quote Quick reply to this message  
Join Date: Oct 2005
Posts: 73
Reputation: UberAAZ is an unknown quantity at this point 
Solved Threads: 1
UberAAZ's Avatar
UberAAZ UberAAZ is offline Offline
Junior Poster in Training

Re: is BB Code html?

 
0
  #2
Mar 26th, 2006
No, but it is a variation on it.
For example, [ b ]this text is bold![ / b ] is the same as <b>this text is bold</b> in html.

Note that I've put spaces in the bbcode so as it's not picked up.
Last edited by UberAAZ; Mar 26th, 2006 at 2:38 am. Reason: BBcode not displayed properly.
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 1,655
Reputation: tgreer is an unknown quantity at this point 
Solved Threads: 35
Team Colleague
tgreer tgreer is offline Offline
Made Her Cry

Re: is BB Code html?

 
0
  #3
Mar 27th, 2006
BBcode is interpreted and rendered into HTML by PHP.
Reply With Quote Quick reply to this message  
Join Date: Oct 2004
Posts: 348
Reputation: paradox814 is an unknown quantity at this point 
Solved Threads: 4
paradox814's Avatar
paradox814 paradox814 is offline Offline
Posting Whiz

Re: is BB Code html?

 
0
  #4
Mar 31st, 2006
bb code is not html, it you wrote it in PHP it might look something like this: [php]$message = preg_replace("#\[b\](.*?)\[/b\]#","<b>\\1</b>",$message);[/php] it's not pretty if you don't know much about regular expressions. Granted there are other ways of doing this, but this is a nice one-liner
Reply With Quote Quick reply to this message  
Join Date: Apr 2006
Posts: 1
Reputation: cleto_pimp2010 is an unknown quantity at this point 
Solved Threads: 0
cleto_pimp2010 cleto_pimp2010 is offline Offline
Newbie Poster

Defintion of BBhtml code

 
0
  #5
Apr 3rd, 2006
BBhtml code is a simple implementation of Html code, it quiclkly allows you to change the basic style of your text.
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 1,655
Reputation: tgreer is an unknown quantity at this point 
Solved Threads: 35
Team Colleague
tgreer tgreer is offline Offline
Made Her Cry

Re: is BB Code html?

 
0
  #6
Apr 4th, 2006
That is not correct. BBCode is NOT an "implementation of HTML". That would require that it have it's own DTD or schema, doctype, etc. It isn't particularly simple, either, as it relies on PHP Regular Expressions. While powerful, regex isn't simple!

BBCode is short for "Bulletin Board Code", and is a tool developed, in PHP, and adopted by most if not all forum software vendors.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the HTML and CSS Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC