Name.com Cyber Monday sale: $6.99 .com domains and more. Shop the sale.

BBCode Class

SpaceshipSpaceship
Namecheap AuctionsNamecheap Auctions
Namecheap AuctionsNamecheap Auctions
Watch

-NB-

Formerly ArrayEstablished Member
Impact
3
Check out this BBCode class I've created here. It can parse simple BBCode and other things, such as smilies and bad words.

It's fully PHP, created on a PHP4 server, so it should work fine on standard hosts.

To call it, you simply say something to the effect of:

Code:
$text = $bbc->parse($text);

This will parse everthing.

This is a code to learn from and make use of, but please do not redistribute it without permission from me.

Thanks,
Nick
 
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
Nice, clean, class. Sure people will find it easy enough to add their own BBcodes to the class.
 
0
Close
Thanks, Millar! I'm glad to see this appreciated.

I may release another version of this, since it is kind of difficult for some people to understand REGEX code. The new version should make it easier for people to add their own BBCodes :)

Nick
 
0
Close
great script
thanks
 
0
Close
DomainEasy: white label portfolios are live. Enable yours.

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

New: watch any domain
You can now watch domains on NamePros. We check each one and notify you when something changes. Search for a domain and press Watch on...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back