Jump to content

teraßyte

Clients
  • Posts

    33,387
  • Joined

  • Days Won

    47

 Content Type 

Downloads

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Development Blog

Deprecation Tracker

Providers Directory

Forums

Events

Store

Gallery

Posts posted by teraßyte

  1. In the file /system/File/Amazon.php inside the function deleteContainer() this code is executed when adding a new delete task to delete the files in a bucket folder (container):

    			/* Turn on task */
    			\IPS\Db::i()->update( 'core_tasks', array( 'enabled' => 1 ), array( '`key`=?', 's3_delete' ) );

    The problem is that the task's key is not s3_delete but s3Delete (no space + capitalized). This causes the task to delete the S3 files to not activate correctly.

     

    The same issue is also present inside the code of the s3Delete task to disable itself in 2 different locations.

    Lines 44-50:

    			if ( !( $obj instanceof \IPS\File\Amazon ) )
    			{
    				/* Class is not Amazon, so just stop here and truncate the table as there's nothing we can really do now. */
    				\IPS\Db::i()->delete( 'core_s3_deletions' );
    				\IPS\Db::i()->update( 'core_tasks', array( 'enabled' => 0 ), array( '`key`=?', 's3_delete' ) );
    				return NULL;
    			}

    Lines 96-97:

    			/* Nothing to do, so switch off the task */
    			\IPS\Db::i()->update( 'core_tasks', array( 'enabled' => 0 ), array( '`key`=?', 's3_delete' ) );

     

    Again s3_delete is being used instead of s3Delete.

  2. There was a paid modification from DevFuse for this, but it's not available anymore. The developer has recently gone missing. You'll need someone to make a new modification for you. 🤷‍♂️

     

    EDIT:

    I take that back. Looks like Adriano made a new modification for it already: https://www.invisioneer.org/files/file/220-disable-friendly-number-format/

  3. 12 minutes ago, bearback said:

    Anyway back to my question? if i disable Facebook login, the members who registered using Facebook to create their account. Will they be able to use the default login method ? or will they get locked out of the forum.

    I believe they'll need to click the reset password link on the login screen to set a password if they never set one. Other than that, you should be good.

  4. If you disable the guest group from accessing the site, nobody, not even search engines, will see the content.

    If you also want to control who registers and can see the content, enable the admin validation for new accounts. Or you can disable new registrations, and manually add the accounts for the club if they're only a few. Or only allow certain email domains to register if your club has a specific domain for all members.

×
×
  • Create New...