Hi really need this one anyone?
How to make this work?
How to make this work?
/ Add hooks here
$plugins->add_hook("showthread_end", "invalidthread");
// Plugin info
function invalidthread_info()
{
return array(
"name" => "invalidthread",
"description" => "invalidthread",
"website" => "invalidthread",
"author" => "invalidthread",
"authorsite" => "invalidthread",
"version" => "1.0",
"guid" => "",
"compatibility" => "16*"
);
}
function invalidthread() {
global $mybb, $thread, $lang;
if ($l['error_invalidthread']) {
error("working");
}
}