a tricky situation, for an extension (not yet publicly available) I am using the s9e facilities, in order to keep the code up to date with the latest trend, so far so good, everything's working like a charm, just this issue I wasn't able to solve after a session of many hours, tonight.
Let's see what I am talking about..
- controller/mode='view'
(that's the mode which will take you to a separate page where there is 'who marked this post as read' and the search facilities for that list (like memberlist), plus, above all, there is view of the post related. Alike viewtopic.. so to say.
- here I am using the renderer to show the post's view iver there, with..
'POST_TEXT' => $this->renderer->render($post['post_text']),
post_text it's taken directly from the DB with a query and there it's stored this way.. (logically)
Code: Select all
<r>Test post 152 <E>:P</E> <br/>
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
<E>:geek:</E> <br/>
<ATTACHMENT filename="Lighthouse.jpg" index="0"><s>[attachment=0]</s>Lighthouse.jpg<e>[/attachment]</e></ATTACHMENT></r>
Attachments aren't parsed That's the issue.
.
Whilst BBcodes, smilies, etc.. everything goes.
Definitly I need some help here, that's new stuff. The controller has already all of this ready and in use
Code: Select all
{
$this->auth = $auth;
$this->config = $config;
$this->db = $db;
$this->group_helper = $group_helper;
$this->helper = $helper;
$this->lang = $lang;
$this->log = $log;
$this->notification_manager = $notification_manager;
$this->pagination = $pagination;
$this->parser = $parser;
$this->renderer = $renderer;
$this->request = $request;
$this->template = $template;
$this->user = $user;
$this->utils = $utils;
$this->hlposts_utils = $hlposts_utils;
$this->root_path = $root_path;
$this->php_ext = $php_ext;
$this->post_read_table = $post_read_table;
$this->highlights_table = $highlights_table;
}
Thank you IA.