Hi
phpBB_mobile_detect is guessing an laptop acer as a mobile device, with this parameters:
acer 4720z, windows xp profissional sp3, internet explorer or firefox.
but, when using chrome, its normal.
How can I solve that?








<script type="text/javascript">
// <![CDATA[
var form_name = 'postform';
var text_name = 'message';
// ]]>
</script><!-- INCLUDE posting_buttons.html -->







<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0;"/>

<!-- INCLUDE breadcrumbs.html --><!-- IF .similar and not S_IS_BOT -->
<!-- INCLUDE similar_topics.html -->
<!-- ENDIF -->

$site = request_var('site', '');
$why = 'Default behavior';
// Mobile site mode
if ($site == 'mobile')
{
$_EXTRA_URL[] = 'site='.$site;
$style = $mobile_style;
$this->data['is_mobile'] = true;
$why = 'Mobile specified in URL';
}
elseif ($site == 'full')
{
//Don't do anything =D
$_EXTRA_URL[] = 'site='.$site;
$why = 'Full specified in URL';
}
// Replace these with mobile URLs
elseif (generate_board_url(true) == 'http://m.your-site.com' ||
generate_board_url(true) == 'http://www.m.your-site.com' ||
generate_board_url(true) == 'http://mobile.your-site.com' ||
generate_board_url(true) == 'http://www.mobile.your-site.com')
{
$style = $mobile_style;
$this->data['is_mobile'] = true;
$why = 'Using mobile URL: ' . generate_board_url(true);
}
else
{... rest of your detect code
$_EXTRA_URL = array('style=' . $style);$_EXTRA_URL[] = 'style=' . $style;<table cellspacing="0">
<tr>
<td class="genmed" align="center">
<a href="{U_THIS_URL}&site=full">Switch to Standard Site</a>
</td>
</tr>
</table>
Users browsing this forum: No registered users and 13 guests