Page 2 of 2

Re: Mini Knowledge Base block for Mini Knowledge Base v 0.2.8

Posted: 18. November 2008 06:22
by the.ronin
Hmmm ... can you elaborate on that Kevin? The kb tables appear to be in utf8 from my phpMyAdmin. Is that what you meant?

Image

Re: Mini Knowledge Base block for Mini Knowledge Base v 0.2.8

Posted: 18. November 2008 06:51
by Kevin
Yes. Switch it over to utf8_bin - and check the fields included within these tables and switch them over if needed.
Don't forget to create a backup before!

Re: Mini Knowledge Base block for Mini Knowledge Base v 0.2.8

Posted: 20. November 2008 14:48
by RoxRio
hum, for me don't work. i don't know why, but anything appear in the block, except the title of block. :roll:

Re: Mini Knowledge Base block for Mini Knowledge Base v 0.2.8

Posted: 28. November 2008 03:46
by begemont
Kevin wrote:I get the "Undefined variable: s_reported"
try
open kb_show.php

find

Code: Select all

    $s_reported = ($report_id) ? true : false;
} 
after add

Code: Select all

else
{
    $s_reported = false;
} 
find

Code: Select all

    'POST_URI'                => ($row['post_id'] != 0 && $row['topic_id']) ? generate_seourl_topic($row['topic_id'], false, $row['forum_id']) : '',
    //'POST_URI'                => ($row['post_id'] != 0) ? append_sid("{$phpbb_root_path}viewtopic.$phpEx", 'f=' . $row['forum_id'] . '&t=' . $row['topic_id']) : '',  
replace with

Code: Select all

    //'POST_URI'                => ($row['post_id'] != 0 && $row['topic_id']) ? generate_seourl_topic($row['topic_id'], false, $row['forum_id']) : '',
    'POST_URI'                => ($row['post_id'] != 0) ? append_sid("{$phpbb_root_path}viewtopic.$phpEx", 'f=' . $row['forum_id'] . '&t=' . $row['topic_id']) : '',