Jump to content

bfarber

Clients
  • Posts

    163,911
  • Joined

  • Days Won

    346

 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 bfarber

  1. I know a colleague is looking into the ticket. Thanks!
  2. You use custom.css and target whatever you want on the page. You can start with something like [data-pageApp="core"][data-pageLocation="front"][data-pageModule="system"][data-pageController="register"] ...
  3. if ( $app === null ) { /* Each theme... */ foreach( static::themes() as $id => $set ) { if ( $themeId === null OR \in_array( $id, array_keys( $themeSets ) ) ) { \IPS\File::getClass( 'core_Theme')->deleteContainer('css_built_' . $set->_id ); $set->css_map = array(); $set->css_updated = time(); $set->save(); } } /* ACP CSS */ \IPS\Settings::i()->changeValues( array( 'acp_css_map' => '[]' ) ); \IPS\File::getClass( 'core_Theme' )->deleteContainer( 'css_built_0' ); /* Done */ return; } The css_updated parameter is what's used for the version parameter.
  4. define( 'OUTPUT_CACHE_METHOD', 'Redis' ); // Store guest pages in Redis define( 'STORE_METHOD', 'Redis' ); // Use Redis for datastore define( 'CACHE_METHOD', 'Redis' ); // Use Redis for caching define( 'REDIS_ENABLED', true ); // Use Redis for sessions
  5. You can obviously do this on your own site if you want. But yes, the functionality was removed for a reason and this is one of those areas I anticipate we wouldn't allow to be "restored" via a Marketplace contribution.
  6. No, not necessarily. I use WAMP on Windows which creates a directory at C:/wamp/www. My main installation under here is "suite" but you can create any subdirectory you want (or, if this will be the only site you work with, you don't even need to create a subdirectory at all). That said, the exact directory structure is dependent somewhat on the software you use. If you wanted to do this on your webserver, you could create any subdirectory you want as well. Some do /staging or /test or whatever, but there's no specific required subdirectory name you must use.
  7. \IPS\Theme::deleteCompiledCss();
  8. We cache various common data (such as the group permissions, license data, custom profile field configurations, etc.), as well as full HTML pages for guests. There are configuration options that can alter what is cached to an extent.
  9. Our release notes generally detail almost every change: https://invisioncommunity.com/release-notes/ Our blog also highlights the most important changes in major releases: https://invisioncommunity.com/news/product-updates/
  10. I would recommend submitting a ticket. See below for what you should see
  11. Paginating through large record sets is not always super efficient in MySQL. The default value for sort_buffer_size is 262144. If you're using anything less than that, I would recommend starting there. https://dev.mysql.com/doc/refman/5.6/en/server-system-variables.html#sysvar_sort_buffer_size
  12. I would recommend submitting a ticket in that case so we can take a look.
  13. You cannot set a custom theme as default in the AdminCP in 4.5.
  14. Please submit a ticket so we can take a look.
  15. A PR was submitted today to resolve this issue in an upcoming maintenance release.
  16. We have a concept of a "datastore" which is like a basic cache, regardless of whether you have a caching engine enabled or not. Datastores are usually stored on disk, or in a MySQL database table. With Redis enabled, Redis is used for both "datastore" content, as well as true caching.
  17. Allowing your server to fetch arbitrary remote content from user-supplied URLs opens the site up to SSRF security concerns. We mitigated around these concerns but decided in this day and age, the cat and mouse game is really no longer necessary or "worth it".
  18. Well I can't make any promises, but I can say that improvements to how we deliver, group and present notifications is on our radar and is under discussion.
  19. The behavior has changed in 4.5 as uploading supports chunking now. This was how 4.4.x handled the max size. $potentialValues = array(); if( (float) ini_get('upload_max_filesize') > 0 ) { $potentialValues[] = \IPS\File::returnBytes( ini_get('upload_max_filesize') ); } if( (float) ini_get('post_max_size') > 0 ) { $potentialValues[] = \IPS\File::returnBytes( ini_get('post_max_size') ) - 1048576; } if( (float) ini_get('memory_limit') > 0 ) { $potentialValues[] = \IPS\File::returnBytes( ini_get('memory_limit') ); } $this->maxChunkSize = min( $potentialValues ) / 1048576;
  20. It sounds like what is happening is... Guest visits the page. It is rendered, and a cached copy (pointing to specific CSS URLs) is stored. ...At some point in between the last and next step, the CSS files are deleted and rebuilt. Guest visits the page. The cached copy is delivered, however it is pointing to the old CSS URLs and not the new ones. If that theory is correct, I don't believe the issue would persist in v4.5 because CSS filenames are now static and rely solely on the 'v' query string parameter for cache busting.
  21. Yes, this is it right here. Perhaps my wording of "requirement" was not accurate so apologies for that. The fact is, Stripe recommends doing this, so we do it.
  22. The setting referenced only impacts your ability to use the bbcode tags when submitting a post [img]url here[/img] Instead you can simply paste that URL into the editor and it should display as an image.
  23. We have a bug fix for this issue coming in a future maintenance release.
  24. Sounds like you've encountered an issue based on the error message and I recommend submitting a ticket.
  25. The mobile apps are still in beta at this time, which requires you to opt-in to the beta process in either the iOS app store (using Testflight) or the Google Play store.
×
×
  • Create New...