IPB Modification

Anton

New Member
Messages
196
Reaction score
0
Points
0
Hi,

I have downloaded the DKarma mod for my forum (http://divinedxt.x10hosting.com/forum) And I did everything the ReadMe file said to do! But when I click a topic, an error is displayed: Fatal error: Call to undefined function: karma_options_links() in /home/divin4in/public_html/forum/sources/Topics.php on line 1321

Does anyone have this mod? A working mod-sample is at http://forums.elitepvpers.de
Would anyone please help me on this.
I have followed all the instructions, except for the Skin/*s/ part, I used s7 or something because that is my skin-import number, I did that because s1 is the original skin, and so I have 12, so that means the skin I should mod is 7...
:bowdown:
 

Phil

Retired Staff
Messages
7,344
Reaction score
0
Points
36
I don't think I can help much But I do know the problem is on line 1321 in topics.php. Did you check that out?
 
Last edited:

Anton

New Member
Messages
196
Reaction score
0
Points
0
}

}

//--------------------------------------------------------------
// Karma Mod
//--------------------------------------------------------------

function karma_options($memid)
{
global $ibforums, $std, $DB;

if ($ibforums->member['g_is_supmod'] != 1 && $this->moderator['allow_warn'] != 1)
{
return "";
}
else
{
$stuff = array( 't' => $this->topic['tid'],
'f' => $this->forum['id'],
'mid' => $memid
);

if($ibforums->vars['karma_display_options'] == 0)
{
return $this->html->karma_options_links($stuff);
}
else if($ibforums->vars['karma_display_options'] == 1)
{
return $this->html->karma_options_drop($stuff);
}
else
{
$temp = "";
$temp .= $this->html->karma_options_links($stuff);
$temp .= $this->html->karma_options_drop($stuff);
return $temp;
}
}
}
//--------------------------------------------------------------
// Render the topic multi-moderation
//--------------------------------------------------------------



Line1321: return $this->html->karma_options_links($stuff);

If you see any erros just tell me, I dont know much about how many spaces after } and so on, Im sure somewhere I have gone wrong, I redone the whole moding, still nothing, I cant locate the error.
 
Last edited:
Top