Login   Register  
PHP Classes
elePHPant
Icontem

Class: UBBCode

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Lennart Groetzbach  >  UBBCode  >  Download .tar.gz .zip  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: UBBCode
Base name: ubb
Description: Replaces the ubb tags with HTML, and vice versa
Related classes: , , , , , , ,
Version: -
PHP version: -
License: GNU Lesser General Public License (LGPL)
All time users: 2507 users
All time rank: 1255
Week users: 0 users
Week rank: 2502
Picture of Lennart Groetzbach
Author: Lennart Groetzbach <e-mail contact>
Packages: 13 Browse this author's classes Browse this author's classes
Country: Germany Germany - PHP jobs in Germany
Age: 37
All time rank: 425 in Germany Germany
Week rank: 211 Down7 in Germany Germany Down


  Detailed description  
Replaces the UBB tags listed below with HTML tags, and vice versa.
Also keeps the line feeds in the text and removes all HTML tags.

UBB Tags:
[b]...[/b] bold
[i]...[/i] italic
[code]...[/code] source code
[img], [/img] images
[quote]...[/quote] blockquote
[url]http//www.link[/url] links
[url=http//www.link]name[/url] links
[email]me@home.de[/email] email link
[email=me@home.de]name[/email] email link

Additional Tags:
[u]...[/u] underline
[center]..[/center] center
[color=name]...[/color] colors

For a description of ubbcodes see: http://community.infopop.net/infopop/ubbcode.html

FUNCTIONS:
function encode($str)
function decode($str)
function strip($str)
function listCodes()

 

  Groups  
Group folder image HTML HTML generation and processing View top rated classes
Group folder image Text processing Manipulating and validating text data View top rated classes

  Rate classes User ratings   Applications   Related links   Files Files  

  User ratings  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Perfect (100.0%)
Sufficient (70.0%)
Sufficient (70.0%)
Good (85.0%)
-
-
Sufficient (72.5%)
112
Month:
Not yet rated by the users

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

  Related links  
Link Description
Rate me Rate this class @ Hotscripts

  Files folder image Files  
File Role Description
Accessible without login HTML file testUBBCode.html Output example output
Accessible without login Plain text file testUBBCode.php Example example
Accessible without login HTML file UBBCode.html Doc. phpdoc
Plain text file UBBCode.php Class main class

Download all files: ubb.tar.gz ubb.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.