Jump to content

teraßyte

Clients
  • Posts

    33,810
  • Joined

  • Last visited

  • Days Won

    55

teraßyte last won the day on October 28

teraßyte had the most liked content!

About teraßyte

Contact Methods

Profile Information

  • Gender
    Male
  • Location
    Italy

Recent Profile Visitors

30,756 profile views
  1. As a guest, I don't see any 4.2.2 link on that page. Maybe you see an extra link if you're logged in? 🙄
  2. Unless I'm missing something, the latest Tapatalk version for Invision Community 4.2+ is v2.1.1, so the version you see in ACP is correct: https://www.tapatalk.com/download_IPBoard Where exactly did you get this 4.2.2 version? 🤔
  3. Hmm, the shortcut for it doesn't work. Maybe it's because I'm using a really old version of phpStorm... I should really update to the latest version. 👀 EDIT: Oh, found the issue. Somehow the shortcut for it was empty. Not sure when or how it happened but it works now. I should really update to the latest version anyway. 🤦‍♂️
  4. I would still have left them there but all commented possibly. Oh well, just some more copy/paste work for us in the future. 😋
  5. Until beta 4 the listener stubs had a list of methods we could use. In beta 5 you added a use statement for IPS\Db but removed all methods. Any specific reason why you removed them? 🙄 This is InvoiceListenerType.txt from beta : namespace IPS\{app}\listeners; /* To prevent PHP errors (extending class does not exist) revealing path */ use IPS\Db; use IPS\Events\ListenerType\InvoiceListenerType; use IPS\Member as MemberClass; use IPS\nexus\Invoice as InvoiceClass; use function defined; if ( !defined( '\IPS\SUITE_UNIQUE_KEY' ) ) { header(($_SERVER['SERVER_PROTOCOL'] ?? 'HTTP/1.0') . ' 403 Forbidden'); exit; } /** * Invoice Listener */ class {filename} extends InvoiceListenerType { } This is the same file from beta 4: namespace IPS\{app}\listeners; /* To prevent PHP errors (extending class does not exist) revealing path */ use IPS\Events\ListenerType\InvoiceListenerType; use IPS\Member as MemberClass; use IPS\nexus\Invoice as InvoiceClass; use function defined; if ( !defined( '\IPS\SUITE_UNIQUE_KEY' ) ) { header(($_SERVER['SERVER_PROTOCOL'] ?? 'HTTP/1.0') . ' 403 Forbidden'); exit; } /** * Invoice Listener */ class {filename} extends InvoiceListenerType { /** * Fired when the invoice status is changed (e.g. unpaid to paid) * * @param InvoiceClass $invoice * @param string $status The new status * @return void */ public function onStatusChange( InvoiceClass $invoice, string $status ) : void { } /** * Fired when a member is created by an invoice. * * @param InvoiceClass $invoice * @param MemberClass $member The new member * @param array $guestData The original values of InvoiceClass::$guest_data * @return void */ public function onCreateAccountForGuest( InvoiceClass $invoice, MemberClass $member, array $guestData ) : void { } /** * Fired at each checkout step (before submission) * * @param InvoiceClass $invoice * @param string $step The checkout step (customer|pay) * @return void */ public function onCheckout( InvoiceClass $invoice, string $step ) : void { } }
  6. While checking B4 vs B5 I noticed a duplicate height attribute in \applications\core\dev\css\global\framework\4-navigation-panel.css on lines 4-5: .ipsNavPanel{ --i-co: var(--i-navPanel--co); color: var(--i-co); height: calc(100vh - var(--i-sticky-offset)); height: calc(100dvh - var(--i-sticky-offset)); background-color: var(--i-navPanel--ba-co); background-clip: padding-box; border-inline-end: 1px solid color-mix(in srgb, var(--i-navPanel--ba-co), currentColor 20%); flex: 0 0 clamp(280px, 16vw, 340px); position: sticky; top: 0; z-index: var(--i-z-index_offCanvas); display: flex; flex-direction: column; } These are the specific lines: height: calc(100vh - var(--i-sticky-offset)); height: calc(100dvh - var(--i-sticky-offset));
  7. [...] Nvm. I should wake up before replying. 😋
  8. Good to know. I've removed that mixin line from the Model class for now. 🙂
  9. You can follow your hosting's guide: https://www.siteground.com/tutorials/php-mysql/create-user-database/ If you have issues following it you can contact their support for any questions. Or, as Marc mentioned, if you're still unsure how to proceed, it might be best to hire someone to help you manage the site.
  10. As Marc said, it's not good for security to raise that value for a live/production site. However, if you want to raise it for a development site, you can add a constant for it. This is the default value (1 hour): // Number of seconds to consider AdminCP sessions valid for 'ACP_SESSION_TIMEOUT' => 3600, Here's a guide on how to use the file:
  11. It's a moderator permission in ACP: Here's a link to the guide in case you need it:
  12. If you could complete it after clicking continue, it was most likely a temporary write issue with your Amazon S3 bucket. I wouldn't worry about it unless you also get the same error when uploading attachments, etc.
  13. In that case, you need to get that information from your hosting. Or, if you have access to a control panel (cPanel, Webmin, DirectAdmin, Plesk, etc), you must create the database through it and copy the name you enter there.
  14. \define( 'REDIS_CONFIG', '{"server":"127.0.0.1","port":6379,"password":""}' ); Replace the IP in the constants.php file with the socket path from your test file. Try also leaving the port value empty.
×
×
  • Create New...