SimplePortal
Support => English Support => Topic started by: stikkki on December 09, 2009, 05:12:38 PM
-
SP 2.3.1
2.0RC2
http://www.eotsdzine.com/DEMO/index.php
Using core based themes SP 2.3.1. on 2.0RC2 doesnt display the tborder's around the blocks like it did on previous versions of SMF
is this intentional?
i have the portal on my SMF themes demo site as a lot people use portals wanted to show the theme with a portal installed but frankley without the tborder class on blocks it makes the theme look "broke" without the borders displayed - this can be seen on he link above
i know RC2 curve doesnt use tborder's but core based themes do and the borders dont display around the blocks which does diminish themes when used with SimplePortal
-
There is a bug with the way that SimplePortal detects whether or not a theme is based on core, its inconsistent with the method that SMF uses.
The edit below will fix that bug.
$context['SPortal']['core_compat'] = in_array($forum_version, array('SMF 2.0 Beta 3 Public', 'SMF 2.0 Beta 3.1 Public', 'SMF 2.0 RC1', 'SMF 2.0 RC1-1', 'SMF 2.0 RC1 1', 'SMF 2.0 RC1.1', 'SMF 2.0 RC1.2'));
$context['SPortal']['core_compat'] = in_array($forum_version, array('SMF 2.0 Beta 3 Public', 'SMF 2.0 Beta 3.1 Public', 'SMF 2.0 RC1', 'SMF 2.0 RC1-1', 'SMF 2.0 RC1 1', 'SMF 2.0 RC1.1', 'SMF 2.0 RC1.2')) || isset($settings['theme_version']) && (version_compare($settings['theme_version'], '2.0 RC2', '<') || strpos($settings['theme_version'], '2.0 Beta') !== false);
Reported to the ProjectTracker: http://simpleportal.net/index.php?issue=328.0
-
thanx nathaniel, i'll check the edit out later
-
i tried changing the coding but it made no difference
-
Try this then...
$context['SPortal']['core_compat'] = true;
-
Any updates on this issue stikkki? The edit posted by ccbtimewiz should definitely make this work. Although only in themes that need the compatibility code.
-
Hi, sorry for the delay, the edit worked perfect, thanx