samedi 25 avril 2015

pear BBCodeParser2 couldn't parse WysiBB links


i used pear BBCodeParser2 with Wysibb editor,it works good for most bbcodes like bold,italic,images....etc

the problem only in links,it can't parse urls in the topic,and when i look at db table, i found the url bbcode unchanged.... i checked all links and files included,and the problem still the same:

php:

       $config = parse_ini_file('HTML/BBCodeParser2.ini',true);
        $options = $config['HTML_BBCodeParser2'];
        $parser = new HTML_BBCodeParser2($options);
        $parser->setText($this->db->real_escape_string($_POST['t_body'])); 
        $parser->parse(); 
        $t_body= $parser->getParsed();

img from db: enter image description here


Aucun commentaire:

Enregistrer un commentaire