MyBB Community Forums

Full Version: resources for coding plugins
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi Guys,

Looking for a fill list of fields and variables that can be used in plugins and templates, does such a list exist?
Create a file with this content and save it as something that can't be easily guessed.

<?
    define("IN_MYBB", 1);

    require_once "./global.php";

    echo '<pre>';
    var_dump($mybb);
    var_dump($lang);
    echo '</pre>';
?>

Upload it to your server and view it in your browser. it will give you a list of the variables. Don't share this list with anyone though, it contains information about your site that could compromise security.

Source: http://community.mybboard.net/thread-173...#pid115670