BBCode Class

Namecheap AuctionsNamecheap Auctions
SpaceshipSpaceship
SpaceshipSpaceship
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
•••
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
•••
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
•••
great script
thanks
 
0
•••
DomainEasy: flexible LTO options. Close more domain deals with financing.

We're social

Escrow.com
Spaceship
Escrowly
CryptoExchange.com
Domain Recover

NamePros updates

Parking: find your domains by pasting a list
You can now paste a list of domain names into the search box at the top of the Parking menu. Put one name on each line. Your domain list...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back