The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
This is my method for phrasing BBCODE in the user profile field. I want to allow HTML to pass through aswell.
PHP Code:
PHP Code:
|
#2
|
|||
|
|||
![]()
oh you don't say??
|
#3
|
|||
|
|||
![]() PHP Code:
|
#4
|
||||
|
||||
![]() Quote:
Can this be done? If so, please show me how, I am a PHP newb... Thanks! |
#5
|
||||
|
||||
![]() PHP Code:
|
#6
|
|||
|
|||
![]()
What i did was made a new Function for parsing bbcode
take the orginal do_parse function in the class_bbcode.php and copy it. i pasted it and named it do_bulletin_parse and made this small change in it Code:
// ********************* REMOVE HTML CODES *************************** if (!$do_html) { //$text = htmlspecialchars_uni($text); } $html_allowed = $do_html; $text = $this->parse_whitespace_newlines($text, $do_nl2br); |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|