2017 © Pedro Peláez
 

phpbb-extension showphpbbevents

This extension for developers shows all phpBB core template and PHP events (phpBB 3.2.2)

image

marttiphpbb/showphpbbevents

This extension for developers shows all phpBB core template and PHP events (phpBB 3.2.2)

  • Thursday, May 31, 2018
  • by marttiphpbb
  • Repository
  • 3 Watchers
  • 1 Stars
  • 0 Installations
  • HTML
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

phpBB Extension - marttiphpbb Show phpBB Events

Topic on phpBB.com, (*1)

This extension is a helper tool for developing (other extenstions and styles). It should not be used on a live forum., (*2)

This extension was formerly called "Template Events", but since it shows now also the PHP events it has been renamed., (*3)

This phpBB extension for developers shows all core phpBB template and PHP events in the board. The template events are rendered at their location as black labels. The PHP events triggered on the page are shown at the bottom in order of occurance. All template and PHP events are linked to their location in the phpBB github repository so their context can be easily reviewed., (*4)

Requirements

  • phpBB 3.3+
  • PHP 7.1+

Quick Install

You can install this on the latest release of phpBB 3.3 by following the steps below:, (*5)

  • Create marttiphpbb/showphpbbevents in the ext directory.
  • Download and unpack the repository into ext/marttiphpbb/showphpbbevents
  • Enable Show phpBB Events in the ACP at Customise -> Manage extensions.

Uninstall

  • Disable Show phpBB Events in the ACP at Customise -> Extension Management -> Extensions.
  • To permanently uninstall, click Delete Data. Optionally delete the /ext/marttiphpbb/showphpbbevents directory.

Support

License

GPL-2.0, (*6)

Screenshots

Template Events

With the buttons in the upper left corner you can toggle between hiding and showing the events., (*7)

Select buttons, (*8)

You can choose to show small badges or badges with the full name of the events inside it., (*9)

Full template event badges, (*10)

When you hover with the mouse cursor over an "event badge", a tooltip pops up with information., (*11)

Small template event badges, (*12)

When you click on the badge, you are redirected to the file and line where the event is in the phpBB code (on Github)., (*13)

Link to code on Github, (*14)

Some events occur multiple times in the phpBB core code. These locations are listed in the tooltip, with the current location marked. You can enter the tooltip with the mouse pointer and click on any of the file locations to inspect the core code., (*15)

Links to multiple files, (*16)

Some events occur more than once in one file. The line numbers are listed in parentheses after the filename. (The link is to the first occurence in the file.), (*17)

Multiple lines, (*18)

PHP Events

At the bottom of the page you'll find all core phpBB PHP events in order and number of times they were invoked on the page rendering. Same as the template events, you can click on the filename to inspect the code., (*19)

PHP events, (*20)

When you click on a row in the phpBB PHP events table, a tooltip with more information pops up. All the variables that are passed to the PHP event are listed with their types., (*21)

PHP events tooltip, (*22)

ACP

Also in the ACP you can inspect template and PHP events., (*23)

ACP, (*24)

The Versions

31/05 2018

dev-master

9999999-dev https://github.com/marttiphpbb/phpbb-ext-showphpbbevents

This extension for developers shows all phpBB core template and PHP events (phpBB 3.2.2)

  Sources   Download

GPL-2.0

The Requires

 

template extension php development events phpbb

31/05 2018

1.6.3

1.6.3.0 https://github.com/marttiphpbb/phpbb-ext-showphpbbevents

This extension for developers shows all phpBB core template and PHP events (phpBB 3.2.2)

  Sources   Download

GPL-2.0

The Requires

 

template extension php development events phpbb

04/05 2018

1.6.2

1.6.2.0 https://github.com/marttiphpbb/phpbb-ext-showphpbbevents

This extension for developers shows all phpBB core template and PHP events (phpBB 3.2.2)

  Sources   Download

GPL-2.0

The Requires

 

template extension php development events phpbb

04/05 2018

1.6.1

1.6.1.0 https://github.com/marttiphpbb/phpbb-ext-showphpbbevents

This extension for developers shows all phpBB core template and PHP events (phpBB 3.2.2)

  Sources   Download

GPL-2.0

The Requires

 

template extension php development events phpbb