1 (edited by nicolas2k10 2006-06-25 15:27)

Topic: BBCode noparse 1.0.0

##
##
##          Mod title :  BBCode noparse
##
##        Mod version :  1.0.0
##     Works on PunBB :  mod tested on the 1.2.12 version
##       Release date :  2006-06-25
##
##             Author :  Nicolas D. a.k.a. nicolas2k10 (nicolas2k10 at gmail.com)
##
##        Description :  This mod add the BBCode noparse tag (and the short version : np).
##                       This tag makes it possible to avoid the parsing BBCode for part of a message.
##                       Example : [noparse][b][i]message[/i][/b][/noparse]
##                       Will show this (without parsing) : [b][i]message[/i][/b]
##
##     Affected files :  include/parser.php
##
##         Affects DB :  No
##
##              Notes :  Method used : for all the contents located in the noparse tag (and np tag), 
##                       we replace the "[" and "]" character by character strings specific. This is
##                       allow to pass in full discretion the zone of parsing BBCode and then, before
##                       sending the text, we rebuild the original message by making the opposite replacement.
##
##
##         DISCLAIMER :  Please note that "mods" are not officially supported by
##                       PunBB. Installation of this modification is done at your
##                       own risk. Backup your forum database and any and all
##                       applicable files before proceeding.
##

Download