2011-11-24, 04:22 PM
I've recently coded a new plugin based off "Poll On Index" but when I go to activate to try it out, it isn't listed on the page. The page doesn't die. It just doesn't show.
I've tried commenting out everything but the _info() function. The plugin is based off of a completely working plugin. Just stripped down a lot.
I've tried it with JUST the following:
(yes it's designed for my MyBB 1.4 forum, don't tell me to update, and the other plugin works perfectly in 1.4)
I've tried commenting out everything but the _info() function. The plugin is based off of a completely working plugin. Just stripped down a lot.
I've tried it with JUST the following:
if(!defined("IN_MYBB")) {
die("Direct initialization of this file is not allowed.<br /><br />Please make sure IN_MYBB is defined.");
}
// Plugin info
function thread_header_info() {
return array(
"name" => "Thread in Header",
"description" => "Displays the contents of a thread on the index page.",
"website" => "http://www.jazzza001.com",
"author" => "Jazzza001",
"authorsite" => "http://www.jazzza001.com",
"version" => "1.0",
"compatibility" => "14*"
);
}
(yes it's designed for my MyBB 1.4 forum, don't tell me to update, and the other plugin works perfectly in 1.4)