Everything posted by teraßyte
-
Adding css via LoaderAbstract
With the checkLocation line it shouldn't show everywhere. 🤔 On what page(s) do you want to include the CSS file and how did you edit the line to match?
-
Adding css via LoaderAbstract
This is the code I use in one of my apps, I've adjusted it to use the values you posted above: /** * Additional CSS files to load * * @return array<string|Url> */ public function css(): array { $cssFiles = []; # Only add to the frontend, and for a specific app if ( \IPS\Dispatcher::checkLocation( 'front', 'galleryai' ) ) { $cssFiles[] = \IPS\Theme::i()->css( 'custom.css', 'galleryai', 'front' ); } return $cssFiles; } This will only add the CSS file inside the galleryai app pages. If you want it inside another application, for example, gallery, you must change the IF check to: if ( \IPS\Dispatcher::checkLocation( 'front', 'gallery' ) )And so on. You can also further specify a module and controller value in the checkLocation() call.
-
Adding css via LoaderAbstract
What is the code you're currently using?
-
How do I enable the dark mode and light mode?
The default theme in 4.x doesn't support dark mode. Only some custom themes have it.
-
Webp upload test
AVIF support is available in the new 5.0.0 version released a few days ago.
-
EX1364 Error – Cannot Login to Admin Panel or Use Forum
The core_log table is there in the 4th screenshot.
-
EX1364 Error – Cannot Login to Admin Panel or Use Forum
What exact MySQL version? Also, which PHP version?
-
Mark site read
Yeah, I used that functionality a lot myself on the forum index. 😔
-
use IPS\gallery\modules\front\gallery\submit;
What kind of restrictions do you want to implement exactly? Maybe there's another way. 🙄
- Smilies
-
use IPS\gallery\modules\front\gallery\submit;
You can edit the category permissions to control who can upload images. You can use secondary groups to restrict it to only some members. Other than that, not sure.
-
use IPS\gallery\modules\front\gallery\submit;
Which version are you using? You can extend it through hooks on v4. It's impossible on v5 since hooks were removed.
-
[SUGGESTION] Please add ability to modify user Profile Image
Yep. It is possible in 4.x but it was most likely left out while shuffling things around for v5. The option in 4.x is a button on the photo, while it's been moved to a menu for 5.x.
- Version 5
-
Gallery Images stopped fully filling in the grid
You can restore the previous behavior by adding this custom CSS: :is(.ipsFigure--contain, .ipsMasonry) .ipsFigure__main > :is(video, img) { object-fit: fill; }
-
Maria DB for IC 5
I had a client encounter slowness issues using MariaDB 10.3. Updating to 10.11 solved the problem. I am using version 10.11.5 locally without issues, but I know of others using version 11.x without problems. too. I don't recommend using anything lower than 10.11 though.
-
Post content loses styling while editor is loading
Yeah. I've seen it happen, too, when I edit posts on v5. I didn't bother reporting it since it doesn't really affect anything, but it certainly looks odd.
-
Invision Community 5.0.0 Released
The IN_DEV tools download for v5 is included in the download popup:
-
Invision Community 5.0.0 Released
Did you convert your license over to Invision Community Classic? Older licenses purchased (and with renewals) with only some of the applications are not eligible for v5.
-
File Migration to Amazon S3 Incomplete - Some Files Missing or Incorrect URLs (v4.7.20)
When a file is moved to S3, the local copy is deleted from the /uploads folder on your server at the end of the move. If you still have files there, they were not in the file storage you moved to S3. As for files still pointing to /uploads, those links were most likely manually copied/pasted into the editor/posts. Their URLs won't automatically update to the new location. You'd need to manually edit the posts or run a custom script to fix the links.
-
Disable Helpful
Oddly enough, there is no way to disable it. The helpful button will always show as long a you're logged in, the post is not archived, and you're not the author. 🤷♂️ EDIT Try adding this custom CSS to hide the button: li.ipsEntry__controls__helpful { display: none; }
-
ips_kernel folder, what is it?
Yeah. If you have old 3.x files still around, you most likely also have old/unused tables (and columns) in your database. I often perform these kinds of cleanups.
-
The permissions for Downloads custom fields are missing
You added node permissions for custom fields in the Downloads application for 4.7.20, but the code for it is missing in 5.0.0 so you'll lose them and go back to the fields being visible to everyone after the upgrade. 🤷♂️
-
The topics disappeared
This. ☝ How are you moving these forums exactly? What are the steps? 🤨
-
Unable to Complete Upgrade
The only way would be to restore a backup made before you attempted the upgrade.