MyDevel: Debug

Adds debug functionality to MyBB.
Version: 1.0
Autor: Aries-Belgium
Deutsche Übersetzung: noch nicht übersetzt
Hochgeladen: 08.01.2011
Letzte Aktualisierung: 07.01.2011
Support: https://www.mybb.de/forum/thread-23062.html (0 Beiträge)
Kompatibilität: MyBB 1.6.x
Bisherige Downloads: 7
This plugin is for development purposes only.

As every plugin developer knows, during the development stage of a plugin you need to use var_dump() or print_r() a lot. This is the normal way of debugging in PHP but this breaks the layout and style of MyBB and puts the information on top of the page without any markup or structure. MyDevel: Debug adds two simple functions to MyBB to add debug information in the header and structures it in a more convenient way. Arrays and objects are structured in a tree-like way and levels are (de)collapsible.

[img]http://mods.mybb.com/uploads/previews/3840-1294409738-mydevel_debug_1.thumb.png[/img] [img]http://mods.mybb.com/uploads/previews/3840-1294409782-mydevel_debug_2.thumb.png[/img]

The functions that can be used are:
1) mydump()
This is a variant of var_dump(). It only takes 1 parameter, namely the variable you would like to see.
2) mybacktrace()
This will dump the backtrace to the debug section. It doesn't take any parameter.

The plugin also includes a test package which you can activate if you like to see the functionality of this plugin. After you activated this test package, post a new thread to your forum and you will see the content of the $mybb and $thread_info variable in the header.

There are two settings that can be set:
- The usergroups separated by a comma for which the debug information should be visible. By default this is only usergroup 4 (= Administrators)
- The skin of the debug information.

Quelle: MyDevel: Debug bei MyBB.com

Ähnliche Erweiterungen

FrostBite 1.0
FrostBite 1.0 1.0 von svr2009wwe für MyBB 1.6.x
Stunning Look for simple forum

0 Downloads
! 1.0 Neox Theme !
! 1.0 Neox Theme ! 1.0 von KunTest für MyBB 1.6.x
Animated Collapse, Tooltip, Modal Login Box and much more.

21 Downloads
SuperTux Theme 1.0
SuperTux Theme 1.0 1.0 von FirefoxWiz für MyBB 1.2.x
Theme based off of the game called SuperTux

15 Downloads
Staff Application 1.0
Staff Application 1.0 1.0 von CallOfGFX für MyBB 1.6.x
Plugin for people to apply for staff

8 Downloads
Simplistic Style 1.0
Simplistic Style 1.0 1.0 von FirefoxWiz für MyBB 1.2.x
Simple Blue and Red theme

10 Downloads