Jump to content

Ryan Ashbrook

Invision Community Team
  • Posts

    12,727
  • Joined

  • Last visited

  • Days Won

    13

 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 Ryan Ashbrook

  1. In the event your server is ever compromised, the function can be used to execute arbitrary programs on the server, which is a security risk. https://www.php.net/manual/en/function.pcntl-exec
  2. Note, that depending on how large your site is, these processes can take a long time. This is why they are processed after - doing them during the conversion would add a considerable amount of time to a process that can already be lengthy. So, when the background tasks kick off, the site can be opened and used normally while they process, rather than having to wait the extra time. The only caveat being that some things from before the conversion may not appear quite right until they all finish.
  3. After you finalize the conversion, a series of tasks are launched which will gradually parse the posts. You can check their progress in your Admin CP Dashboard. Click the arrow on the Background Processes block, and it will show you the current progress of each individual task.
  4. There's nothing in the uploads/logs folder? If so, try looking in phpMyAdmin directly at the core_logs table, and see if anything is being logged there. It's possible the database is actually connecting, but some other error is occurring.
  5. How are you specifically posting it? I was able to just fine: https://take.ms/Z0CJB Note, that you should post the code exactly as-is, while also using the source button - note there's various slashes in your code that shouldn't be there: https://take.ms/VTrcL
  6. InnoDB is officially recommended, yes. In fact some places, like AWS, don't even support MyISAM anymore. Apache versus Nginx and MySQL vs MariaDB really depend on personal preference, though bear in mind our support team are mostly familiar with Apache and MySQL.
  7. Yes, if items are appearing in the sidebar, then they are being loaded from the cache engine you've enabled.
  8. As mentioned, since it's an old version it's not really supported, but you can find the error being thrown in the /cache/sql_error_latest.cgi file (may not be exact name).
  9. In your Content model, do something like this: /** * Do Moderator Action * * @param string $action The action * @param \IPS\Member|NULL $member The member doing the action (NULL for currently logged in member) * @param string|NULL $reason Reason (for hides) * @param bool $immediately Delete Immediately * @return void * @throws \OutOfRangeException|\InvalidArgumentException|\RuntimeException */ public function modAction( $action, \IPS\Member $member = NULL, $reason = NULL, $immediately = FALSE ) { if ( $action === 'delete' ) { $immediately = TRUE; } return parent::modAction( $action, $member, $reason, $immediately ); }
  10. Not likely. I see you have a ticket in, so we'll take a look. 🙂
  11. Is Mod Security enabled on the new server? If so, try disabling that.
  12. Alternatively, if you already have a centralized membership system outside of IPS, you can create a login handler. This will allow users to authenticate within IPS4 from your centralized system.
  13. This was an issue in a previous version, I believe. If you are not on the latest version, then I recommend upgrading.
  14. That will be something your host would need to advise on, as Mod Security is controlled at the server level.
  15. You shouldn't leave it enabled, but you can use constants.php to enable the Caching log which will tell you if it's loading anything from Memcache or not. \define( 'CACHING_LOG', TRUE ); That being said, though, we generally recommend Redis now.
  16. Without a doubt, clubs is one of the most popular features added to Invision Community in recent times. Invision Community clubs allows you to run sub-communities on your site. We've seen clubs used in many ways, including managing geographically local groups and clan groups for large gaming sites. This popularity drives us to keep incrementally improving the feature set for clubs, and Invision Community 4.5 is no different. One thing that was raised many times was a way for club owners and leaders to create simple pages with general information members need. Happily, in Invision Community 4.5, this feature now exists (and more!) In addition to the title and visual editor that allows full formatting of the page content, there is an additional visibility setting which allows owners and leaders to define which types of members can view the page. This is perfect for showing a page that is only visible to non-members which informs them how to join the club. Likewise, it is a great way to display moderation guidelines to the club moderators only. Of course, owners and leaders will always be able to see all pages added to a club. Additionally, once a page is added to a club, a tab will be added alongside others, and the page can be re-arranged just like the rest. Using this, owners and leaders can create an alternative unique index page for the club. default-view.mp4 This is just one of many club improvements finished for Invision Community 4.5. We'll be talking about these in a future blog!
  17. Both the Vimeo and Facebook embeds are playing for me.
  18. It was mentioned before, but browsers are beginning to roll out CSS options for light / dark mode preferences. https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme
  19. The Translatable helper does not currently support maxLength.
  20. Setting this aside, the manifest file is generated dynamically based on various setting, rather than as a static file. Moving it to a cookie-less domain would require downloading a static file every time any of those settings have changed (of which, there are many spread throughout the suite).
  21. Add this to your constants.php: define( 'EMAIL_DEBUG_PATH', '/path/to/uploads' ); That will prevent emails from being sent out.
  22. There is - it's the Emails link in the ACP Menu.
  23. I wouldn’t get too excited, unfortunately. 😉
  24. Correct - we do have an alias for the previous URL structure to properly redirect, so we'll need to take a look at your site specifically to see why this is not working.
  25. @Lord Nowe I would recommend all, generally. You can really cut down on actual server-side HDD space requirements by pushing as much as possible to S3.
×
×
  • Create New...