Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not Solved How can I learn about MyBB $variables?
#2
Not Solved
There is no official guide to list all variables and its use in MyBB... you can try this following method to fetch the variables... thats how i learnt...


(2011-12-09, 06:23 PM)pavemen Wrote: create a new php called test.php, fill it with the below content and put it in your forum root and then access the url


<?php 
define("IN_MYBB", 1);
include "global.php";
echo '<pre>';
print_r($mybb);
echo '</pre>';
?>
this will dump the entire $mybb object with all its settings, variables, etc.
You can do the same for $db, $lang, $config, $theme, etc.


You can however have a look at the various Plugin Hooks

And this external site also would be of some help...
We can't help everyone, but everyone can help someone - Ronald Reagan
Did you know? Your question has already been answered. But you haven't searched it yet.
Don’t  Forget to “Mark as Solved” after the fix


Messages In This Thread
RE: How can I learn about MyBB $variables? - by mmadhankumar - 2014-11-26, 09:52 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)