PHP Classes
elePHPant
Icontem

BBEngine: Dynamically Extendable BBCode Parser/UnParser

Recommend this page to a friend!
  Info   View files View files (11)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2008-09-13 (8 years ago) RSS 2.0 feedStarStarStar 54%Total: 918 All time: 3,737 This week: 902Up
Version License PHP version Categories
bbengine 1.0MIT/X Consortium ...5.0HTML, PHP 5, Databases, Templates
Description Author

This package can be used to convert text with BBCode marks to HTML and vice-versa.

It can find and replace BBCode marks and replace them with HTML tags.

The package can also do the opposite by converting HTML to equivalent text with BBCode marks.

The conversion can be done by custom PHP code.

The list of supported tags can be dynamically extended with new BBCode tags with definitions stored in a database.

The Package can handle 4 types of tags :-

* Direct Words : Directly replace words with others (e.g. smiles)

* Direct Tags : Replace Html Tags with BBCode directly

* Indirect Non Recursive : Mainpulate content in BBCode with user defined function , BBCode tags can't be Nested

* Indirect Recursive : The Same Indirect manner with the added ability of Parsing Nested tags

Picture of Mohammed Yousef
Name: Mohammed Yousef <contact>
Classes: 2 packages by
Country: Egypt Egypt
Innovation award
Innovation award
Nominee: 1x

Winner: 1x

  Files folder image Files  
File Role Description
Files folder imageDB_Layer (2 files)
Files folder imageExamples (3 files)
Plain text file BBE_DB_Op.php Class Class wrapping all DB functionality required by class
Accessible without login Plain text file Config.php Conf. Class Configuration file
Plain text file Gen_Parsing.php Class Class Containing Common Parsing functionality
Plain text file Parse.php Class The BBCode Parsing Class
Plain text file UnParse.php Class BBCode UnParsing Class
Accessible without login Plain text file BBEngine.sql Data The SQL dump for a set of famous BBCodes (required for examples)

  Files folder image Files  /  DB_Layer  
File Role Description
  Plain text file General_DB.php Class Abstract Class for General DB required functionality
  Plain text file MySQL.php Class MySQL Specific Implementation for BBEngine DB required needs

  Files folder image Files  /  Examples  
File Role Description
  Accessible without login Plain text file DB_Tag_Insertion_Examples.php Example Examples for inserting the 4 Tags types into DB
  Accessible without login Plain text file Parsing_Example.php Example Example for Parsing a given BBCode String
  Accessible without login Plain text file UnParsing_Example.php Example Example for UnParsing a given Html String into BBCode

 Version Control Unique User Downloads Download Rankings  
 0%
Total:918
This week:0
All time:3,737
This week:902Up
User Ratings User Comments (1)
 All time
Utility:75%StarStarStarStar
Consistency:83%StarStarStarStarStar
Documentation:-
Examples:91%StarStarStarStarStar
Tests:-
Videos:-
Overall:54%StarStarStar
Rank:1636