News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

K-Detection: Detect OS & Browser Version

Started by Nikola_, October 07, 2006, 08:15:24 PM

Previous topic - Next topic

TrueSatan

The developer is working on a new version and is likely to take on board such requests for it...probably not prior to full release of SMF 2.0 I would guess.

kat

How difficult might it be to make this recognise 64-bit versions of XP and Vista?

Bigguy

It is possible that will be out with the next version but wait to hear from the mod author for sure.

kat

Will-do.

I wondered if simply adding a couple of line of code might do that.

I'll wait for an update.


Spudgun

#124
Could anyone help - I was wondering how to change the 4 colour XP icon for a round Vista icon in this mod when the operating system shown is in fact Vista (does that make sense :-S).

Current XP icon;



Vista icon example;



Thanks
Sg

brianjw

#125
In /Themes/default/images/K_Detection/
you will find the images. If you wanted to change it. I think just rename the file "icon_win_new.png" to "icon_win_new1.png" and upload that vista icon as "icon_win_new.png" (no quotes at all) and all this located in the folder listed at top of post.

Edit: I cannot wait until this mod can store users information in a database so every time I do site maintenance it all just goes away. This way there would be no question marks on posts.

brianjw

Spudgun

#126
Ok - That is of help and thanks for the quick reply. I should have mentioned that I want to keep the original XP icon for XP users but add the new round Vista icon for Vista users. I should have said that from the start, sorry. ;D

I've attached the correctly sized transparent Vista icon. (png)

Thanks for any help anyone can give.

Regards
Sg

brianjw

Sorry. I don't think I can help with that bit...


brianjw

Not currently. If you search the topic with the keyword "emulate" or "1.1.4" you might find some results.

Sabre™

#130
I was pretty good at footy and boxing.
So this emulate thing is beyond me!!
I did exactly what was mentioned, and it uploaded fine.
Then when I clicked install, the error message about how it doesnt support this version of smf etc popped up.
Tried this 4 times..

Sorry, I can be a rusty nail at times, but a mod should never be this difficult to apply!!

Brianjw..
Could you check your PM please mate :)

EDIT:
Its late and Im grumpy..
Soz for the lil rant :D

Brilliant mod Nikola_
I look forward to your update.
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


brianjw

I replied to your PM. ;)

Those of you who want to see this mod updated, PM me. I am not allowed to post the file updated in public without the authors permission, but it's private in PM's. :)

Sabre™

Thanks mate..

Installed easily without a hitch.
Thought something in the display.php was playing up, as I had to install that part manually(mine was different due to soo many other adds), and my OS and Browser were shown as unknown.
Then remembered, it only reads from the posts done from now on. lol..

Hopefully the author finds a way to cover this, as there are soo many showing as unknown.

Thank You very much  :)
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


Sabre™

Quote from: Spudgun on February 14, 2008, 06:12:53 AM
I want to keep the original XP icon for XP users but add the new round Vista icon for Vista users.

Rename the vista icon something like :  icon_win_v
Then upload it to where you have the images stored.. 
It is usually    Themes/default /images/ K_Detection/        unless you have moved them.

Then go into the K_Detection_v2.php, and look for this line
        $k_detected['os'] = "Windows Vista";
        $k_detected['os_ico'] = "win_new";


And change where it says     "win_new"      to      "win_v"
So now it looks like this
        $k_detected['os'] = "Windows Vista";
        $k_detected['os_ico'] = "win_v";


And there you have it.
Enjoy..  and thank you for the image :)
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


Spudgun

#134
That worked great. Thanks very much for the easy to follow support. :)

I have attached the correct size vista icon if anyone else wants to use it.

Kind Regards
Spudgun.

***Teh GodFather***

Is there a list of browsers and OS's which mod recognizes?

Sabre™

Heres a list of the icons within.
It shows which OS & browsers this supports.



Hmmm..   Sorry, the image shrunk.
If you grab this mod, you can look in the images folder. :)
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


cleanfiles

#137
Would really like a version of this for smf 1.1.4  or 1.1.5. which I will be upgrading to very soon if somebody has one. :)
I have tried adding "&emulate_version=1.1.3" to the Url when uploading from my machine to no avail, it still tells me wrong version blah blah. Maybe I'm doing it wrong, there isn't clear instruction on how to use this "&emulate_version=1.1.3" trick.
Anyways would love to use this mod, but maybe its not meant to be..........

brianjw

I've gotten MANY pm requests for this mod updated for version 1.1.X. The developer hasn't been back to update it, so I figured I would post it. Nothing is changed, other than compatibility with SMF 1.1.X.
The developer would probably be okay with it anyway...

cleanfiles

Works like a charm thanks brianjw, and I agree this needs to be available to all smf users.
:)

Advertisement: