-
FAQ
- Forum Search
- Community
- Online Manual
- Support Helpers of the Month
- Function Database
parse_bbc
Description
This very hefty function parses bbc in message.
Syntax
void parse_bbc (void $param1, void $param2, void $param3[, array $parse_tags])
Parameter $param1
Expected type: Void
Description:
Parameter $param2
Expected type: Void
Description:
Parameter $param3
Expected type: Void
Description:
Parameter $parse_tags
Expected type: Array
Description: If $parse_tags is not empty, then only the bbc_codes listed in this array will be used this time.
Notes
- Only parses bbc tags which are not disabled in disabledBBC.
- Also handles basic HTML, if enablePostHTML is on.
- Caches the from/to replace regular expressions so as not to reload them every time a string is parsed.
- Only parses smileys if smileys is true.
- Does nothing if the enableBBC setting is off.
- Applies the fixLongWords magic if the setting is set to on.
- Uses the cache_id as a unique identifier to facilitate any caching it may do.
- Returns the modified message.
Advertisement:- Help | Terms and Rules | Go Up ▲
- Copyright © 2022 Simple Machines. All Rights Reserved.
- Page created in 0.015 seconds with 13 queries.
- Forum Search