Jump to content

Daniel F

Invision Community Team
  • Posts

    6,590
  • Joined

  • Days Won

    37

 Content Type 

Downloads

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Development Blog

Deprecation Tracker

Providers Directory

Forums

Events

Store

Gallery

Everything posted by Daniel F

  1. Something like following code should work. protected function getAllowedCssClasses() { return array_merge(parent::getAllowedClasses(), ['MVN_infoboxes_container','MVN_infoboxes_container-left'....]); }
  2. Seems reasonable! I have posted this to our internal tracker.
  3. IPS\Text\Parser::getAllowedCssClasses() can be hooked to add the additional css classes. Would be much user friendlier 🙂 Also if you're up to suggestions, I would open all the links in your ACP instructions/descriptions in a new window/tab. It's quite annoying and distracting it if opens in the same window before one e.g. copied the classname.
  4. The instructions to manually add the css classes are unnecessary, you can literally create a hook and programmatically whitelist them. I’ve also put on my todo list to see if one could literally create avoid the manual down and upload, it shouldn’t be hard to “fake” the request.
  5. Do you see any errors in your system log/ server error log?
  6. Following 3 tables contain all PM related data
  7. There's a setting which controls the prune timeframe in your ACP => Members => Member Settings ( Profiles ) It sounds like you enabled this?
  8. The members widget contains already settings for todays / this months birthdays.It's not really exactly what you want, but better than nothing. Just a small hint because I noticed recently that many people weren't aware of this:)
  9. Sorry for the confusion, I was only looking at the missing emojis. Stuart mentioned that this is an issue with Windows ( Windows 10 21H2 )
  10. Edit: Ok can't test it on windows, only MacOS
  11. Are you still seeing this? Works fine for me in Safari, Firefox and Chrome
  12. Is the content visible to guests? As far as I know the icons will only appear for content which is visible to guests.
  13. OK here we go:) you can't rely on IPS\Member::loggedIn()->timezone being valid and usable inside new \DateTimeZone() So before you pass it, making sure that it's valid should fix the bug which people are facing. if( \IPS\Member::loggedIn()->timezone and \in_array( \IPS\Member::loggedIn()->timezone, \IPS\DateTime::getTimezoneIdentifiers() ) ..
  14. BTW, small suggestion for the uninstall code: \IPS\Db::i()->dropTable('tbbut_groups'); \IPS\Db::i()->dropTable('tbbut_members'); Wrap these 2 calls into a try-catch IPS\Db\Exception block so that the uninstall process doesn't stop if one of the tables is missing.
  15. I guess the above error was still not fixed? Just found this on a CiC clients system DateTimeZone::__construct(): Unknown or bad timezone () #0 /var/www/html/1/init.php(927) : eval()'d code(130): DateTimeZone->__construct('') #1 /var/www/html/1/system/Patterns/ActiveRecord.php(335): IPS\forums\hook2769->get_bumpLimits() #2 /var/www/html/1/system/Theme/Theme.php(885) : eval()'d code(7567): IPS\Patterns\_ActiveRecord->__get('bumpLimits') #3 /var/www/html/1/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_global_plugins->tbButBumpButton(Object(IPS\forums\Topic))
  16. We have several clients on the cloud with thousands of logged errors
  17. Wouldn't this show Cloudflare as the source? At least that's what I get when the crawler hints are enabled.
  18. Final should be ready by end of the week:) The package size was also succesffuly decreased again:) (If you have SSH access and composer support, you could run composer update to remove everything unncessary) There's also something else coming:)
  19. I'll create a ticket to take a look at this.
  20. IPS won't send any requests to IndexNow suggesting to index such an URL. I guess you mean to add an no index directory to the robots.txt file?
  21. Thank you for bringing this issue to our attention! I can confirm this should be further reviewed and I have logged an internal bug report for our development team to investigate and address as necessary, in a future maintenance release.
  22. That's an issue with a 3rd party application called forms
  23. You could create a rss feed from your IPS stream and use a WordPress plug-in to show the content inside your blog https://www.wpbeginner.com/wp-tutorials/how-to-display-any-rss-feed-on-your-wordpress-blog/#Displaying-any-RSS-Feed-With-a-Widget Or if you’re also having the pages app, you could create a block and embed it inside your blog
  24. I would go with {$content->containerWrapper()?->_title} since not all content has a container, so calling container() could throw an Exception while containerWrapper() will return NULL. I love the new PHP features, Nullsafe operator FTW❤️
  25. You’ll need to ask the 3rd party developer to create the necessary extensions or have somebody else create the achievement extensions for it.
×
×
  • Create New...