Page 1 of 1

[RC1] User Useragent Stats

Posted: Mon Aug 27, 2007 8:38 pm
by Dabroz
I made this modification as example use of phPKG, but you may want to install it as separate MOD. ;) It adds list of used systems and browsers by user in his viewprofile. There is also timestamp when the user was using every UA. The data is cached each time uses posts.

There is one screenshot: You can easily install it with phPKG, but if you don't want to, there is a direct link: However if you want to install them by yourself, you will also need two other modifications: UA field in posts_table and imageset. You can get it here: If you already have UA field in your posts table, you will only have to adjust field name (this MODs use post_ua name). Try it out! ;)

Re: [RC1] User Useragent Stats

Posted: Mon Aug 27, 2007 10:30 pm
by playerfr
That is amazing :o

Re: [RC1] User Useragent Stats

Posted: Mon Aug 27, 2007 10:46 pm
by ac_roma
realy its great mod :) but does this mod get data from the user system?

if do it what about this mod load on server

Re: [RC1] User Useragent Stats

Posted: Mon Aug 27, 2007 11:09 pm
by Dabroz
ac_roma wrote:realy its great mod :) but does this mod get data from the user system?

if do it what about this mod load on server
I do not really understand first question... But I'll try to explain how do things work.

1) MOD with id=7 (postua) adds `user_ua` field in `phpbb_posts` table. It also extends submit function that the user agent is read when user posts. It is stored fo further use.
2) MOD with id=15 (feature-gfxua) adds images and functions to convert raw Useragent into System/browser strings
3) This MOD uses both of these features to read data from all user's posts and to process them. It takes some time (but really: this is fast by itself unless someone is using thousends of user-agents ;) ), so resulting data is stored in cache (one cache file for each user). The cache is used when another user want to view profile. Cache is destroyed when user submits another post. So the impact on system load is minimal.

There are also my MODs that display textual and graphical User-Agent in viewtopic for each post, but they are so simple that there is no point to upload them here, I guess (until someone asks for them). ;) They (all of them, actually) can be installed, however, by phPKG. ;)

Re: [RC1] User Useragent Stats

Posted: Mon Aug 27, 2007 11:34 pm
by ac_roma
Dabroz wrote:
ac_roma wrote:realy its great mod :) but does this mod get data from the user system?

if do it what about this mod load on server
I do not really understand first question... But I'll try to explain how do things work.

1) MOD with id=7 (postua) adds `user_ua` field in `phpbb_posts` table. It also extends submit function that the user agent is read when user posts. It is stored fo further use.
2) MOD with id=15 (feature-gfxua) adds images and functions to convert raw Useragent into System/browser strings
3) This MOD uses both of these features to read data from all user's posts and to process them. It takes some time (but really: this is fast by itself unless someone is using thousends of user-agents ;) ), so resulting data is stored in cache (one cache file for each user). The cache is used when another user want to view profile. Cache is destroyed when user submits another post. So the impact on system load is minimal.

There are also my MODs that display textual and graphical User-Agent in viewtopic for each post, but they are so simple that there is no point to upload them here, I guess (until someone asks for them). ;) They (all of them, actually) can be installed, however, by phPKG. ;)
thanks for explain Dabroz ;)

Re: [RC1] User Useragent Stats

Posted: Tue Aug 28, 2007 11:38 am
by saaiberke
I can't download the files, I followed your instructions but it doesn't work. Can you make downloads available in zip or rar file plz? I want to install this manually because I want to know what I change at my board :)

I'm really interested to use this/these MODS.

Grtz,

Nic

Re: [RC1] User Useragent Stats

Posted: Tue Aug 28, 2007 12:23 pm
by Dabroz
OK, I made a ZIP package. See first post.

Re: [RC1] User Useragent Stats

Posted: Wed Sep 26, 2007 6:10 pm
by ChALkeR
Nice ).

Re: [RC1] User Useragent Stats

Posted: Tue Oct 02, 2007 2:31 pm
by saaiberke
Great, thank you very much!!!!

Nic

Re: [RC1] User Useragent Stats

Posted: Thu Oct 04, 2007 9:00 pm
by Marius_Krack
What about other Stats e.g.
- URL that was called from the Users
- Entry Pages
- Exit Pages
- Referrers
- Search Strings (check Referrers from Entry Pages (Google and so on))


sorry for my bad(?) English, but I am from Germany.