Jump to content

teraßyte

Clients
  • Posts

    33,821
  • Joined

  • Last visited

  • Days Won

    55

 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 teraßyte

  1. I'll test with .18 Beta 3 shortly.
  2. Is the admin account you're trying to use restricted somehow in the ACP? If yes, try with an unrestricted account. Without a specific permission, I don't recall which or where it is right now, the upgrader will throw an error.
  3. The auto mode tends to break things often. It would be best if you put the ads in each location manually. 🙄
  4. Just confirming that the tags issue is fixed in 4.7.18 Beta 2. 👍 The updated column issue in the second post is still there for now.
  5. I can reproduce the issue on a fresh 4.7.17 install: Add the Upcoming Events block while viewing a calendar. Now create a club and add a calendar. Issues: Select Everywhere except clubs for the Visibility option => The block shows in both calendar and club view. Select Only in clubs for the Visibility option => The block doesn't show anywhere. I also tried different blocks and applications (like Downloads), but the result is the same. The visibility options are completely broken. 🤷‍♂️
  6. Anyone affected must re-install and re-uninstall the app to fix it for now then. 🤷‍♂️ This kind of fix should really be retroactive to fix sites where the issue already happened, though.
  7. And in case your hosting has no idea how to proceed, and you don't want to move to Cloud, you can hire a 3rd party Provider to do the upgrade for you. 😋
  8. That error is usually thrown if a utf8mb4 character is in the text and your database is not utf8mb4. For example, posting an emoji while the database is utf8/utf8mb3. Is your database using utf8mb4? Maybe something in the YouTube embed has a utf8mb4 Unicode character that triggers the check. 🤔
  9. The column max_threads_error is not a default one. It was added by a modification you installed at some point. You'll need to contact the modification's developer for support.
  10. No, there is no option in the ACP. But you could export the data from phpMyAdmin and choose the CSV/Excel format as output format.
  11. As I said, it was already there on version 4.3.5. It was not added by the upgrade to 4.7.17. Why it was there, to begin with, I'm not sure. 🤷‍♂️
  12. To add some more details, the RebuildPosts task is throwing errors when parsing posts with this mention HTML content: <p> <a contenteditable="false" data-ipshover="" data-ipshover-target="<___base_url___>/index.php?/profile/XXXX-NAME/&amp;do=hovercard" data-mentionid="XXXX" href="<___base_url___>/index.php?/profile/XXXX-NAME/" rel="">@NAME</a> testing a mention post. </p> Removing the A element for the mention hovercard makes the rebuild task proceed with no errors: <p> @NAME testing a mention post. </p> The Rebuild Posts task was already present and throwing errors while on version 4.3.5. I was hoping it was a bug fixed at some point, but even after upgrading to 4.7.17, the error is still there. That's when I investigated the issue and suggested the client post a bug report here.
  13. A will still see a message similar to "You are ignoring posts from this user. Click here to read it" while B will not know he's on the ignore list at all. That said, even if the member is on the ignore list, A should still be able to see B's profile, search for them in the search page, etc. The only option would be to login as them from ACP and go to their ignored users page.
  14. Oh, whoops, I meant to fill in the title with more details yesterday, but it ended up as only "[BUG 4.7.17]". I've updated it. 😋
  15. Yeah, I figured it wouldn't change for v4 at this point. I'm good as long as it's easier to implement it in v5. 👍
  16. Sending unapproved notifications for moderators without the required causes an undefined array key error: Whoops\Exception\ErrorException thrown with message "Undefined array key "can_view_hidden_MODPERMKEY_MYITEMTITLE"" Stacktrace: #9 Whoops\Exception\ErrorException in \system\Content\Content.php:2635 #8 Whoops\Run:handleError in \system\Content\Content.php:2635 #7 IPS\_Content:sendUnapprovedNotification in \system\Content\Item.php:526 #6 IPS\Content\_Item:createFromForm in \system\Content\Item.php:150 #5 IPS\Content\_Item:create in \applications\MYAPP\sources\MYITEM\MYITEM.php:728 #4 IPS\MYAPP\_MYITEM:create in \applications\MYAPP\modules\front\MYMODULE\index.php:93 #3 IPS\MYAPP\modules\front\MYMODULE\_index:new in \system\Dispatcher\Controller.php:107 #2 IPS\Dispatcher\_Controller:execute in \applications\MYAPP\modules\front\MYMODULE\index.php:39 #1 IPS\MYAPP\modules\front\MYMODULE\_index:execute in \system\Dispatcher\Dispatcher.php:153 #0 IPS\_Dispatcher:run in \init.php:940 The issue is in the \IPS\Content:sendUnapprovedNotification() function when it checks the individual item permissions (lines 2616-2641): try { $container = ( $this instanceof \IPS\Content\Comment ) ? $this->item()->container() : $this->container(); $containerClass = \get_class( $container ); $title = static::$title; if ( isset( $containerClass::$modPerm ) and ( $perms[ $containerClass::$modPerm ] === -1 or ( \is_array( $perms[ $containerClass::$modPerm ] ) and \in_array( $container->_id, $perms[ $containerClass::$modPerm ] ) ) ) and $perms["{$modPermKey}{$title}"] ) { $$varKey = TRUE; } } catch ( \BadMethodCallException $e ) { } The IF check uses $perms["{$modPermKey}{$title}"] directly without first doing an isset() check (like it does for $containerClass::$modPerm ). This happened after I added the content item class to my development board and old moderators set up before it are checked and don't have the field/value set.
  17. There's also the option of hiring a 3rd party Provider if you don't want to do it alone: https://invisioncommunity.com/third-party/providers-directory/ With the marketplace closure, I've often helped with this kind of situation. This is a common problem for a lot of site owners. I recently helped upgrade a site with dozens of modifications. I searched for the updated version of everything on the developers' sites. Some were unavailable and I updated them to be compatible with 4.7 myself.
  18. Ok, utf8mb3 is the new alias for utf8 in recent MySQL versions. You have to convert your database to utf8mb4 with the tool in the ACP before upgrading to the latest version. There should be a link to the tool on the ACP > Support page. Click the link and start the conversion from there. Alternatively, there is also a tool you can run from SSH if your database is big (GBs of data).
  19. That's the server collation, not the tables collation. Open the database used by the forum and check the Collation column for all tables on that page.
  20. There shouldn't be any table with that name. 🤔 Is your database using utf8mb4 or a different charset? The utf8mb4 database check is about the only function I can remember that creates that kind of _new suffix.
  21. So, it seems that \IPS\Content\Item::processCommentForm() does not save any values/changes you make to it unless you call save() yourself. That's another difference compared to how the Content Item itself is handled. 🤷‍♂️
  22. I'm adding some custom fields to a comment form in an application, however, adding them is a nightmare, unlike the normal form for the item itself. I had to alter the commentTemplate form template to place the fields in the correct position above the editor. Without the template edit, the fields were added at the bottom inline with the submit button, and the whole look was messed up. There is no easy way to only overload the comment template. I had to copy both commentContainer and comment to use my custom comment template. The \IPS\Content\Controller::_edit() class that loads the edit code/form doesn't use \IPS\Content\Item::commentFormElements() to load the fields, so I had to overload the whole function and add my own field code in there since there is no usable hook point/extension that can be used. The same also applies to \IPS\Content\Item::processCommentForm() since it's not called when editing a comment. Overall the whole process of adding fields to a comment form is a mess. And I assume the same applies to the review form. I expected it to work as it does for items with formElements() and processForm().
  23. I have an application with 2 separate Content Item classes setup. The first one is okay with the normal permissions, but for the second one, I had to add a ContentModeratorPermissions extension to implement some custom permissions. What happens is that the custom permissions are also being shown for the first Content Item class which doesn't need them. The extension needs a way to check the content item class being passed to check if it should return or not the custom permissions.
  24. It's possible to upgrade even if you can't login into the ACP, however, you need to: Manually upload all the files for the latest version. Switch the PHP version to 8.1. Go to /admin/upgrade and login with a known working ACP account. Once the upgrade is complete, you should be able to login again. If not, IPS support (or whoever you hire to do the upgrade for you) will be able to help at that point. Randy's suggestion is probably the best solution given the whole back and forth on this topic. 🤷‍♂️
×
×
  • Create New...