Simple Machines Community Forum

SMF Development => Feature Requests => Applied or Declined Requests => Topic started by: Max22 on March 17, 2007, 09:12:43 AM

Title: Major compatibility with firefox, opera, IE7
Post by: Max22 on March 17, 2007, 09:12:43 AM
For me security is important, but also compatibility with firefox, opera, IE7 is important....
Three browsers, three different styles.

Please do something in this sense.
Title: Re: Major compatibility with firefox, opera, IE7
Post by: Dannii on March 17, 2007, 09:25:40 AM
SMF already is compatible with all 3 of those browsers.
Title: Re: Major compatibility with firefox, opera, IE7
Post by: Max22 on March 17, 2007, 09:34:11 AM
Quote from: eldʌkaː on March 17, 2007, 09:25:40 AM
SMF already is compatible with all 3 of those browsers.

Then maybe goes improved compatibility of mods with these three browser...
Mod of ratings add new table in Display.template.php over top_subject and with IE7 borders are different than Opera and Firefox (already reported this problem in specific thread).

// Can they rate the topic?
if ($context['can_rate'] !== NULL)
{
echo '
<table width="100%" cellpadding="3" cellspacing="0" border="0" class="tborder" style="border-bottom: 0;">
<tr valign="middle" class="catbg3">
<td align="left"><b>';
if ($context['rating']['empty'])
echo $txt['ratings_not_rated'];
else
{
echo $txt['ratings_current_rating'], ': ';
for ($i = 0; $i < $context['rating']['whole']; $i++)
echo '<img src="', $settings['images_url'], '/star.gif" alt="*" border="0" />';
//!!! Should have a half star!
if (!empty($context['rating']['half']))
echo '<img src="', $settings['images_url'], '/star.gif" alt="*" border="0" />';
}
echo '
</b></td>
<td align="right">
<form action="', $scripturl, '?topic=', $context['current_topic'], '.', $context['start'], '" method="post" style="margin: 0;">
', $context['can_rate'] == -1 ? $txt['ratings_you_not_rated'] : $txt['ratings_you_have_rated'], '
<select name="rating">';
for ($i = 0; $i < 6; $i++)
echo '
<option value="', $i, '" ', $context['can_rate'] == $i ? 'selected="selected"' : '', '>', $i, '</option>';
echo '
</select>
<input type="submit" value="', $txt[161], '" />
<input type="hidden" name="rate_it" value="1" />
</form>
</td>
</tr>
</table>';
}



Title: Re: Major compatibility with firefox, opera, IE7
Post by: Max22 on March 17, 2007, 09:40:32 AM
Another problem can be given by deleting

padding: 12px 30px 4px 30px;

from body.

This influences compatibility.

I've need to delete this code to extend layout of forum.

Another possible cause is integration inside mkportal, that creates problems with compatibility.
Title: Re: Major compatibility with firefox, opera, IE7
Post by: Dannii on March 17, 2007, 10:02:26 AM
Although they can encourage it, the SMF team can't really enforce anyone to make compatible mods. If there are problems, you should talk to the mod authors.