Author |
Topic |
leatherlips
Senior Member
USA
1838 Posts |
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 01 August 2009 : 10:27:53
|
|
Edited by - Carefree on 01 August 2009 18:14:42 |
|
|
Andy Humm
Average Member
United Kingdom
908 Posts |
Posted - 01 August 2009 : 18:18:59
|
thank you LL & CF
|
|
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 01 August 2009 : 21:59:54
|
You're welcome. |
|
|
Andy Humm
Average Member
United Kingdom
908 Posts |
Posted - 29 October 2009 : 01:57:49
|
We see Windows 7 is being utilised on latest issue computers, does any know the code for showing users with this new platform? Thank you in advance |
|
|
Davio
Development Team Member
Jamaica
12217 Posts |
Posted - 29 October 2009 : 02:30:28
|
This would be for IE8 on WIndows 7: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1)
Firefox 3.5.4 on Windows 7: Mozilla/5.0 (Windows; U; Windows NT 6.1; en; rv:1.9.1.4) Gecko/20091016 Firefox/3.5.4 (.NET CLR 3.5.30729)
So Windows 7 is identified as Windows NT 6.1 in the user agent. |
Support Snitz Forums
|
Edited by - Davio on 29 October 2009 02:38:51 |
|
|
Classicmotorcycling
Development Team Leader
Australia
2084 Posts |
Posted - 29 October 2009 : 12:04:52
|
I only changed my active_users.asp file yesterday when I got the new full Windows 7.quote: Originally posted by Andy Humm
We see Windows 7 is being utilised on latest issue computers, does any know the code for showing users with this new platform? Thank you in advance
I changed the code below:
I added below that the following to include Vista and Windows 7 so it looked like:
Simular to the Browser code, I added the following:
I hope that helps.
|
Cheers, David Greening |
|
|
Andy Humm
Average Member
United Kingdom
908 Posts |
Posted - 29 October 2009 : 17:20:32
|
Thank you David... rgds andy |
|
|
StephenD
Senior Member
Australia
1044 Posts |
Posted - 17 November 2009 : 06:26:40
|
Could anyone share a working active_users.asp page with the changes detailed in this post please. |
|
|
balexandre
Junior Member
Denmark
418 Posts |
Posted - 17 November 2009 : 13:38:00
|
if some wants ...
fell free to add this ones
that's the entire User-Agent ID's |
Bruno Alexandre (Strøby, DANMARK)
"a Portuguese in Danmark"
|
|
|
Etymon
Advanced Member
United States
2385 Posts |
Posted - 17 November 2009 : 13:45:12
|
Hey, thanks, Bruno! Wow! |
|
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 17 November 2009 : 18:33:13
|
quote: Originally posted by StephenD
Could anyone share a working active_users.asp page with the changes detailed in this post please.
Here |
|
|
StephenD
Senior Member
Australia
1044 Posts |
Posted - 19 November 2009 : 04:32:03
|
Many thanks! |
|
|
KC
Junior Member
USA
152 Posts |
Posted - 23 November 2009 : 12:07:52
|
Since you are messing with Active-Users.asp anyway, you can throw in the added Active Users in the Last 24 Hours code I wrote.
Just download or open the http://vales.com/other/active_users24.txt file. Edit the top line to point to your to your Snitz Forum DB. Then copy/paste the entire text here in active_users.asp at about line 65:
. . . if bolAUPage then 'do nothing else response.redirect "default.asp" end if
24 hour code here
'## Ls3k - Before we can do anything we need to get rid of those slackers who have left ;) deleteInactiveUsers() . . .
The display text is in easy to modify html so do whatever you want with color and size wise easy.
|
Owner of vales.com and Elite Computers. |
Edited by - KC on 23 November 2009 12:09:28 |
|
|
balexandre
Junior Member
Denmark
418 Posts |
Posted - 14 December 2009 : 11:59:09
|
Guys, remember to add Google Chrome for Mac
my HTTP_USER_AGENT
says:
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_2; en-US) AppleWebKit/532.5 (KHTML, like Gecko) Chrome/4.0.249.30 Safari/532.5
fell free to update. |
Bruno Alexandre (Strøby, DANMARK)
"a Portuguese in Danmark"
|
|
|
Topic |
|