Jump to content


- - - - -

Proper way to store bbcode


  • Please log in to reply
No replies to this topic

#1 pg300

pg300

    Coder

  • Members
  • PipPipPipPipPip
  • 163 posts
  • IPB Version:v3.1.x

Posted 29 August 2010 - 12:02 PM

Hey everyone I'm editting an application and needed to make proper use of the IPSText::getTextClass( 'bbcode' ). Is there a useful article/topic on this? Right now before inserting into table i use preDbParse but then its stored as html. Then when I pull it up for edit I run a preEditParse on whats stored in the db but its shown as html rather then the proper bbcode and line breaks that was orignally submitted :(


And does anyone know about a custom bbcode i can upload to allow my users to make tables?

Edited by pg300, 29 August 2010 - 12:13 PM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users