2006-09-09, 01:38 PM
2006-09-09, 02:04 PM
Well you could do this. Add this code to an file and upload it to your forum folder and it will show if it's active or disabled.
Change wordcount, on the line
$plugin_name = 'wordcount';, to whatever the plugins filename is -.php
<?php
define("IN_MYBB", 1);
require_once "./global.php";
$plugin_name = 'wordcount';
$plugincache = $cache->read("plugins");
if($plugincache['active'][$plugin_name]) {
echo $plugin_name." is active";
} else {
echo $plugin_name." is disabled";
}
?>
Change wordcount, on the line
$plugin_name = 'wordcount';, to whatever the plugins filename is -.php
2006-09-09, 02:19 PM
Thanks, thats perfect for what I want to do.