Version 5.0.0 beta 10

This commit is contained in:
Neo committed 2025-12-19 17:53:48 -08:00
1 parent 56979f8ee8
commit 264eeb97e0
325 files changed
+6442 -1849

No files matched your search

+3 -6
View File
@@ -43,14 +43,11 @@ class {key} extends {class}
*/
public function init() : void
{
parent::init();
// Use this to perform any set up and to assign a template that is not in the following format:
// $this->template( array( \IPS\Theme::i()->getTemplate( 'widgets', $this->app, 'front' ), $this->key ) );
// If you are creating a plugin, uncomment this line:
// $this->template( array( \IPS\Theme::i()->getTemplate( 'plugins', 'core', 'global' ), $this->key ) );
// And then create your template at located at plugins/<your plugin>/dev/html/{key}.phtml
parent::init();
// Note: parent::init() will set a default template, so make sure your template is defined after the parent is called.
}
/**
@@ -0,0 +1,31 @@
<?php
/**
* @brief Club Listener
* @author <a href='https://www.invisioncommunity.com'>Invision Power Services, Inc.</a>
* @copyright (c) Invision Power Services, Inc.
* @license https://www.invisioncommunity.com/legal/standards/
* @package Invision Community
{subpackage}
* @since {date}
*/
namespace IPS\{app}\listeners;
/* To prevent PHP errors (extending class does not exist) revealing path */
use IPS\Events\ListenerType\ClubListenerType;
use IPS\Member\Club;
use function defined;
if ( !defined( '\IPS\SUITE_UNIQUE_KEY' ) )
{
header(($_SERVER['SERVER_PROTOCOL'] ?? 'HTTP/1.0') . ' 403 Forbidden');
exit;
}
/**
* Club Listener
*/
class {filename} extends ClubListenerType
{
}