BBCode::FixupOutput( $string )
Description
Source
File: bp-forums/admin/parser.php
function FixupOutput($string) { if (!$this->detect_urls) { $output = $this->Internal_ProcessSmileys($string); } else { $chunks = $this->Internal_AutoDetectURLs($string); $output = Array(); if (count($chunks)) { $is_a_url = false; foreach ($chunks as $index => $chunk) { if (!$is_a_url) { $chunk = $this->Internal_ProcessSmileys($chunk); } $output[] = $chunk; $is_a_url = !$is_a_url; } } $output = implode("", $output); } return $output; }
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.