View Full Version : Statistics Modifications - Cyb - Visitors in Last X Hours
Valter
05-02-2008, 10:00 PM
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
v2.4 - Apr 30. 2008.
-Compatible with vBulletin 3.7
-Minor bugs fixed
Live DEMO: http://www.bihforum.com
Mark as installed to get updates and support.
futureye
05-03-2008, 02:26 PM
Thanks Cybernetec
You are the Best
Skavenger
05-03-2008, 06:04 PM
Can I upgrade if I'm using the 3.6 version? or I have to uninstall the other to install this one?
Julie
05-03-2008, 06:34 PM
Installed, thanks :)
digicom
05-03-2008, 07:29 PM
Installed,apprciated :up:
tirol07
05-03-2008, 08:07 PM
thanks
IR15H
05-03-2008, 09:30 PM
Nice work :).
Holfy.com
05-04-2008, 03:00 AM
Nice work :D
MeMySelfNi
05-05-2008, 06:30 AM
<font face="Franklin Gothic Medium">thanks</font>
Lindsey
05-05-2008, 09:16 AM
Cool. Installed.Thanks.
tmiland
05-05-2008, 12:51 PM
Would it be possible to add an option to display spiders? Something like this: Yahoo! Slurp Spiders (18), Google AdSense Spiders (2), Google Spiders (1)
Besides from that, great mod! :D
See www.mummybrain.com - it shows the members who have visited, but no legend.
usergroups legend is enabled, and there are usergroups listed.
Can you please help?
Also it doesn't seem to be right
'Currently Active Users (http://www.mummybrain.com/forums/online.php): 107 (7 members and 100 guests)'
'Users active in the past 24 hours: 93 (53 members and 40 guests)
Shouldn't guests be 100 as that is what is currently on?
MetalORock
05-06-2008, 07:14 PM
On mouseover, the hour is not shown, i just see "H:i" but not the real hour, how fix it?
see it here : http://www.metalorock.com/v2
DoB Rhapsody
05-06-2008, 07:48 PM
I might add this to my site but i have a mod that adds decorations to usernames. I wouldn't want that to show in this mod. Is there a way to make sure decorations for usergroups and anything will now show?
See www.mummybrain.com (http://www.mummybrain.com) - it shows the members who have visited, but no legend.
usergroups legend is enabled, and there are usergroups listed.
Can you please help?Hoping someone can help with this.
Silvio
05-07-2008, 11:23 PM
installed again! ty so much.
Pls Cybernetec
I have an issue with my language settings infact hovering on the name of aany user it tell me that has visited 'today I:h'
for compatibility with your other hack 'advanced statistics' (now working perfectly) u suggested me (time ago on the older 3.6.x version) to % prefix date format ovverride (example : Date Format Override : %d-%b-%y) and in 3.6 all was working perfectly.
In this version of last X hours : No
can u please help me?
ty & regards
ciao
Maur?cioSB
05-08-2008, 03:06 AM
Hi!
In my site it happens too. Can?t find where is the error?
Maur?cio
On mouseover, the hour is not shown, i just see "H:i" but not the real hour, how fix it?
see it here : http://www.metalorock.com/v2
Hoping someone can help with this.Still hoping...
webgeek247
05-09-2008, 12:25 PM
how do i choose which usergroups to show
i have Registered Users - Super Moderators - Administrators - Moderators - Banned Users
but i have custom usergroups also that are not showing. how can i pick and choose which ones to display
cheers for the mod btw
I can only get primary groups to show, but i'd love additional groups to show, how can i do this? They do have html markup but it's not working.
Valter
05-10-2008, 06:49 AM
List groups in hack settings:
https://vborg.vbsupport.ru/attachment.php?attachmentid=79808&d=1209826818
webgeek247
05-10-2008, 08:24 AM
Aah i see now. at first i thought that was settings to use for who can view the stats.
Sorted now though. great plugin. cheers dude.
I can only get primary groups to show, but i'd love additional groups to show, how can i do this? They do have html markup but it's not working.
List groups in hack settings:
https://vborg.vbsupport.ru/attachment.php?attachmentid=79808&d=1209826818
Please see http://www.mummybrain.com/forums/index.php - it does not show 'Supporter' which should be in italics - a lot of those members listed are supporters, and it has html markup, but does not show - it is not a primary group, it is a secondary group - how can i show these?
iceytdot
05-23-2008, 07:42 AM
nicely done again cybernetec i think a lot of my products are made by you... anyway you can add a lil tweak to show the most ever users in X amount of hours (my setting is 24, so most ever to come back in 1 day) would be amazing if i could get that with this.
Silvio
06-09-2008, 07:16 AM
bump. any ideas?
ty so much for help.
installed again! ty so much.
Pls Cybernetec
I have an issue with my language settings infact hovering on the name of aany user it tell me that has visited 'today I:h'
for compatibility with your other hack 'advanced statistics' (now working perfectly) u suggested me (time ago on the older 3.6.x version) to % prefix date format ovverride (example : Date Format Override : %d-%b-%y) and in 3.6 all was working perfectly.
In this version of last X hours : No
can u please help me?
ty & regards
ciao
steve1966
06-11-2008, 06:02 PM
Thanks
BozzaJos
06-23-2008, 08:34 PM
Hey Cyber,
I'm recently getting an database error when I have your hack enabled. It is the following:
Database error in vBulletin 3.7.1:
Invalid SQL:
DELETE FROM cybvilxh_guests WHERE userip = '82.16.**.***';
MySQL Error : Table 'db_name.cybvilxh_guests' doesn't exist
Error Number : 1146
Do you know what is wrong with it? Is it a simple re-install solution or anything else?
Thanks in advance for your precious time.
Valter
06-23-2008, 08:43 PM
It may be problem with whitespace in table prefix.
aramiK89
06-29-2008, 10:45 AM
Hey, just need to check - once this is added it won't give birth to the security token error?
Has the line of code been added so that it works with the security token feature?
Just been having a lot of issues with this + mods
Thanks!
dvbusuario
07-02-2008, 03:47 AM
Install! Thx.
Work Perfectly!!!
punk23
07-02-2008, 12:12 PM
Great hack.
Only one issue. I have a latests posts block in my forumhome and whenever I enable this hack it changes the time of the post from e.g: 28 minutes ago - to e.g: 12.39pm.
Any idea why it's doing this please?
madmax1228
07-02-2008, 01:17 PM
Installed. Thx.
vbboarder
08-02-2008, 03:48 PM
Cool, useful mod! Installed, thanks! ;)
vbboarder
08-06-2008, 06:07 AM
Bug Report & Fix: the usergroup legend does not show. Solution: ALL usergroups must have HTML markup specified: select Usergroup Manager, and edit each group to edit its HTML markup. Probably the most common problem is not having the markup specified for the Registered Users. I simply specified <span style="color: black;"> for the start tag and </span> for the end tag. After that, the legends shows up just fine.
Britmovie
08-06-2008, 07:48 PM
Is it possible to add a usergroup so that they can be added to those on in the specified time. So that fake users names in a particular group+real users in set time=users shown?
dadoc
08-07-2008, 08:00 AM
Another great mod Cyb
Installed and working fine.
One Question, How does the fake guests work? I have added some names in that section but they dont show, Are they meant to? or do they just add to the numbers?
I dont think they have done either.
Am I doing something wrong?
Can anyone help?
Mondi
08-15-2008, 09:36 AM
Nizze - as expected from u Cyb!
Thanks - Installed too, btw.
v12kid
08-15-2008, 07:06 PM
installed and so far no issues :)
Fulla
08-23-2008, 08:14 AM
Looks like a great mod, unfortunetly I couldn't get it working.
It doesn't even seem to display in the vb options for me.
Any ideas what could cause this?
IRCMedya
08-24-2008, 10:20 AM
installed : http://www.lantar.com
thank you!
Turbe
08-25-2008, 02:26 AM
Installed, Thanks..
spitb19
08-31-2008, 09:09 AM
can you help me? i don't want to show display member because it very long, i want show display member when i click button.
Valter
08-31-2008, 10:54 AM
can you help me? i don't want to show display member because it very long, i want show display member when i click button.
There is an option to limit number of users shown on page load. All members are shown when user clicks link (AJAX).
Option #3: https://vborg.vbsupport.ru/attachment.php?attachmentid=79808&d=1209826818
spitb19
08-31-2008, 11:38 AM
There is an option to limit number of users shown on page load. All members are shown when user clicks link (AJAX).
Option #3: https://vborg.vbsupport.ru/attachment.php?attachmentid=79808&d=1209826818
default
https://vborg.vbsupport.ru/attachment.php?attachmentid=86330&stc=1&d=1220186196
and i want change to
https://vborg.vbsupport.ru/attachment.php?attachmentid=86331&stc=1&d=1220186196
Greek76
08-31-2008, 06:37 PM
How about fixing the time on when the users came online? Today 14:53? What time is that lol.
dadoc
09-08-2008, 09:14 AM
Hey Cyb
One Question, How does the fake guests work? I have added some names in that section but they dont show, Are they meant to? or do they just add to the numbers?
I dont think they have done either.
Am I doing something wrong?
I hope that you can answer my question Cyb?
yamahapaul
09-10-2008, 07:48 PM
installed, excellent thanks!!
www.midlandsheritage.co.uk
:up:
Datenpapst
09-19-2008, 11:10 AM
any possibility to get this on the Vbadvanced portal page?
Turbe
10-02-2008, 02:27 PM
In the Members in the Past 24 hours list, one member has a * next to it.. I've never seen this before. What is this for? NOTE: The underline (since you can click on the name to see the last time on) is not under the asterisk.
vmastro*, waho,
madmax1228
10-02-2008, 02:42 PM
Invisible?
My "friends" come up with a + sign behind their names.
Valter
10-02-2008, 05:18 PM
* invisible to members
+ friend
Turbe
10-02-2008, 07:15 PM
Thanks, I just never paid attention before down there.
wanno
11-10-2008, 03:10 PM
I tried the software however the ALT tag is wrong.
X = 2 hours
every user has the alt tag "today, h:i"
Dr.LoVe
11-15-2008, 02:31 PM
can i use this hack of Version 3.8.0 Beta 1 ??
Valter
11-15-2008, 05:39 PM
can i use this hack of Version 3.8.0 Beta 1 ??
I don't know, I never use beta versions.
GlamRockTalk
11-20-2008, 03:07 AM
This mod ROCKS! :D
killa seven
11-25-2008, 06:37 PM
i got every mod you've made almost, on my forums...keep up the good work.
installed.
juanpablo
12-01-2008, 12:36 AM
The number of visitors does no match...
Allready: 24 visitors on "What´s going on?"
And 1 Visitors on "Cyb - Visitors in Last X Hours"
Any Help?
praveenbv
12-15-2008, 07:05 PM
Thanks for the hack
Zidane007nl
12-28-2008, 12:53 PM
Nice mod. Installed it and disabled an old mod which only displayed the members.
militarytuners
12-31-2008, 02:53 AM
I like this
wildstylegrafix
01-08-2009, 11:01 PM
How about fixing the time on when the users came online? Today 14:53? What time is that lol.
Great hack Indstalled too but would like a fix for the above also.
Thanks
Sunka
01-10-2009, 10:45 PM
Is this MOD working on vBulletin v3.8.0?
Valter
01-11-2009, 08:39 AM
Yes, check 3.8 Mod section.
Silencer Groans
01-12-2009, 05:09 AM
Thank you
I have the translation into Arabic
moonbase
01-17-2009, 03:52 AM
I only have the Admin group showing in the; ""usergroups legend can be shown below VILXH box"" even though the HTML tags are present and the userfroup IDs are keyed in the admin panel for the hack.
Any ideas what would prevent the other user groups from showing?
vBulletin: 3.7.2 PL2
EDIT: I just deleted the users ID's and reentered them and it show them now. :)
wally
01-19-2009, 06:14 PM
just noticing that version check doesnt work for this mod
ps great mod :D
benstillman
01-29-2009, 12:22 PM
Great hack.
Only one issue. I have a latests posts block in my forumhome and whenever I enable this hack it changes the time of the post from e.g: 28 minutes ago - to e.g: 12.39pm.
Any idea why it's doing this please?
Same here. Any way to fix this?
nicely done again cybernetec i think a lot of my products are made by you... anyway you can add a lil tweak to show the most ever users in X amount of hours (my setting is 24, so most ever to come back in 1 day) would be amazing if i could get that with this.
Agreed. I currently use Members who have visited today (https://vborg.vbsupport.ru/showthread.php?t=165960). It shows the most users online in one day. I really like that feature, but I like this mod better. Any chance you could add it or tell us how to do it ourselves?
I'm fairly sure this is the code:
$visitors = construct_phrase(
$description, vb_number_format($vbulletin->maxloggedin['maxvisitors']),
vbdate( $vbulletin->options['dateformat'], $vbulletin->maxloggedin['maxvisitorsdate'], true ),
vbdate( $vbulletin->options['timeformat'], $vbulletin->maxloggedin['maxvisitorsdate'] )
);
benstillman
01-29-2009, 01:45 PM
Update:
Great hack.
Only one issue. I have a latests posts block in my forumhome and whenever I enable this hack it changes the time of the post from e.g: 28 minutes ago - to e.g: 12.39pm.
Any idea why it's doing this please?
Same here. Any way to fix this?
If you change the date format, save, then change it back it works fine.
To correct the error in time:
1?.- Plugins Manager
2?.- Product : Cyb - Visitors in Last X Hours
3?.- Cyb - VILXH - MN - forumhome_complete [Edit]
4?.- Search this: $vilxh_visitor[lastactivity], 1).', '.vbdate('H:Y', $vilxh_visitor[lastactivity]);
5?.- Replace with: $vilxh_visitor[lastactivity], 1).', '.vbdate('%H:%M', $vilxh_visitor[lastactivity]);
And now the time is correct.
greetings
pauldack
03-05-2009, 06:08 AM
I run several low member count boards and love this mod but a great addition would be able to specify the activity period in days.
Cheers Cyb, appreciate your work.
ShadowSwift
03-07-2009, 05:31 PM
Mine is not showing the class of usergroups at the bottom, is there anything I can do to remove this entirely or make it work?
lbpforum.net
03-17-2009, 11:14 PM
Thanks!!
wlid123
03-19-2009, 04:08 AM
Cool. Installed.Thanks.
Makaveli007
03-20-2009, 09:08 PM
one of the first and bests mods i use for my site. thanks
iyama
03-23-2009, 03:31 PM
Working fine on my 3.8.1 forum. thnx Buth 1 Q: How do i replace; Visitors in Last X Hours in Dutch language?
Collectors
03-29-2009, 10:05 AM
Working fine on my 3.8.1 forum. thnx Buth 1 Q: How do i replace; Visitors in Last X Hours in Dutch language?
Admin Control Panel -> Languages & Phrases -> Search in Phrases -> Search for Text: Visitors in Last
Marvin Hlavac
05-17-2009, 03:15 PM
Tnx for this mod! Now I just wish I could disable the vBulletin's own "Currently Active Users", and keep just the "Users active in the past 24 hours". I (as an admin) would actually like to still see who is online currently, but I would like to disable it for everyone else.
Would it be possible to add it as an option to a future version?
STOP I"M TOP
05-25-2009, 09:51 PM
good
thank you
celikforum
05-26-2009, 07:55 AM
<div align="left">Hi, I installed your plugin but I want to remove the bottom table in the manager what group xmldeki code table?</div>
Hi! thanks it's work!! :) is there any way to add this code in VBadvance? as User online?
Thanks in Advance
ITNM
marshal_ramdev
05-31-2009, 07:59 AM
thank you
sebaot
07-28-2009, 01:36 PM
I've got a request:
- feature to enable excluding usergroups from showing up in the list of visitors; this would let me prevent bots with ugly names from being displayed
Thanks for a great mod!
Dj SharK
10-11-2009, 03:47 PM
Thanks ! Was looking for this since this one has Guests counted together with Members.
Installed !
Works fine on 3.8.4 PL1. :)
nine5flareside
11-22-2009, 10:38 PM
To correct the error in time:
1?.- Plugins Manager
2?.- Product : Cyb - Visitors in Last X Hours
3?.- Cyb - VILXH - MN - forumhome_complete [Edit]
4?.- Search this: $vilxh_visitor[lastactivity], 1).', '.vbdate('H:Y', $vilxh_visitor[lastactivity]);
5?.- Replace with: $vilxh_visitor[lastactivity], 1).', '.vbdate('%H:%M', $vilxh_visitor[lastactivity]);
And now the time is correct.
greetings
If the previous time fix posted above didnt work for you as it didnt for me try this:
$vilxh_visitor[lastactivity], 1).', '.vbdate('h:y', $vilxh_visitor[lastactivity]);
If you put "%M" "%H" it doesnt work. Try the little "h" and little "y" to give you the time the way you guys want it. The standard time is military time. The only thing I want to know now is what to insert to get "am" and "pm". As soon as I figure it out I will post it. The goal is to have the time display 09:15 pm or 9:15 pm.
Later.
Hope this helps someone!
nine5flareside
11-22-2009, 10:54 PM
OK peeps, I figured out how to get it to say the time like this: 11:09 pm (whatever time they visited at).
$vilxh_visitor[lastactivity], 1).', '.vbdate('h:y a', $vilxh_visitor[lastactivity]);
If you want it to display as 11:09 PM then change the "a" in 'h:y a' to "A" so it will be 'h:y A' . I hope this helps!
Later
HappyFeet
12-06-2009, 11:44 PM
Cyb, will you be updating this for 4.0?
Alan_SP
12-10-2009, 03:04 PM
Yes, I'll also want all your addons for vB4.
kellyandmark04
01-16-2010, 12:42 AM
Mine doesn't show for unregistered not logged in users or users awaiting moderation. How do I fix this? Thanks?
vitrag24
03-15-2010, 09:35 PM
plz update for vb 4.0.
Thx.
adwade
10-03-2010, 05:04 AM
I can only get primary groups to show, but i'd love additional groups to show, how can i do this? They do have html markup but it's not working.
List groups in hack settings:
https://vborg.vbsupport.ru/attachment.php?attachmentid=79808&d=1209826818
Exactly what I needed to read! Since upgrading from v3.6.4 some of my User Groups didn't appear. Once I edited the "usergroups shown in legend" field, it worked perfectly. Thanxx!
Casmos
10-16-2010, 03:05 PM
Cyb, will you be updating this for 4.0?
Errors in V4.0
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/includes/class_bootstrap.php(1269) : eval()'d code on line 102
Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: cyb_lastxhoursvisitors in [path]/includes/functions.php on line 3957
Parse error: syntax error, unexpected T_STRING in /home/includes/class_core.php(4020) : eval()'d code on line 116
Gardemarin
11-14-2012, 12:46 AM
I'm have a problem with this mod after upgrade PHP to ver. 5.3.18 from 5.2
VBulletin: 3.8.5
OS: Linux 2.6
Apache: 2.2.17
MySQL: 5.1
PHP: 5.3.18
Perl: 5.8.8
My main page have error in header...
: Assigning the return value of new by reference is deprecated
in line 1041 of file /***/public_html/includes/functions_calendar.php
Trace path:
/***/public_html/index.php, function all_error_handler, line 170
/***/public_html/index.php, function require_once, line 170
/***/public_html/vbseo.php, function require, line 1397
: Function split() is deprecated
in line 2 of file /***/public_html/index.php(594) : eval()'d code
Trace path:
, function all_error_handler, line
/***/public_html/index.php(594) : eval()'d code, function split, line 2
/***/public_html/index.php, function eval, line 594
/***/public_html/vbseo.php, function require, line 1397
Please, help!
Fivestones
02-14-2013, 09:25 PM
thanks get new up dates
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.