Version 4.7.6

This commit is contained in:
Neo committed 2025-12-19 16:05:19 -08:00
1 parent 8ba7d43898
commit 7b7404e741
1085 files changed
+30590 -7837

No files matched your search

@@ -192,8 +192,8 @@ class _posting extends \IPS\Dispatcher\Controller
/* Save values */
if ( $values = $form->values() )
{
\IPS\Db::i()->update( 'core_tasks', array( 'enabled' => (int) $values['post_before_registering'] ), array( '`key`=?', 'postBeforeRegisterFollowup' ) );
{
\IPS\Db::i()->update( 'core_tasks', array( 'enabled' => ( isset( $values['post_before_registering'] ) ) ? (int) $values['post_before_registering'] : 0 ), array( '`key`=?', 'postBeforeRegisterFollowup' ) );
$clearCss = ( $values['max_video_width'] !== \IPS\Settings::i()->max_video_width );
@@ -565,6 +565,15 @@ class _posting extends \IPS\Dispatcher\Controller
);
\IPS\core\Profanity::createFromForm( $save, $current );
if ( $current )
{
\IPS\Session::i()->log( 'acplog__profanity_edited' );
}
else
{
\IPS\Session::i()->log( 'acplog__profanity_added' );
}
/* Clear guest page caches */
\IPS\Data\Cache::i()->clearAll();
@@ -736,6 +745,15 @@ class _posting extends \IPS\Dispatcher\Controller
/* Clear guest page caches */
\IPS\Data\Cache::i()->clearAll();
if ( $current )
{
\IPS\Session::i()->log( 'acplog__acronym_edited' );
}
else
{
\IPS\Session::i()->log( 'acplog__acronym_added' );
}
\IPS\Output::i()->redirect( \IPS\Http\Url::internal( 'app=core&module=settings&controller=posting&tab=acronymExpansion' ), 'saved' );
}
@@ -760,6 +778,8 @@ class _posting extends \IPS\Dispatcher\Controller
\IPS\core\Profanity::load( \IPS\Request::i()->id )->delete();
\IPS\Session::i()->log( 'acplog__profanity_deleted' );
/* Clear guest page caches */
\IPS\Data\Cache::i()->clearAll();
@@ -783,6 +803,8 @@ class _posting extends \IPS\Dispatcher\Controller
/* Clear guest page caches */
\IPS\Data\Cache::i()->clearAll();
\IPS\Session::i()->log( 'acplog__acronym_deleted' );
/* And redirect */
\IPS\Output::i()->redirect( \IPS\Http\Url::internal( "app=core&module=settings&controller=posting&tab=acronymExpansion" ) );