Closed Bug 878258 Opened 11 years ago Closed 10 years ago

blackhatteam.com doesn't recognize B2G UA as mobile

Categories

(Web Compatibility :: Site Reports, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: lmandel, Assigned: karlcow)

References

()

Details

(Whiteboard: [uaoverride] [country-all] [sitewait] [serversniff])

blackhatteam.com serves a desktop site to B2G. Bug 823364 added an UA override for this domain. The override should be removed once the domain serves mobile content to B2G. This bug tracks the evangelism for the site to recognize the B2G UA and the removal of the override at that time.
Whiteboard: [uaoverride]
This one I guess will be a case of fixing the initial framework. So there might be a dependency on vBulleting itself. Then once the framework is fixed, to get the people managing to update to the last version of vBulletin.

The current version of BlackHatTeam site is:
 "Powered by vBulletin® Version 4.1.12"

I have searched there is no vbulletin bugs related to Firefox OS.
https://bugzilla.mozilla.org/buglist.cgi?quicksearch=vbulletin

On the other hand I tried to add UA override manually for two others vBulletin sites:

* http://fan-w.com/ 
<meta name="generator" content="vBulletin 3.8.7" />
* http://vbulletin.alexus.org/
<meta name="generator" content="vBulletin 4.1.12" />

The override didn't help getting a mobile site either. :)


I will contact them.
Contacted

============================
Hi,

I'm working for Mozilla. We have identified an issue with your Web site when using Firefox OS. Firefox OS is working on Mobile devices.  We opened a bug with the issue https://bugzilla.mozilla.org/show_bug.cgi?id=878258

Would it be possible for you to contact the right person at blackhatteam and contact us through the bug or directly with me. 

Best Regards.
============================
Tested again today

Firefox    + Android -> Mobile site
Safari     + iPod    -> Mobile site
Firefox OS + ZTE     -> Desktop site

Firefox OS is not taken into account. 

# Firefox OS

GET / HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate, compress
Host: www.blackhatteam.com
User-Agent: Mozilla/5.0 (Mobile; rv:18.0) Gecko/18.0 Firefox/18.0

HTTP/1.1 200 OK
Cache-Control: private
Content-Encoding: gzip
Content-Length: 24278
Content-Type: text/html; charset=ISO-8859-1
Date: Wed, 21 Aug 2013 19:06:52 GMT
Pragma: private
Server: Apache/2.2.23 (Unix) mod_ssl/2.2.23 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635
Set-Cookie: bb_sessionhash=2e747bfd295b136a4b6176b9c349ec20; path=/; HttpOnly
Set-Cookie: bb_lastvisit=1377112012; expires=Thu, 21-Aug-2014 19:06:52 GMT; path=/
Set-Cookie: bb_lastactivity=0; expires=Thu, 21-Aug-2014 19:06:52 GMT; path=/
Set-Cookie: vbseo_loggedin=deleted; expires=Tue, 21-Aug-2012 19:06:52 GMT; path=/
X-Powered-By: PHP/5.2.17


→ http -b GET http://www.blackhatteam.com/ User-Agent:"$FOSUA" | grep -i mobile
<optgroup label="&nbsp;Mobile Styles">
<option value="12" class="" >-- Default Mobile Style</option>



# Firefox for Android

GET / HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate, compress
Host: www.blackhatteam.com
User-Agent: Mozilla/5.0 (Android; Mobile; rv:18.0) Gecko/18.0 Firefox/18.0

HTTP/1.1 200 OK
Cache-Control: private
Content-Encoding: gzip
Content-Length: 6744
Content-Type: text/html; charset=ISO-8859-1
Date: Wed, 21 Aug 2013 19:07:23 GMT
Pragma: private
Server: Apache/2.2.23 (Unix) mod_ssl/2.2.23 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635
Set-Cookie: bb_sessionhash=2cf8e7616824858ce57cd4b1023708ba; path=/; HttpOnly
Set-Cookie: bb_lastvisit=1377112043; expires=Thu, 21-Aug-2014 19:07:23 GMT; path=/
Set-Cookie: bb_lastactivity=0; expires=Thu, 21-Aug-2014 19:07:23 GMT; path=/
Set-Cookie: vbseo_loggedin=deleted; expires=Tue, 21-Aug-2012 19:07:22 GMT; path=/
X-Powered-By: PHP/5.2.17


→ http -b GET http://www.blackhatteam.com/ User-Agent:"$FANUA" | grep -i mobile

var IMGDIR_MOBILE = "images/mobile";
var MOBILE_STYLEID = "12";
var MOBILE_STYLEID_ADV = "12";
<script type="text/javascript" src="http://www.blackhatteam.com/clientscript/vbulletin-mobile-init.js?v=4112"></script>
<script type="text/javascript" src="http://www.blackhatteam.com/clientscript/jquery/jquery.mobile-1.0.vb.js?v=4112"></script>
<script type="text/javascript" src="http://www.blackhatteam.com/clientscript/vbulletin-mobile.js?v=4112"></script>
<link rel="stylesheet" href="clientscript/jquery/jquery.mobile-1.0.min.css?v=4112" />
<a href="http://www.blackhatteam.com/index.php" class="logo-image" rel="external"><img src="images/mobile/vbulletin-logo.png" alt="Black Hat Seo & Affiliate Marketing Forum" /></a>
<a href="http://www.blackhatteam.com/mobile.php?do=login" class="headericon" rel="external"><img src="images/mobile/login.png" /></a>
<a href="http://www.blackhatteam.com/mobile.php?do=gridmenu" class="headericon"><img src="images/mobile/gridmenu.png" /></a>
<a href="http://www.blackhatteam.com/search.php?search_type=1&amp;contenttype=vBForum_Post" class="headericon" rel="external"><img src="images/mobile/search.png" /></a>
<li class="first"><a href="http://www.blackhatteam.com/mobile.php?do=login">Log in</a></li>
Assignee: nobody → kdubost
Whiteboard: [uaoverride] → [uaoverride] [country-all] [sitewait] [serversniff]
Sent an email to bhtfounder gmail.com
Status: NEW → ASSIGNED
no replies. Though I'm tempted to open a new bug for vBulletin specifically.
So I tested vBulletin forum v5.0.5 and it's compatible with Firefox OS. We get a nice version on the screen.

Check http://www.vbulletin.com/forum/ 

I guess it's a matter of blackhatteam upgrading to a newer version of their install.

But given that as of today, nobody receives the mobile content. I'm closing it as INVALID.

Firefox (Android)    -> Desktop
Firefox OS           -> Desktop
Opera (Android)      -> Desktop
UCWeb (Android)      -> Desktop
Opera Mini (Android) -> Desktop
Safari iOS iPod      -> Desktop
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → INVALID
Blocks: 965060
Product: Tech Evangelism → Web Compatibility
Component: Mobile → Site Reports
You need to log in before you can comment on or make changes to this bug.