User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the HTML and CSS section within the Web Development category of DaniWeb, a massive community of 401,615 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,708 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our HTML and CSS advertiser: Lunarpages Web Hosting
Views: 1628 | Replies: 5
Reply
Join Date: Nov 2005
Posts: 19
Reputation: xgmx is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
xgmx xgmx is offline Offline
Banned

is BB Code html?

  #1  
Mar 26th, 2006
please answer
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Oct 2005
Posts: 72
Reputation: UberAAZ is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 1
UberAAZ's Avatar
UberAAZ UberAAZ is offline Offline
Junior Poster in Training

Re: is BB Code html?

  #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 1:38 am. Reason: BBcode not displayed properly.
Reply With Quote  
Join Date: Dec 2004
Posts: 1,590
Reputation: tgreer is an unknown quantity at this point 
Rep Power: 7
Solved Threads: 34
Colleague
tgreer tgreer is offline Offline
Made Her Cry

Re: is BB Code html?

  #3  
Mar 27th, 2006
BBcode is interpreted and rendered into HTML by PHP.
Reply With Quote  
Join Date: Oct 2004
Location: San Francisco, CA
Posts: 338
Reputation: paradox814 is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 2
paradox814's Avatar
paradox814 paradox814 is offline Offline
Posting Whiz

Re: is BB Code html?

  #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  
Join Date: Apr 2006
Posts: 1
Reputation: cleto_pimp2010 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
cleto_pimp2010 cleto_pimp2010 is offline Offline
Newbie Poster

Defintion of BBhtml code

  #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  
Join Date: Dec 2004
Posts: 1,590
Reputation: tgreer is an unknown quantity at this point 
Rep Power: 7
Solved Threads: 34
Colleague
tgreer tgreer is offline Offline
Made Her Cry

Re: is BB Code html?

  #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  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb HTML and CSS Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the HTML and CSS Forum

All times are GMT -4. The time now is 5:23 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC