Recent Topics

1 Jun 05, 2010 21:53    

My b2evolution Version: Not Entered

How can I make it so that hits from IE8 are not logged as unknown?

2 Jun 11, 2010 23:39

drksky wrote:

My b2evolution Version: Not Entered

How can I make it so that hits from IE8 are not logged as unknown?

Really? Is there no way for B2Evo to recognize IE8 or does nobody know how?

This is annoying cause the majority of my hits are now "unknown" cause B2E doesn't know what to do with IE8.

3 Jun 12, 2010 01:46

What version of b2E?

In version 3.3.3 (at least), I see plenty of IE8 UA hits in my stats.

Which begs the question: if they are showing up as unknown... how do you know it's IE8? (not being a smartass... i simply don't understand the problem)

4 Jun 12, 2010 02:16

BushLeagueCritic wrote:

What version of b2E?

In version 3.3.3 (at least), I see plenty of IE8 UA hits in my stats.

Which begs the question: if they are showing up as unknown... how do you know it's IE8? (not being a smartass... i simply don't understand the problem)

I'm running 3.3.1. Hadn't upgraded cause it's just showing as "aging" and it works.

I can see IE8 listed on the User Agents page, but it's marked as Unknown and not Browser. So, on the Hit Summary page, it's lumped in with the Unknown column instead of Browsers.

As far as I can tell, there's no way to mark those unknown agents as a specific type.

Guess it's time to upgrade.

5 Jun 12, 2010 03:10

Gotcha.
I can only comment on 3.3.3, but the code to determine whether it's a browser or not is in the /inc/sessions/model/_hit.class.php file... in the detect_useragent function. My b2e does nothing with the browser version -- it only looks for 'MSIE' in the user agent string along with 'Win' or 'Mac'.

elseif(strpos($user_agent, 'MSIE') !== false && strpos($user_agent, 'Win') !== false)
{
	$this->is_winIE = 1;
	$this->agent_name = 'msie';
	$this->agent_type = 'browser';
}
elseif(strpos($user_agent, 'MSIE') !== false && strpos($user_agent, 'Mac') !== false)
{
	$this->is_macIE = 1;
	$this->agent_name = 'msie';
	$this->agent_type = 'browser';
}

6 Jun 12, 2010 03:43

Can you post the complete user agent string of undetected IE8?

7 Jun 12, 2010 04:02

sam2kb wrote:

Can you post the complete user agent string of undetected IE8?

I looked through the database and there are several Mozilla agents that report as MSIE8 such as:
Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; WOW64; Trident/4.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET CLR 1.1.4322).

This one is counted as a browser. The one that is showing as unknown is:
Internet Explorer 8.0 (Windows XP)

which also is has the highest number of hits.

8 Jun 12, 2010 04:08

Internet Explorer 8.0 (Windows XP)

It's a fake user agent, not the IE8 for sure ;)

The real IE user agent contains "MSIE"

9 Jun 12, 2010 05:11

sam2kb wrote:

Internet Explorer 8.0 (Windows XP)

It's a fake user agent, not the IE8 for sure ;)

The real IE user agent contains "MSIE"

Yikes...that makes me a little nervous.


Form is loading...