Login   Register  
PHP Classes
elePHPant
Icontem

BBEngine: Dynamically Extendable BBCode Parser/UnParser

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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 (6 years ago) RSS 2.0 feedNot enough user ratingsTotal: 890 This week: 1All time: 3,682 This week: 1,534Up
Version License PHP version Categories  
bbengine 1.0MIT/X Consortium License5.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 is available for providing paid consulting. Contact Mohammed Yousef .
Classes: 2 packages by
Country: Egypt Egypt
Age: 25
All time rank: 6636 in Egypt Egypt
Week rank: 1164 Down16 in Egypt Egypt Down
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:890All time:3,682
 This week:1This week:1,534Up
 User Comments (1)