Jump to content

teraßyte

Clients
  • Posts

    33,811
  • Joined

  • Last visited

  • Days Won

    55

 Content Type 

Downloads

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Development Blog

Deprecation Tracker

Providers Directory

Projects

Release Notes v5

Invision Community 5 Bug Tracker

Forums

Events

Store

Gallery

Everything posted by teraßyte

  1. Also, don't go higher than PHP 8.1.x. PHP versions 8.2.0+ are NOT supported by v4.
  2. 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? 🙄
  3. 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? 🤔
  4. 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. 🤦‍♂️
  5. I would still have left them there but all commented possibly. Oh well, just some more copy/paste work for us in the future. 😋
  6. 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 { } }
  7. 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));
  8. [...] Nvm. I should wake up before replying. 😋
  9. Good to know. I've removed that mixin line from the Model class for now. 🙂
  10. 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.
  11. 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:
  12. It's a moderator permission in ACP: Here's a link to the guide in case you need it:
  13. 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.
  14. 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.
  15. \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.
  16. It was available as a plugin for v4 in the marketplace, but it was never a feature included by default.
  17. Live Topics is already their answer to a "chat approach" so I don't think we'll ever see anything "chat-only" later. Additionally, there used to be an IP.Chat application in the past (for v3), but as you can see it's not around anymore. I doubt they'll ever bring back something they already decided wasn't worth it before. 🙄
  18. Most likely you have some old status updates in the database from before you disabled it. If you're not using it you can ignore the warning. Any existing status updates will simply be deleted when upgrading to v5.
  19. and remove string too! 😋
  20. To restore only those specific posts you'd need to write a script for it, restore the old database in another location, and be sure to re-insert the posts with the same ID and update many other tables. Honestly, since you already mentioned the site is small and has few members, restoring a backup from 3 days ago is better and far easier. 🤷‍♂️
  21. Based on the error message, it's a temporary issue on the other side: <h2>Our services aren't available right now</h2> <p>We're working to restore all services as soon as possible. Please check back soon.</p> Nothing that IPS can fix. 🤷‍♂️
  22. You are using PHP 8.3, which is not supported by v4.7. Downgrade to PHP 8.1. 👀
  23. Simply delete all files on the server and tables from the database. That's it. You can then upload the v5 files and use the same database (or make a new one). 🙂
  24. As Marc said, URLs outside of the installation folder are not possible. At most, you can use this URL: https://www.site.com/forum/a/a.html You need to move the forum to the root directory to use the one you want. Once that's done, you'll have this setup: FORUM => https://www.site.com/ STATIC => https://www.site.com/a/a.html/
×
×
  • Create New...