-
Posts
276 -
Joined
-
Last visited
Content Type
Downloads
Release Notes
IPS4 Guides
IPS4 Developer Documentation
Invision Community Blog
Development Blog
Deprecation Tracker
Providers Directory
Forums
Events
Store
Gallery
Posts posted by IBResource ltd.
-
-
When using loose profanity filter with "Block submission" action it works not as expected because of js regexp.
reggie = new RegExp("(?:\\b|\\s|^)(" + looseWords.join('|') + "\\w*)(?:\\b|\\s|$)","ig");
At first it only find words starting with filter. If i try to filter "word" it match "wordpress" but not "sword".
Secondly "\w" does not match non-latin word characters but "\b" includes non-latin letters in opposite.
In last js filters content on browser side only and there is no content validation in php backend when using "Block submission" option. So it's easy to prevent filtering by devtools in browser and post bad words out of control.
Upgrade problem... Fatal error: Cannot use "parent" when current class scope has no parent in
in Technical Problems
Posted
By doing that you have excluded theme plugins from templates compilation. This is temporary solution until next recompilation.
There is an issue with PHP8 uncatchable error, which was deprecated in PHP7.4. Some theme plugin hooks use trick with parent template function overloading in addition to documented hookData() method:
As a workaround you can fool the interpreter by changing
to
The difficulty is that these new errors are not catchable by error handler, so you can't know which hook file is causing them. This often happens with this plugin https://invisioncommunity.com/files/file/9966-back-2-top/ and this app https://invisioncommunity.com/files/file/7940-iawards/