Page 1 of 1

serendipity_plugins_comments

Posted: Fri Aug 04, 2006 11:15 pm
by stm999999999
In the comments-sidebar-plugin, there is this code:

Code: Select all

        $viewtype = '';
        if ($this->get_config('viewtype') == 'comments') {
            $viewtype .= ' AND c.type = \'NORMAL\'';
        } elseif ($this->get_config('viewtype') == 'trackbacks') {
            $viewtype .= ' AND c.type = \'TRACKBACK\'';
        }
But in the config there is no viewtype but viewmode - so the config (comments/trackbacks/all) do not work. It should be

Code: Select all

        $viewtype = '';
        if ($this->get_config('viewmode') == 'comments') {
            $viewtype .= ' AND c.type = \'NORMAL\'';
        } elseif ($this->get_config('viewmode') == 'trackbacks') {
            $viewtype .= ' AND c.type = \'TRACKBACK\'';
        }

Re: serendipity_plugins_comments

Posted: Sat Aug 05, 2006 10:47 pm
by garvinhicking
Hi!

D'oh. Thanks again :)

Best regards,
Garvin

Posted: Tue Aug 08, 2006 3:35 pm
by judebert
Did this fix the BBCode comment problem I was supposed to be working on, but haven't gotten to yet?

Posted: Tue Aug 08, 2006 3:35 pm
by garvinhicking
Hi Judebert!

I wish it would, but sadly it doesn'T affect it at all :)

Best regards,
Garvin