PDA

View Full Version : Statistics Modifications - Cyb - Visitors in Last X Hours


Valter
08-03-2006, 10:00 PM
vB 3.7 VERSION HERE:
https://vborg.vbsupport.ru/showthread.php?t=177965

===

Features:
-Show how many users (members + guests) visited forum in last x hours
-Show members listing
-Show member last activity on mouse-over
-Invisible members are shown as "Invisible" for those who has no permissions to view them
-Option to add fake guests
-Optionally usergroups legend can be shown below VILXH box
-By default all usergroups where HTML tags are filled out will be listed in legend
-You can exclude usergroups from showing in legend
-You can exclude usergroups from viewing VILXH


Installation:
1. Import XML file (as product) - AdminCP > Plugin System > Manage Products > [Add/Import Product]

2. OPTIONAL (For customized styles where VILXH is not shown automatically):
-In FORUMHOME template add "$cyb_vilxh" after:
<div>$activeusers</div>
</div>
</td>
</tr>
</tbody>


Versions:
v1.0 - Oct 02. 2005.
-Initial release
v1.5 - Apr 25. 2006.
-Known bugs fixed
-Compatibility improved
v1.6 - Apr 25. 2006.
-Compatibility improved
-New: Usergroup legend
v1.7 - Aug 04. 2006.
-Release of this hack for vB v3.6
v1.8 - Aug 05. 2006.
-Uncached template bug fixed
v1.9 - Aug 14. 2006.
-Added last activity info on mouseover (format: date, time)
-Users who have chosen to be invisible while online will be shown as "Invisible" for those who has no permissions to view invisible members
-You can customize "Invisible" phrase or replace it with some icon or something in ACP (HTML)
-Last activity info will be shown for invisible members too when you mouse over "Invisible"
v2.0 - Oct 30. 2006.
-Whole code is now valid XHTML 1.0 Transitional
-Added option to exclude usergroups from viewing VILXH box
-Added option to hide usergroups from showing in legend
-Added "Product Version Checking"
v2.1 - Sep 17. 2007.
-New: Number of guests who visited forums in last x hours
-Option to add fake guests
-Option to disable automatic placement of VILXH box on forumhome
-Last activity info shown using today/yesterday for current and previous day
-Several minor bugs fixed
-Optimized and compatibility improved
v2.2 - Sep 25. 2007.
-Only selected usergroups are shown in the Usergroup Legend
-Usergroups with no HTML tags set are still automatically excluded
-You can choose the order of the usergroups in the legend
-Fixed bug where users are not displayed using tags from their default usergroup
v2.3 - Oct 23. 2007.
-New: Option to disable guest stats
-New: Option to hide completely invisible members
-New: Cut-off member list and show all on user request via AJAX
-Minor bug fixes


Live DEMO: http://www.bihforum.com


Mark as installed to get updates and support. (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=122999)

alluidh
08-04-2006, 08:41 AM
Hi

Are you able to put the output in a popup-version?

Posof
08-04-2006, 09:02 AM
Very nice,

Thx

proxus
08-04-2006, 09:08 AM
Installed. Thanks

karlm
08-04-2006, 05:14 PM
looks good... i've used a few of your hacks on 3.5.4, and recently upgraded (so uninstalled all hacks) to 3.6
Once i'm more comfortable with 3.6, i'll be installing this.

I'm clicking "install" now though so i can come back to it (i have a habit of forgetting where things are, so it'll be handy to have it listed in my usercp).
As soon as i do install it - i'll let you know.

bspiller82
08-04-2006, 11:03 PM
Care to cache the template?

Uncached templates: cyb_lastxhoursvisitors_logged (50)

Valter
08-05-2006, 07:09 AM
v1.8 - Aug 05. 2006.
-Uncached template bug fixed

Thanks bspiller82 ;)

aLReeMi
08-05-2006, 09:30 AM
Thanks!
installed.

ForYou
08-05-2006, 11:58 AM
Hello ,

What about invisball Users , they show in the list , !!!???

Snake
08-05-2006, 04:41 PM
Thank you! :)

sportsoutlaw
08-05-2006, 05:38 PM
awesome, once installation that covers two of the things on my forumhome. Downloading now, will install on all 4 forums today.

Thanks!

ayaam
08-10-2006, 07:30 AM
5 starts :)

thanks alot

Valter
08-14-2006, 02:04 PM
v1.9 - Aug 14. 2006.
-Added last activity info on mouseover (format: date_time)
-Username of user who have chosen to be invisible while online will be replaced with "Invisible" (except for usergroups who can view invisible members where "*" will be added after username)
-You can change "Invisible" phrase or replace it with some icon in ACP using HTML codes
-Activity info will be shown for invisible members too when you mouse over "Invisible"

MRGTB
09-12-2006, 11:35 AM
very good, clicked installed

jellybaby
09-12-2006, 01:26 PM
Would it be possible to do this so that only certain membergroups can see this?

Karabaja
09-12-2006, 02:06 PM
Thx Cybernetec, installed it.

But is there a way for me to change the order of usergroup legends?

For example I have this "Users Awaiting Email Confirmation" and I would like it to be displayed as first on the right side, but it is not now.

I can just disable show usergroup legend and add them myself in forumhome template, but I was just wondering if I have to do it.

MRGTB
09-14-2006, 02:36 AM
there is a time difference bug. When you logged-on as admin in invisible mode and mouse over your name with the * displayed against it. It shows the correct time you were last there. When you log-out and mouse over the invisible link, it shows an hour less. IE: Instead of showing 4:35 like it did when I was logged-on. It shows 3:35 when logged off and moused over the same name.

Also how do you get the usergroups to show up. is it suposed to show all the deafault usergroups? As I seen nothing there listed.

Valter
09-14-2006, 02:50 AM
1. It is NOT bug.

It's because of different time settings in your UserCP and AdminCP.

2. It will show all users who visited in last X hours.

MRGTB
09-14-2006, 02:54 AM
I don't really follow you. When logged on as admin. My time zone in my usercp is setup for UK time. I see the correct time as admin I last visited (which is the same time as my PC Clock. But when I logged out as admin, and viewed the board as a guest and hovered over the inviable name link. It shows an hour behind. Are you saying I need to enable DAYLIGHT saving in the admin cp so guests see 1 hour forward.

MRGTB
09-14-2006, 03:13 AM
Ok I see what you mean now, I needed to enable "day light saving" in admincp. But what about the other question I asked. When I have the Usergroups option enabled. There is nothing showing up. Is there a setting or something in the admincp I'm over-looking that has to be enabled for them to show up in the hack

Valter
09-15-2006, 10:16 AM
All usergroups with HTML markups defined will be listed there.

As I can see on your board you haven't added any HTML markups for any usergroup.

brvheart
09-21-2006, 12:55 PM
EDIT: dang it, I forgot that I installed that other one, sorry...had a dumb moment, that is what happens you stay up for 20 hours and then try to look at code...thanks for the reply....sorry for the dumb question :(

Valter
09-22-2006, 06:07 AM
brvheart,

It seems you have installed two hacks which do the same thing as "Cyb - Visitors in Last X Hours". One of them lists users who visited forums today and another one shows usergroups legend.

Go to your Product Manager and remove unneded hacks.

Martin-TMGRS
09-22-2006, 02:00 PM
Yet another great plugin from you Cybernetec :D , clicked installed. Thanks

sensimilla
09-28-2006, 10:39 AM
Installed thanks!

Masiello
09-29-2006, 11:14 AM
clicked install, you and Paul made the best hacks that I use only, I hope all hack have been upgrade when vB 3.6.2 released :)
Thanks for the hack

aceofspades
09-29-2006, 02:03 PM
I have installed this hack and it is fantastic, but i do have a question. Can you please tell me how i can remove the bar that has the usergroups with their markups, i.e

Administrators - Clan Member Moderators

Thank you

Valter
09-29-2006, 05:31 PM
Turn off "Usergroups Legend" in hack settings.

oberheimhaven
09-29-2006, 07:30 PM
Will this work with fake community stats??

Valter
09-29-2006, 07:35 PM
Will this work with fake community stats??
I don't think so.

This shows only registered members who visited site in last x hours.

Masiello
09-30-2006, 11:16 AM
Is there any way to show with a certain usergroups (example: Admin, supermoderators, registered members, ecc..) the total guests visited the forum in last 24 hours?
It's possible to add that feature?

Ev!L ErN!E
10-20-2006, 06:05 AM
I like the usergroup feature, but is there a way to only show certain usergroups? I have alot of usergroups with html markups, and it looks cluttered when enabled, so I'd just liek to show certain ones like, Admins, Mods, Friends etc...

Is that possible?

Valter
10-30-2006, 10:36 AM
v2.0 - Oct 30. 2006.
-Whole code is now valid XHTML 1.0 Transitional
-Added option to exclude usergroups from viewing VILXH box
-Added option to hide usergroups from showing in legend
-Added "Product Version Checking"

To upgrade: Import XML, allow overwrite.
For very customized styles check optional installation step instructions.

dimdan
11-01-2006, 01:15 PM
Turn off "Usergroups Legend" in hack settings.


noob question,where exactly is that? :cross-eyed:

jluerken
03-04-2007, 09:42 PM
Hi Cybernetec,

how can I make your mod working with this one?
https://vborg.vbsupport.ru/showthread.php?t=139402

Valter
03-05-2007, 08:49 AM
Hi Cybernetec,

how can I make your mod working with this one?
https://vborg.vbsupport.ru/showthread.php?t=139402
Hi,

You may ask that hack author to make add-on for this hack.

jluerken
03-05-2007, 10:10 AM
Hi,

You may ask that hack author to make add-on for this hack.

I'll do but maybe you can extend your's to reflect this also or?

karlm
04-15-2007, 07:05 PM
I had this working previously - without fault. However, I moved my forum and now it will not work. I've completely uninstalled it, reuploaded (allowing overwrite) and it will not show, even when using the 'optional' code for customized skins. I've tried it on various skins and it just doesn't seem to work :(Any ideas?my site is: http://antimisandry.com/forum

Valter
04-16-2007, 04:32 AM
I'm not sure what it can be. You can create temp admin account for me to check it if you wish.

Andyucs
04-16-2007, 10:02 AM
Cybernetec i luv the work you do m8ty another corker

you should do all the hacks here

just upload product all done no maunual template edit's

i have nearly all of your hacks installed on my forums

gg4gg
04-23-2007, 04:02 PM
Very nice hack
installed
soon i will translate it to Arabic language .

dbirosel
05-03-2007, 05:30 AM
for some reason the count of viewers are jumping...?

There will be times when it is 100 then later on 150 then later on again dropping at 125. What's going on?

D.Ilyin
05-04-2007, 04:54 AM
Futures req:
1. Option to display certain number of visitors on forumhome (for large boards)
2. Link on page with all visitors in last X hours.

dazed12
05-05-2007, 05:07 PM
excellent work cyb, keep it up!

inciarco
05-12-2007, 01:08 PM
Magnific Add-On!! :up:

Works Ok With vBulletin 3.6.6!! :up:

:)

bigsbydapicka
05-12-2007, 04:33 PM
This addon causes 3.6.6 to hang when using Internet Explorer. Mozilla works fine. Same issue as being reported on the "Who's visited" mod.

https://vborg.vbsupport.ru/showthread.php?t=121883&highlight=%3Awho+visited%26quot%3B%26quot%3B

Valter
05-12-2007, 09:56 PM
This addon causes 3.6.6 to hang when using Internet Explorer.
Nope, it works fine.
www.bihforum.com

bigsbydapicka
05-12-2007, 11:30 PM
It will likely work for some and not others as the other hack is.

Tuga??
06-18-2007, 09:46 PM
i got the same problem in my site ass well if i disable will work fine

Kodyr
06-19-2007, 02:15 PM
Have any clue why its making it double?
http://habbcrazy.net/forum/ (Bottom Of Forum)

acidburnz
07-12-2007, 10:36 PM
Thanks so much, this is an awesome plugin and is just what i was looking for. Cheers mate (clicked installed).

yaoren
07-18-2007, 09:20 PM
works very nicely on 3.6.7. Thanks

**Installed**

moveforward
07-23-2007, 07:20 PM
Installed - very nice and easy to install. Thanks

VNFriends
07-31-2007, 01:55 PM
I wanna show total visitors include members & guests same as Currently active users
How can I have to do?

Valter
09-17-2007, 12:24 AM
v2.1 - Sep 17. 2007.
-New: Number of guests who visited forums in last x hours
-Option to add fake guests
-Option to disable automatic placement of VILXH box on forumhome
-Last activity info shown using today/yesterday for current and previous day
-Several minor bugs fixed
-Optimized and compatibility improved

To upgrade: Import product XML, allow overwrite.

IR15H
09-17-2007, 12:51 PM
It displays twice.

The auto edit doesn't display a users secondary group, even if it's set to display as that group. Also, this is a minor thing, but would it be possible to manually choose the order of the groups in the legend in a future version?

Other than those few things, very nice :).

Valter
09-17-2007, 01:02 PM
It's not shown twice. I believe it's another hack which adds second box.

Users active in the past 24 hours: 94 (41 members and 53 guests) is VILXH box.

IR15H
09-17-2007, 01:09 PM
Ah yes, indeed it is, now I feel dumb. That's fixed that then. Ummm, just the displaying secondary user groups then.

Makc666
09-24-2007, 01:20 PM
Cybernetec, I think it is better to replace:
Usergroups excluded from legend (comma separated ID list)
with
Usergroups shown in legend (comma separated ID list)
And set it default for 2,3,4,5,6,7,8

This will avoid misunderstanding.
As for example on my forum I have a big list of technical groups + I have hidden groups. When I installed this one today I need to add about 10 groups to exclude list. And for some period of time users were able to see my hidden groups.
+
At the current moment every time I add a new user group I have to remember to exclude it! Not the best variant.

Valter
09-24-2007, 11:09 PM
v2.2 - Sep 25. 2007.
-Only selected usergroups are shown in the Usergroup Legend
-Usergroups with no HTML tags set are still automatically excluded
-You can choose the order of the usergroups in the legend
-Fixed bug where users are not displayed using tags from their default usergroup

Upgrade info:
-Import product XML, allow overwrite.
-Check settings and update "Usergroups shown in legend" if needed

IR15H
09-25-2007, 04:46 AM
v2.2 - Sep 25. 2007.
-Only selected usergroups are shown in the Usergroup Legend
-Usergroups with no HTML tags set are still automatically excluded
-You can choose the order of the usergroups in the legend
-Fixed bug where users are not displayed using tags from their default usergroup

Upgrade info:
-Import product XML, allow overwrite.
-Check settings and update "Usergroups shown in legend" if needed


Works perfectly. Thanks!

Makc666
09-28-2007, 03:26 PM
Cybernetec, can you please add an future that when we clear out option in ACP:
This will be shown for invisible members
options['cyb_visitorslastx_invisible']
then such users are not displayed VILXH box.

Because now when we clear out This will be shown for invisible members registered users see a comma (,) or several commas (, , , ,) for invisible users.

This will be the same as normal behaviour for registered users as it is in vBulletin's box.

Thanks

Karabaja
10-20-2007, 03:00 PM
I have a couple of suggestions.
If you could please add an option to disable guest visits.
And it would be nice to have a cut off at certain point, like show only X users (1000 for example) and a link to "show all" on a separate page. I've been getting over 1000 members lately and that list is getting long for a main page.
I've seen that option on some board, but can't remember where, it was probably a different hack anyway, but would be very nice to have in this one.

Valter
10-20-2007, 11:05 PM
Cybernetec, can you please add an future that when we clear out option in ACP:
This will be shown for invisible members
This will be added.
If you could please add an option to disable guest visits.
Will be added.
And it would be nice to have a cut off at certain point
Will be added.

Valter
10-23-2007, 02:11 AM
v2.3 - Oct 23. 2007.
-New: Option to disable guest stats
-New: Option to hide completely invisible members
-New: Cut-off member list and show all on user request via AJAX
-Minor bug fixes

To upgrade: Import product XML, allow overwrite.

Karabaja
10-23-2007, 06:56 AM
v2.3 - Oct 23. 2007.
-New: Option to disable guest stats
-New: Option to hide completely invisible members
-New: Cut-off member list and show all on user request via AJAX
-Minor bug fixes

To upgrade: Import product XML, allow overwrite.

Thanks a lot. Great job.

nedo_a
11-06-2007, 11:46 AM
i have problem....when i cros over user example me, its showing that i was online last time Today 6:52...but i am online already

apiasto
11-14-2007, 12:07 AM
another great upgrade thnx cyber,the feature you added in 2.3 about fake guests when i add fake names it doesn't sohw the names.can you help?i was wondering if you gonna add fake threads n fake posts as well,thats the only thing missing,you know fun for the whole family .lol

Valter
11-14-2007, 02:17 AM
another great upgrade thnx cyber,the feature you added in 2.3 about fake guests when i add fake names it doesn't sohw the names.can you help?i was wondering if you gonna add fake threads n fake posts as well,thats the only thing missing,you know fun for the whole family .lol
It's not to add fake members to the list, but to add fake number of guests who visited forum in last x hours.

bkpaul
11-14-2007, 09:33 AM
Just what I needed, thanks for your hard work.!!

apiasto
11-14-2007, 11:14 AM
It's not to add fake members to the list, but to add fake number of guests who visited forum in last x hours.

oh ok,i am better with the old version then .thanks:D

Valter
11-27-2007, 03:17 PM
oh ok,i am better with the old version then .thanks:D
v2.3 has some new nice features and bug fixes, so it's recommended to use latest version anyway. :)

ukcobra
11-28-2007, 11:00 AM
Wow, that was easy, I like that. Clicking Install. Many thanks.

Skavenger
12-22-2007, 03:25 PM
hi, how does this modification track guests? it counts one per visit or one per page view?

Valter
12-23-2007, 01:10 AM
hi, how does this modification track guests? it counts one per visit or one per page view?
One per visit/IP address, no matter how many pages you view.

gnubittol
12-23-2007, 11:36 PM
Can you set the plugin code has been set to run on "all pages" ?
this will be useful to create cmps module to use the following variable:
$cyb_vilxh
$vilxh_total

fintan74
12-30-2007, 01:16 PM
Great product! Installed and working fine...

...except one minor thing which is surely a setting on my end. When hovering over a user it shows 'Today, H:i' instead of 'Today, 23:15'. Any idea why? I have been going through all the code I could find, but can't seem to find is. Thanks...

fintan74
12-30-2007, 02:28 PM
Great product! Installed and working fine...

...except one minor thing which is surely a setting on my end. When hovering over a user it shows 'Today, H:i' instead of 'Today, 23:15'. Any idea why? I have been going through all the code I could find, but can't seem to find is. Thanks...
Ah, solved... When installing Cybernetec's Advanced Stats I noticed in the readme that adding % before a variable can solve these sorts of issues. Changing 'H:i' in one of the templates to '%H:%I' did the trick for me...

Artes_Marciales
12-31-2007, 02:20 PM
Thanks Great hack!! :)

but...
how to disable it?
-Show member last activity on mouse-over

Thanks! :)

vbob
01-10-2008, 03:47 PM
I was looking for a mod like that...!!! It is very usefull!!!
Thank you very much...!!!! :-):)

Makc666
02-08-2008, 02:36 PM
The one think I noticed today is that your friends are not showen with (+) sign in the list.
Imvisible users are showen with (*) sign but friends now.
I think this one must be corrected with an option to disable this one.

ArnyVee
03-28-2008, 02:59 PM
This will be useful to me! Thanks! :)

iardon
04-24-2008, 10:43 PM
Would this mod use less queries compared to using the two Paul M mods (members and guests who've visited)?

Also, is this mod working fine with 3.6.10?

Thanks.

Frugoo Scape
08-25-2008, 06:32 AM
Good job. Works perfect.

Vehbi KOC
10-02-2009, 02:32 PM
thanks Cybernetec