定制 marttiphpbb/showphpbbevents 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

marttiphpbb/showphpbbevents

Composer 安装命令:

composer require marttiphpbb/showphpbbevents

包简介

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

README 文档

README

Topic on phpBB.com

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

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

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.

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:

  • 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

Screenshots

Template Events

With the buttons in the upper left corner you can toggle between hiding and showing the events.

Select buttons

You can choose to show small badges or badges with the full name of the events inside it.

Full template event badges

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

Small template event badges

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

Link to code on Github

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.

Links to multiple files

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.)

Multiple lines

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.

PHP events

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.

PHP events tooltip

ACP

Also in the ACP you can inspect template and PHP events.

ACP

统计信息

  • 总下载量: 15
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 4
  • Forks: 1
  • 开发语言: HTML

其他信息

  • 授权协议: GPL-2.0-only
  • 更新时间: 2018-05-07

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固