Differences

This shows you the differences between the selected revision and the current version of the page.

punbb13:extensions:pun_admin_events 2009/07/13 10:01 punbb13:extensions:pun_admin_events 2020/02/06 11:04 current
Line 2: Line 2:
[[punbb13:extensions#Official extensions|PunBB 1.3 official extension]] [[punbb13:extensions#Official extensions|PunBB 1.3 official extension]]
  * Status: **under development**   * Status: **under development**
-  * Current version: **[[http://punbb.informer.com/extensions/pun_admin_events/pun_admin_events.zip|0.8]]**+  * Current version: **[[https://punbb.informer.com/extensions/pun_admin_events/pun_admin_events.zip|0.8.2]]**
===== General idea ===== ===== General idea =====
Line 57: Line 57:
Add this piece of code after line 92 of "<FORUM_ROOT>/delete.php". Add this piece of code after line 92 of "<FORUM_ROOT>/delete.php".
<code php> <code php>
-<?php 
include FORUM_ROOT.'extensions/pun_admin_events/pun_admin_events.php'; include FORUM_ROOT.'extensions/pun_admin_events/pun_admin_events.php';
pun_admin_event('Topic', 'Topic under ID '.$cur_post['tid'].' has been deleted.', true); pun_admin_event('Topic', 'Topic under ID '.$cur_post['tid'].' has been deleted.', true);
-?> 
</code> </code>
Add this after line 102 of "<FORUM_ROOT>/delete.php". Add this after line 102 of "<FORUM_ROOT>/delete.php".
<code php> <code php>
-<?php 
include FORUM_ROOT.'extensions/pun_admin_events/pun_admin_events.php'; include FORUM_ROOT.'extensions/pun_admin_events/pun_admin_events.php';
pun_admin_event('Post', 'Post under ID '.$cur_post['tid'].' has been deleted.', true); pun_admin_event('Post', 'Post under ID '.$cur_post['tid'].' has been deleted.', true);
-?> 
</code> </code>
== Example 2 == == Example 2 ==
Line 102: Line 98:
?> ?>
</code> </code>
- 
===== Screenshots ===== ===== Screenshots =====
{{:punbb13:extensions:pun_admin_events.png|}} {{:punbb13:extensions:pun_admin_events.png|}}

Personal Tools