https://www.icyphoenix.com/viewtopic.php?f=17&t=4994&p=34633#p34633 ----------------------------------- struja Mon 08 Dec, 2008 12:38 Re: Question, Regarding Thanks Option ----------------------------------- Almost everything is working like it should. Except one thing in admin_forums.php In instalation says: [code linenumbers=false] $template->assign_block_vars('catrow.forumrow', # #-----[ BEFORE, ADD ]--------------------------------- # $thanks_enabled = 'Yes'; $thanks_disabled = 'No'; if ($forum_rows[$j]['thanks_enabled'] == 1) { $thanks_enabled = 'Yes'; $thanks_disabled = 'No'; } [/code] So this piece should go somewhere in here [spoiler]// add indentation to the display for ($k=1; $k <= $level; $k++) { $template->assign_block_vars('catrow.cathead.inc', array()); } } // forum header row if ($tree['type'][$CH_this] == POST_FORUM_URL) { $forum = $tree['data'][$CH_this]; $forum_id = $tree['id'][$CH_this]; $forum_link_img = ''; if (!empty($tree['data'][$CH_this]['forum_link'])) { $forum_link_img = ''; } else { $sub = (isset($tree['sub'][POST_FORUM_URL . $forum_id])); $forum_link_img = ''; if ($tree['data'][$CH_this]['forum_status'] == FORUM_LOCKED) { $forum_link_img = ''; } } $forum_name = $forum['forum_name']; $forum_name_trad = get_object_lang(POST_FORUM_URL . $forum_id, 'name'); if ($forum_name != $forum_name_trad) $forum_name = '(' . $forum_name . ') ' . $forum_name_trad; $forum_desc = $forum['forum_desc']; $forum_desc_trad = get_object_lang(POST_FORUM_URL . $forum_id, 'desc'); if ($forum_desc != $forum_desc_trad) $forum_desc = '(' . $forum_desc . ') ' . $forum_desc_trad; $template->assign_block_vars('catrow', array()); $template->assign_block_vars('catrow.forumrow', array([/spoiler] I understood this piece of code like, checking is or is not thank enabled in this forum. Also I believe that this code should be modified, that "[highlight=#FFFFAA]$forum_rows[$j][/highlight]" doesn't look right to me. Any idea how to solve this, I would really appreciate