News:

We're happy to announce the release of Cleo for SMF 2.1 RC1

 

[SMF 2.1 RC1] Smush v1.2

Started by RunBB, Feb 18, 2019, 06:52 pm

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

RunBB

Feb 18, 2019, 06:52 pm Last Edit: Feb 18, 2019, 07:20 pm by Trax
Smush theme has been updated to version 1.2 to fix the issue with AddThis settings which resulted in "undefined errors"..

To manually apply the fix, open the index.template.php;

Find
Code Select
echo '
 <script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=', $settings['addthis_profile'] , '"></script>';


Replace
Code Select
echo '
 <script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=', !empty($settings['addthis_profile']) ? $settings['addthis_profile'] : 'ra-5a0352c1b1aefd62' ,'"></script>';

Bundi

Brilliant, thanks for this!

RunBB