Jump to content

Lioncomputer

Members
  • Posts

    30
  • Joined

  • Last visited

Reputation Activity

  1. Like
    Lioncomputer reacted to Marc Stridgen in ability to lock and unlock own topic, not working unless giving additional access   
    No problem at all. Glad we got there in the end
  2. Like
    Lioncomputer reacted to Adriano Faria in iAwards   
    Quick and easy fix. FTP required.
    Download applications / awards / tasks / autoAwardRules.php and find:
    public function execute() { foreach( \IPS\awards\Rule::roots() as $rule ) Change to:
    public function execute() { $rules = array(); foreach( \IPS\awards\Rule::roots() as $rule ) Save and upload.
  3. Like
    Lioncomputer reacted to Matt in 4.7.2 PHP 8 Compatibility Scanner [Please read if upgrading from 4.7.1 or below]   
    Invision Community 4.7.2 now features a third party application and plug-ins PHP 8 compatibility scanner.
    Please read this post as you may find applications of plugins disabled after upgrading.
    Why do we need this?
    The underlying programming language that Invision Community uses is PHP. The latest version, PHP 8 was released in November 2020 and features many breaking changes and incompatibilities that are not backwards compatible. Some of these changes mean that what was a harmless silent notice, is now a fatal error which would mean that if you upgrade with incompatible code, your community would throw a fatal error which results in either a white screen, or a server level error message in your browser.
    These fatal errors cannot be captured by Invision Community and managed. The fatal errors are deeper in the execution chain.
    PHP 8 has been out for close to two years, and PHP 7.4 is 'end of life' and security updates will cease from November which means that it becomes insecure, so everyone will have to move to PHP 8 very shortly.
    What is it
    The compatibility checker examines all third party applications and plugins that you have added from the Marketplace.
    We encourage our Marketplace authors to test with PHP 8 but not all do, and as such applications and plugins that work fine with PHP 7.4 will fail with PHP 8.
    The compatibility checker scans all third party code for issues that could cause fatal errors, and if it finds them it will disable the application or plugin on upgrade.
    The only way to re-enable the application or upgrade is to update it to a 4.7.2 compatible version from the marketplace.
    Can I re-enable disabled third party plugins and applications?
    Yes, if you are confident the plugins and applications are fine to run with your current PHP version then you can re-enable them until our November release which will then enforce the disabling of applications.

    It's worth reaching out to the authors of key plugins and applications to see if they have a PHP8 compatible version available, or plan to have one by November so you can prepare for the November upgrade.
    Is this really needed?
    Unfortunately yes. PHP are making bold changes that are not backwards compatible. Invision Community is fortunate to have so many third party developers releasing apps and plugins to further enhance the feature-set, but we do not have direct control over this code. Our priority is to ensure that your site upgrades smoothly and remains online.
    Why now?
    We finally ran out of road. We have been working towards PHP 8 compatibility for a while, and we have encouraged our third party authors to do so too, and to test with PHP 8. We also informed the developers in August about the scanner and what it may do to their applications. We also have been releasing Invision Community 4.7 betas since May of this year to give them as much time as possible to update their applications. Enforcing this change is painful in the short term but benefits everyone in the longer term.
    What else can I do?
    Your self-hosting license allows you a test install which you should use as a staging site and test any upgrades on that staging site before performing the upgrade on your production site. This will enable you to capture any issues that may arise before you run it on your production site.

    As always, we recommend that a back-up snapshot is taken before any upgrade so that you can easily rollback if you encounter any issues.
    I'm using PHP 7, does this affect me?
    Yes, the compatibility scanner will still run on the upgrade and check for PHP 8 issues so that when you do upgrade to PHP 8 you won't find that your community is no longer working.

    Thanks for reading!
  4. Like
    Lioncomputer reacted to Matt in 4.6: How to restore custom member titles   
    Invision Community 4.6 brings a brand new achievements system which overhauls the ranks system along with adding the ability to earn points which translates into a higher rank via rules.
    As part of the clean-up, we removed the custom member title from the author section of the post as there's a limit to how much information we can show comfortably!
    Of course, some communities used custom member titles and wish to continue using them. Fortunately it's easy enough to get them back.

    Step 1: Log into the ACP and navigate to Members > Profiles > Profile Fields
    Step 2: You will see a group called "Retained", inside is a new custom field called "Member Title". This profile field was used in the upgrade to save the custom member title data. Click on the pencil icon to edit.


    Step 3: Post upgrade, this field is effectively switched off, but it can easily be switched back on. For the "Display format for topics" choose custom and just use: {$content} as the value. This will remove the "Member Title:" prefix. Save the changes.


    You will now see the member title has been restored.


     Advanced tip:  Only do this if you are comfortable making theme edits! If it all goes wrong, don't panic. There is a revert button to undo your changes! Edit the template bit Forums > topics > postContainer in your active theme and move the block highlighted here up underneath the {{endif}} of the {{$comment->isAnonymous()}} block.

     
     
×
×
  • Create New...