2014-10-30, 06:26 PM
Well i am a mybb plugin developer or you can say i am just starter so everytime i need to think about mybb variable but today i solved this. All Variables are front of me..
If you are new and also looking for this then this will be helpful for you, however some variables are still in array but its not necessary for now. i know we can see all variables by using "print_r" but its a headache so use my script for easy access:
Create a php file on root of your mybb (mybb installed url) and then put following code into it:
Hope this will be helpfor you..
[Add me reps if you like]
If you are new and also looking for this then this will be helpful for you, however some variables are still in array but its not necessary for now. i know we can see all variables by using "print_r" but its a headache so use my script for easy access:
Create a php file on root of your mybb (mybb installed url) and then put following code into it:
<?php
define("IN_MYBB", 1);
require_once 'global.php';
echo "<table border='1' width='100%'>";
foreach($mybb as $key => $value)
{
echo "<tr><td><h3>";
echo $key;
echo "</h3>";
foreach($value as $val => $va)
{
echo "<br>".$val;
echo " : ".$va;
}
echo "</td></tr>";
}
echo "</table>";
?>
Hope this will be helpfor you..
[Add me reps if you like]