Re: Enhanced features for mobile users?
[quote author=Ho Fi MZ-3 link=topic=66677.msg1690119#msg1690119 date=1188957861]
Can you edit the smf software, so that it will turn off the 'automatic redirect to wap.'
I would like to browse the site in html and not text, while using my blackberry.
I use the blackberry browser and opera mini and reading thru the smf forums this edit should work.
TURN OFF WAP
Read the last posts by daniel15 and patrick.
// Determine if this is using WAP, WAP2, or imode. Technically, we should check that wap comes before application/xhtml or text/html, but this doesn't work in practice as much as it should.
if (isset($_SERVER['HTTP_ACCEPT']) && strpos($_SERVER['HTTP_ACCEPT'], 'application/vnd.wap.xhtml+xml') !== false)
$_REQUEST['wap2'] = 1;
elseif (isset($_SERVER['HTTP_ACCEPT']) && strpos($_SERVER['HTTP_ACCEPT'], 'text/vnd.wap.wml') !== false)
if (strpos($_SERVER['HTTP_USER_AGENT'], 'DoCoMo/') !== false || strpos($_SERVER['HTTP_USER_AGENT'], 'portalmmm/') !== false)
$_REQUEST['imode'] = 1;
$_REQUEST['wap'] = 1;
Remove this segment of code.
Bump TTT! Sorry for digging up this old post but I too would like to browse the full HTML version on my blackberry without having to resort to Opera Mini. Currently, it always redirects to the WAP2 site, which, although fast, is extremely limited. On some sites I've used that auto-redirect to WAP, they provide a link to the full HTML version (facebook is a good example).
Current: Sterling Gray 2011 Fusion I4 SEL, Auto, SAP, Nav, Sync, Moonroof, Leather, Vision Pkg, Tint, VG SharkFin II
Former: Vapor Silver 2008 Fusion I4 SEL, Auto, SAP, Nav, Sync, Moonroof, Leather, Reverse Sensing, Tint
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.