Ohio Guns Posted May 18, 2017 Share Posted May 18, 2017 Any chance of getting reactions enabled on Pages articles/databases? Link to comment Share on other sites More sharing options...
Morrigan Posted May 18, 2017 Share Posted May 18, 2017 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}} Link to comment Share on other sites More sharing options...
Ryan Ashbrook Posted May 18, 2017 Share Posted May 18, 2017 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. Link to comment Share on other sites More sharing options...
Wallieweb Posted May 21, 2017 Share Posted May 21, 2017 I'm on beta 3. I can't find it in the templates. Link to comment Share on other sites More sharing options...
Wonko12 Posted May 22, 2017 Share Posted May 22, 2017 I am not getting the reactions in any of the pages I have created either. Link to comment Share on other sites More sharing options...
Morrigan Posted May 22, 2017 Share Posted May 22, 2017 @Wallieweb - As @Ryan Ashbrook said it should auto-replace them. @Wonko12 did you try to fix I provided in post 2? Link to comment Share on other sites More sharing options...
Wonko12 Posted May 22, 2017 Share Posted May 22, 2017 I did but no joy, not 100% sure which template, I am very new to IPB been using xenforo for 3 years. Link to comment Share on other sites More sharing options...
Morrigan Posted May 22, 2017 Share Posted May 22, 2017 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 Link to comment Share on other sites More sharing options...
Wonko12 Posted May 22, 2017 Share Posted May 22, 2017 Thanks I will try again. Link to comment Share on other sites More sharing options...
-FP Posted May 22, 2017 Share Posted May 22, 2017 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. Link to comment Share on other sites More sharing options...
Wonko12 Posted May 22, 2017 Share Posted May 22, 2017 It's a new database. Link to comment Share on other sites More sharing options...
-FP Posted May 22, 2017 Share Posted May 22, 2017 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. Link to comment Share on other sites More sharing options...
AndyF Posted May 22, 2017 Share Posted May 22, 2017 Moving to 'Peer to Peer Technical Support' Link to comment Share on other sites More sharing options...
Wonko12 Posted May 22, 2017 Share Posted May 22, 2017 Thank you all working as it should Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.