Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
May 18, 20177 yr Templates are not updated in upgrades. You just need to fix the template by editting. Find: {{if $record instanceof \IPS\Content\Reputation and settings.reputation_enabled}} Replace: {{if \IPS\IPS::classUsesTrait( $record, 'IPS\Content\Reactable' ) and settings.reputation_enabled}}
May 18, 20177 yr 9 minutes ago, Morrigan said: Templates are not updated in upgrades. You just need to fix the template by editting. Find: {{if $record instanceof \IPS\Content\Reputation and settings.reputation_enabled}} Replace: {{if \IPS\IPS::classUsesTrait( $record, 'IPS\Content\Reactable' ) and settings.reputation_enabled}} Beta 3 should hopefully do this automatically, to the best of its ability.
May 22, 20177 yr @Wallieweb - As @Ryan Ashbrook said it should auto-replace them. @Wonko12 did you try to fix I provided in post 2?
May 22, 20177 yr I did but no joy, not 100% sure which template, I am very new to IPB been using xenforo for 3 years.
May 22, 20177 yr You have to be using the 4.2 version (just in case you are still using 4.1.19.x) It will be the "record" template for your database. So if you edit your database settings it will tell you which one it is then go to the templates and find that template and click on the "record" under that template. This is where the above will be. @Wonko12
May 22, 20177 yr Yeah check what template you are using to display the records... if you didn't touch anything in the database, the default is the "Display" template... there you go to record and find the code. It's the code above the highlighted line in the IF statement... as you see I have the correct one.
May 22, 20177 yr It should use the default then, Display. But edit the database and check at the bottom in the templates section, it should say Display. Or whatever it says, choose that one and edit the record entry as shown in the other screenshot.
Archived
This topic is now archived and is closed to further replies.