Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to Display All of MyBB's Variables
03-04-2012, 08:44 AM
Post: #1
How to Display All of MyBB's Variables
This is a cool trick I picked up =)

Make a php file with this code:
Code:
<?php
define("IN_MYBB", 1);
include "global.php";
echo '<pre>';
print_r($mybb);
echo '</pre>';

?>

Then simply load the page in your browser! Every MyBB variable!
find
quote
03-04-2012, 09:04 AM
Post: #2
RE: How to Display All of MyBB's Variables
Neat. I didn't ever think of that.
Thanks for posting it! This is going to make my life easier.

I love to break things.
www find
quote
03-05-2012, 02:20 AM
Post: #3
RE: How to Display All of MyBB's Variables
Really helpful thanks a lot now I don't have to check the db everytime I want change something in a theme

[Image: YnmR8.png]
find
quote
03-05-2012, 04:12 AM
Post: #4
RE: How to Display All of MyBB's Variables
Glad you guys like it =)
find
quote


Forum Jump:


User(s) browsing this thread: 1 Guest(s)


MyBB Addict | Contact Us | Return to Top | Return to Content | Mobile Version | RSS Syndication