PDA

View Full Version : Statistics Modifications - VSa - Visitors In Last X Hours


Valter
01-16-2010, 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:
-Import XML file (as product) - AdminCP > Plugin System > Manage Products > [Add/Import Product]

Versions:
v1.0 - Oct 02. 2005.
-Initial release
v2.4 - Apr 30. 2008.
-Latest 3.x version
v3.0 - Jan 17. 2010.
-Updated for vBulletin 4.x
-Mod prefix (Cyb) changed to 'VSa'
v3.0.2 - Jan 19. 2010.
-Fixed another php error
v3.0.3 - Oct 21. 2010.
-Fixed vB 4.0.8 style issues
v3.0.4 - Oct 23. 2010.
-Fixed some style issues
v3.0.5 - Oct 10. 2013.
-Fixed some PHP errors in 4.2.2

sisterhood
01-17-2010, 09:13 AM
Fantasic!
i have wait for this!

ProFifaLeagues
01-17-2010, 09:15 AM
great work again thanks

yilmaz
01-17-2010, 10:04 AM
Fantastic
Installed
Thank you

JHUMON
01-17-2010, 12:41 PM
nice work. working fine.Thanks.

Zaiaku
01-17-2010, 01:52 PM
Will try this out. Nice work.

iCafe
01-17-2010, 02:04 PM
on vb4.0.1 ps

Fatal error: Call to a member function hide_errors() on a non-object in /home/xxxxx/domains/xxxxx.xxx/public_html/packages/vbcms/controller/content.php(84) : eval()'d code on line 25

pizzaservice
01-17-2010, 02:23 PM
on vb4.0.1 ps

I have the same error... It comes only at content.php when you're logged out on forum.

When I deactivate this option:
Show number of guests who visited forum in last X hours
there is no error any more.

Please fix it!


Edit: could oyu do this one? There is a design-error too...
http://img5.imagebanana.com/view/dqha4rjb/move.jpg

pjaco
01-17-2010, 03:39 PM
Thanks,nice:D but i also have the same error

badheeu
01-17-2010, 05:55 PM
Welcome back Valter, My favorite VB coder

Icy
01-18-2010, 10:29 AM
One question Valtar. Can I upgrade from your 3.x release or I have to uninstall the previous one then install the new one again?

Valter
01-18-2010, 01:12 PM
None of my 3.x hacks will work on 4.x, so please uninstall them before adding new versions.

Datenpapst
01-18-2010, 02:02 PM
nice one, but only works for loged in users for me.

when i log out i get this:

Fatal error: Call to a member function hide_errors() on a non-object in .../packages/vbcms/controller/content.php(84) : eval()'d code on line 4

skipper-denmark
01-18-2010, 07:23 PM
same here

please fix it, nice mod

CyberZero
01-19-2010, 03:38 PM
IE error: Fatal error: Call to a member function hide_errors() on a non-object in /home/xxxx/public_html/xxxx/portal/packages/vbcms/controller/content.php(84) : eval()'d code on line 53

FireFox: GOOD

Please FIX it

Valter
01-19-2010, 04:15 PM
v3.0.1 - Jan 19. 2010.
-Fixed php errors

To upgrade:
-Import XML, allow overwrite

CyberZero
01-19-2010, 05:07 PM
Oh, Thank you

But not Good

FireFox not error: => is Good

IE8 (Internet Explorer 8) => Error => Fatal error: Call to a member function num_rows() on a non-object in /home/xxx/public_html/xxxxx/packages/vbcms/controller/content.php(84) : eval()'d code on line 59

Valter
01-19-2010, 08:13 PM
v3.0.2 - Jan 19. 2010.
-Fixed another php error

To upgrade:
-Import XML, allow overwrite

CyberZero
01-20-2010, 04:25 PM
Good Job

Thank you Very Much

IE8 & FF => is Good

LbR
01-20-2010, 05:13 PM
Thanks man, Was waiting for this only other products are available here but not complete as you provide :) thanks

skipper-denmark
01-22-2010, 11:09 AM
thanks for for me too

dmknights
01-23-2010, 09:40 PM
great job

Installed

johnrizz
01-25-2010, 06:50 PM
I was looking for something like this! Good job!

thnks..

audis3
01-28-2010, 05:42 PM
Nice work.

But i've got a little problem. On MouseOver it soesn't show me the time of the user.

See attached screenshot.

nomoreturn
01-31-2010, 01:05 PM
Nice mod thanks installed

Bob_R
01-31-2010, 06:41 PM
Thanks!

daveaite
02-12-2010, 05:59 AM
Installed on two forums. (x2) xD

Tripolis
02-14-2010, 06:49 AM
In IE8 i cant visit my side.

Script error. With FF is all ok and when i make the addon off i can visit my side.

Bellethiel
02-14-2010, 07:09 AM
Hm weird. I have it installed too and with IE8 all is fine as well. What error do you get exactly?

jmurrayhead
02-14-2010, 06:14 PM
In IE8 i cant visit my side.

Script error. With FF is all ok and when i make the addon off i can visit my side.
Try clearing your cache by pressing CTRL + F5.

rizelim
02-14-2010, 08:00 PM
thanks!

iPaul
02-16-2010, 09:43 PM
thanks, easy install as always

jolinary
02-19-2010, 07:15 PM
Hello, i have same problem: https://vborg.vbsupport.ru/showpost.php?p=1969180&postcount=24

Thanks you.

Allan
02-19-2010, 07:24 PM
Hello, i have same problem: https://vborg.vbsupport.ru/showpost.php?p=1969180&postcount=24

Thanks you.
Me too.

Allan
02-19-2010, 07:45 PM
Fix time problem:


Find:$vilxh_lastactivity = vbdate($vbulletin->options['dateformat'], $vilxh_visitor[lastactivity], 1).', '.vbdate('H\hi', $vilxh_visitor[lastactivity]);
Replace with:$vilxh_lastactivity = vbdate($vbulletin->options['dateformat'], $vilxh_visitor[lastactivity], 1).', '.vbdate($vbulletin->options['timeformat'], $vilxh_visitor[lastactivity]);

BlackThorn
02-20-2010, 04:07 AM
installed, thanks.

patrick91
03-03-2010, 02:43 PM
Have also problem! this screwed my board on IE8 looks what happend... hope you can fix it for IE8... Firefox works fine!

But user visit my forum most with firefox and IE8 so i hoped it can be fixed... thnx!;)

See attachment for problem!

:(

Professional2
03-22-2010, 12:18 PM
tnx installed but a small problem with showing legend.

pdfbooks
04-28-2010, 01:06 PM
Thanks

Gosef
05-04-2010, 05:50 PM
thanks

Haifaa
06-01-2010, 07:16 PM
I'd like to say that I use this Mod in my forum var 4.0.2 but it made database error for the members when they tried to log in the forum and it made database error for me when I tried to log in the admin CP

if there is any solution that will be mare than appreciated.

thank you.

Sixes
06-07-2010, 07:51 AM
No probs here with 4.0.3

Thanks for the mod!

Alphaforums.com
06-12-2010, 11:57 PM
Could it be possible to remove the username of the people online in the last X hours? I've currently set it to one. 0 should mean that usernames are turned off, because if you want them all you can always set it to like a billion, am I right?

mradlin
06-19-2010, 01:43 PM
Installed, working great.
Thanks

Tech NO Babble
07-01-2010, 03:43 PM
Nice work, just what the client wanted.

However, the rollover that shows when someone posted only works in FF and Chrome (lastest versions). IE8 nothing happens when you roll over it at least on my Windows 7 Pro 64bit machine and other Windows XP Pro sp3 machines that have IE8 installed.

Hopefully you can make that happen, and MS is working on IE9 so maybe you can get the test bed for that one too!

Great product and easy to install! Thanks again!

Alex

strudinox
07-01-2010, 04:03 PM
Simple and it works

Awesome mod and thanks!

Numenorean7
07-05-2010, 12:41 AM
Thanks, another great plugin. :)

MikalMirkas
07-11-2010, 01:56 AM
Don't mean to bump BUT
It causes the font in my forum to change lolwut

haidm
07-20-2010, 04:51 PM
How can I add Registered Users text in Usergroups Legend? I have entered Registered Users' id in ACP but it not show in index.

baghdad4ever
07-20-2010, 05:30 PM
is it cause load in big forum?

thanks

apokphp
07-21-2010, 05:00 AM
Works fine on 4.0.5.

TalkVirginia
08-01-2010, 11:59 PM
Has this been tested on a server with php v5.3.2? It does not manifest on php v5.2.13

I'm running vBulletin 4.0.5 and getting the following error:

Deprecated: Function split() is deprecated in /home/persever/public_html/forum.php(653) : eval()'d code on line 96

apokphp
08-02-2010, 01:23 AM
Dunno about 5.3.2. I'm using PHP Version 5.2.13 and can confirm it's fine on PHP Version 5.2.13.

Valter
08-04-2010, 05:16 PM
For me it works on:
- 5.2.9
- 5.2.13

Haven't tested it on 5.3.2.

caciocode
08-17-2010, 06:58 PM
I'm not sure whether it was this mod I installed on this Forum (http://www.sheersoftware.com/forum.php). I would like to click Mark as Installed.

Vykker
09-02-2010, 12:26 PM
At the end of the usergroup legend it's using bold which means the forum text below the legend is bold. Whats causing this?

haidm
09-14-2010, 04:43 PM
Please tell me how I can show text Registered Users in Usergroups Legend (I have enter the user group ID in ACP but it is not show up in index).
And can you upgrade this mod, show the day have the most user enter forum?

Valter
09-14-2010, 08:57 PM
It's not shown if HTML tags settings are blank in usergroup options.

GeorgeB85
10-21-2010, 02:59 AM
There is an issue in 4.0.8. You can view it here (http://www.vbulletin.com/forum/showthread.php?365021-Bottom-of-the-forums-miss-aligned&p=2060176#post2060176).

JAFRI
10-21-2010, 12:20 PM
Not Work In 4.0.8...........????????

GeorgeB85
10-21-2010, 12:38 PM
Not Work In 4.0.8...........????????

It works, it is just miss aligning everything.

Go to the link posted in the post above yours and you will see what I am referring to.

Valter
10-21-2010, 08:28 PM
v3.0.3 - Oct 21. 2010.
-Fixed vB 4.0.8 style issues

To upgrade:
-Import product XML, allow overwrite

JAFRI
10-22-2010, 03:12 AM
Good update...

my123world
10-22-2010, 03:29 AM
This is Working Like a Charm on My Forum... Version - 4.0.8!

Love THis~!

my123world
10-22-2010, 03:30 AM
For A Demo Check My Forum - http://www.my123world.com

BANDiT600
10-22-2010, 11:35 AM
Look at the Userlegend.

Valter
10-23-2010, 11:12 AM
v3.0.4 - Oct 23. 2010.
-Fixed some style issues

To upgrade:
-Import product XML, allow overwrite

stwan
10-24-2010, 04:37 AM
xhtml 1.0 error in template vsa_lastxhoursvisitors:

<ol class="commalist" id="vilxh_users_area">
{vb:raw vilxh_userlist_init}
<vb:if condition="(($vboptions[vsa_visitorslastx_cutoff]>0) AND ($vilxh_total_members > $vboptions[vsa_visitorslastx_cutoff]))">
<div id="vilxh_users_more" class="shade" style="display:inline;float:{vb:stylevar right}">
{vb:rawphrase vsavilxh_showing_x, {vb:raw vboptions.vsa_visitorslastx_cutoff}, {vb:raw vilxh_total_members}, {vb:raw vboptions.vsa_visitorslastx_xhours}} | <a href="javascript:void(0);" onclick="Vilxh_getUsers();" style="text-decoration:none">{vb:rawphrase vsavilxh_show_all}</a>
</div>
<div id="vilxh_users_loading" class="shade" style="display:none;float:{vb:stylevar right}">
{vb:rawphrase vsavilxh_loading}
</div>
</vb:if>
</ol>



replace:

<ol class="commalist" id="vilxh_users_area">
<li>
{vb:raw vilxh_userlist_init}
<vb:if condition="(($vboptions[vsa_visitorslastx_cutoff]>0) AND ($vilxh_total_members > $vboptions[vsa_visitorslastx_cutoff]))">
<div id="vilxh_users_more" class="shade" style="display:inline;float:{vb:stylevar right}">
{vb:rawphrase vsavilxh_showing_x, {vb:raw vboptions.vsa_visitorslastx_cutoff}, {vb:raw vilxh_total_members}, {vb:raw vboptions.vsa_visitorslastx_xhours}} | <a href="javascript:void(0);" onclick="Vilxh_getUsers();" style="text-decoration:none">{vb:rawphrase vsavilxh_show_all}</a>
</div>
<div id="vilxh_users_loading" class="shade" style="display:none;float:{vb:stylevar right}">
{vb:rawphrase vsavilxh_loading}
</div>
</vb:if>
</li>
</ol>


Please fixed in next version

haidm
10-24-2010, 10:27 AM
Please add The most visisted in 24 hours, thank.

Bounce
10-24-2010, 09:06 PM
All good in vb 4.0.8 here, good job :up:

Sergio68
10-25-2010, 03:15 PM
Hi, I'm having problem with the padding, can you tell me what should I do or what I did wrong?

persianpros
10-27-2010, 07:01 AM
Persian Translation :cool:

By Persian Prince

Valter
10-30-2010, 07:59 AM
Hi, I'm having problem with the padding, can you tell me what should I do or what I did wrong?
Upgrade to latest version, revert product templates.

willy888
10-31-2010, 12:10 PM
XML Error: Not well-formed (invalid token) at Line 1

whats this ?

Gary V
10-31-2010, 05:22 PM
Excellent work Valter... Thanx! Installed 4.0.8

Sergio68
11-01-2010, 03:28 PM
Upgrade to latest version, revert product templates.

Perfect, thx!

cbiweb
11-10-2010, 05:56 PM
I would like to show only the usernames, with no hyperlinks attached. I tried removing the '<a href' references from the XML file, but kept getting errors. How do I have the names come up as plain text?

DemoniK_AK
11-11-2010, 07:29 AM
Excellent Mod.

Is there any way I can prevent a certain usergroup from coming up on the list?
Specifically want to prevent banned users being shown.

Valter
11-11-2010, 08:36 AM
Not possible with the current version.

I may add this option in the future versions.

DemoniK_AK
11-11-2010, 09:24 AM
Not possible with the current version.

I may add this option in the future versions.

Look forward to it :D

chelssi
11-18-2010, 12:58 PM
Hi,

When I put the mouse over one user shows "today, H:i" doesn't show the time.

Thanks,

Vick98
11-18-2010, 04:16 PM
Very nice mod, Thank you.

CoryHawk
11-19-2010, 04:38 PM
How do you add a custom user group to the legend? ie. Donators... Group 9

Mikevet1984
11-21-2010, 11:34 AM
How do you add a custom user group to the legend? ie. Donators... Group 9

Usergroups shown in legend: 1,2,3.....,9

pantani
11-21-2010, 04:35 PM
Perfect, thanks ;)

superchizo
11-25-2010, 07:47 PM
Hi,

When I put the mouse over one user shows "today, H:i" doesn't show the time.

Thanks,

Like me, any idea how to fix?

Thanks!

Alecsmith
12-06-2010, 03:26 AM
Hey Valter i wondering can u place collapse button in big forums visitors in last 24 hours take lots of space so if their is button peoples can use that :)

res6cue
12-14-2010, 09:16 PM
Great mod, thanks!

Is there any way I can prevent a certain usergroup from coming up on the list?
Specifically want to prevent banned users being shown.

Also very much looking forward to this ability.

Gleedo
01-01-2011, 07:39 PM
Hi, I'm having problem with the padding, can you tell me what should I do or what I did wrong?

Upgrade to latest version, revert product templates.

Hi, I am having the same problem. I have tried re-installing and reverting any template edits, but it still displays the same :confused:

I reverted vsa_lastxhoursvisitors - was that correct?

Ignore this post, im an idiot!

kfyonur
01-01-2011, 09:34 PM
it is working thanx.

smirkley
01-14-2011, 02:31 PM
Love this mod,...

1 - would love an acp option to set the hover timestamp of users to a preference of choice,... mostly the time and datestamp normally setup in the general vb options.

2 - Is it a bug on the usergroup legend where i only get two usergroup titles shown? and both are usergroups selected to not show up in the user list?

slipkot
01-26-2011, 02:09 PM
I am using vb 4.1.1 and when this addon is active and i am at forum/misc.php i take this error:

Parse error: syntax error, unexpected T_LNUMBER in /path_to_forum/forum/misc.php(89) : eval()'d code(958) : eval()'d code on line 1

This is also happening with "VSa - Login To User Account." and "VSa - ChatBox (AJAX)." Any updates?

cbiweb
02-18-2011, 09:26 PM
Can someone please answer my question in post #77 from more than three months ago?

Crossbow
02-20-2011, 02:58 PM
Installed and works great.

Thank you.

Whiteknite
02-20-2011, 03:09 PM
I think this is terrific!! Is there one for version 4. ?

cpvrx
02-21-2011, 05:52 AM
Installed and works great.

Thank you.

On the latest version as well?

Xowi
02-25-2011, 12:54 AM
Great mod, thanks!

JoshLowry
02-27-2011, 02:19 AM
Installed, thank you!

How would I put the number of members and guests into a widget?

Tried but am having problems.

Mr. Flowers
03-30-2011, 02:20 AM
Great plug! Thanks!

Mo HaRbI
05-01-2011, 01:01 PM
works with 4.1.0
Exelant
Thank you

JasonP38
05-01-2011, 10:23 PM
installed.

working great with 4.0.7, thanks. :)

UKCE_Hitman
05-06-2011, 09:18 AM
thnks installed

Krishan
05-06-2011, 06:59 PM
I am wondering about, is there any possibility to have only text ONLY, which says XXXX Users have visited the forum. XXXX members and XXXX guests....without having the usernames under?

elkomander
05-07-2011, 11:00 PM
this mod is broken in firefox 4

Valter
05-08-2011, 08:47 AM
No, it's not:
http://www.bihforum.com

Ensure that you have latest version and product templates are up to date.

Daisyboo
05-14-2011, 10:09 AM
Love this hack, works perfectly on mine.
Just a question about the fake guests. Where do they show up? Its makes no difference to guests online?

S P E E D
06-02-2011, 01:09 PM
I Have problem with product
Deprecated: Function split() is deprecated in C:\xampp\htdocs\cyb\forum.php(653) : eval()'d code on line 49

Valter
06-02-2011, 04:31 PM
Hi speed,

What's your settings? I mean in product options.

S P E E D
06-03-2011, 06:11 AM
Choose last X hours : 24 Results to show on startup : 300 Show number of guests who visited forum in last X hours : No Usergroups Legend : No

Valter
06-03-2011, 07:19 PM
Blocked Usergroups?

S P E E D
06-04-2011, 12:19 PM
Yes

Valter
06-06-2011, 11:52 AM
What you have in this field?

top dogs 360
07-29-2011, 08:53 PM
Do i have to have the latest version or will 4.03 or 4.04, etc work?

LA-Aquarium
07-30-2011, 08:30 AM
How can I change the following?

Users active in the past XX hours (hours to days or custom message)

X Users have visited the forum. X members and X guests (custom message)

Drache
08-07-2011, 02:17 PM
Is it possible to disable showing names? So it will only disable total number of member and guest that visited last 24hrs but not allow anyone to see the names of member who visited last 24hrs?

gec100
08-11-2011, 07:18 AM
Is it possible to change the visitors sorting to be by the time of visit? so the last one visited the forum is first in the list and the first one is last in the list. Taking the forum time as an reference.

thx

lcn
08-21-2011, 09:01 PM
Very nice, thank you.

garethsp
08-21-2011, 11:39 PM
Works fine on : 4.1.5 for me thank you for your work I like this one

kfyonur
09-05-2011, 08:33 PM
can i reset the statistics

islamway
09-24-2011, 05:18 PM
thanks, working fine !

http://www.livvve.com

vbandroid
12-30-2011, 11:59 PM
does this work on 4.1.8 or 4.1.9?

sadiq6210
12-31-2011, 04:59 AM
does this work on 4.1.8 or 4.1.9?

Yes :)

ellinofatsa
12-31-2011, 08:35 AM
work fine on 4,1,9

vbandroid
12-31-2011, 05:29 PM
thanks guys

Delfi_r
01-18-2012, 09:15 AM
Installed in v 4.1.8, soon to move to 4.1.10

steeler7
01-18-2012, 08:58 PM
Issue I have on 4.1.10 with commas not showing up

http://img12.imageshack.us/img12/6618/801afb24dc5443f995153b9.png

www.pittsburghsportstavern.com/forum

Valter
01-19-2012, 07:27 AM
Wrong thread.

You are using Paul's mod.

SᴩiDᴇЯ
01-22-2012, 12:15 PM
Hi Valter.

Great Mod well done, works 100% on vB 4.1.10

1 question, will you be adding the Auto refresh function on your mod? I really need one.

Or can i pay you to add one to the Mod.

Please let me know.

Thank you in advance.

w00fy
01-22-2012, 03:45 PM
Installed on 4.1.10 working great, no issues.

Thanks

Nirjonadda
03-06-2012, 06:17 PM
Installed...working fine on 4.1.10 !!! Thanks

MacroPhotoPro
03-08-2012, 01:19 PM
This works great on V.1.10, thank you for creating it

However, I am a little unclear where I go to edit the parameters.

Jack

MacroPhotoPro
03-08-2012, 02:14 PM
Please add The most visisted in 24 hours, thank.


Yes, this would be nice!

MacroPhotoPro
03-08-2012, 02:23 PM
Wrong thread.

You are using Paul's mod.


Hi;

Could you direct me to Paul's mod? Your mod is nice, but I would like to have the "most users ever on one day" feature too.

Thanks,

dsantana
03-24-2012, 02:19 AM
Using on 4.1.11
Works like a champ on all browsers logged in or out...
Great mod Valter!!!

dsantana
03-24-2012, 02:02 PM
Anyone know if there's a mod similar to this for a CMS Widget?

Ulquiorra1
04-02-2012, 03:10 AM
Thanks! Works perfect! Rated 1000000

alhidaya
05-02-2012, 03:59 AM
Hello,

Thank's

edytwinky
05-29-2012, 02:15 AM
Works great! thanks!

sadiq6210
05-29-2012, 08:14 AM
Is it working with 4.2?

Disco_Dave
05-29-2012, 08:34 AM
Works 100% on 4.2.0 :)

Jamie107
05-30-2012, 08:26 PM
Does anyone know how I can remove the commas between the member names please?

Waiter
09-11-2012, 08:06 AM
Excuseme, but the option "Usergroups can NOT view VILXH box" not work. I insert the ID of groups, but these groups continue to look.
How do I fix this?

tanzeelniazi
09-18-2012, 08:47 PM
Working Perfect In VB 4.2.0

tanzeelniazi
09-18-2012, 08:48 PM
But Banned user not hidden i already remove this group in
Usergroups shown in legend (comma separated ID list)

artcrimes
10-09-2012, 01:32 PM
I use 4.2.0 . when Members logout, the census is running low.

Etc: 120 Online members (last 24 hours)

Logout 1 users

119 Online members (last 24 hours)

artcrimes
10-31-2012, 03:20 PM
How can I reset it ? I want to reset statics every day at 00: 00

scorpss
11-12-2012, 09:46 AM
thank you for this excellent hack but tell me please : can i change the "User Active in the Past 24 hours" and make it french ?

thank you !

RedTurtle
12-03-2012, 04:08 PM
thank you for this excellent hack but tell me please : can i change the "User Active in the Past 24 hours" and make it french ?

thank you !

Search for the phrase that contains this: Members active in the past {1} hours: {2}

and save a translation of it in French but make sure you keep the {1} and {2} in there.

vivapotenza
04-25-2013, 06:46 PM
I have a question hopefully one of you knowledgable people can help with.

Is there anyway to modify this plugin (or add somthing to a template or additional.css) to exclude a certain usergroup from being displayed in the total list of users?

Whats happening with mine is, spam viewers who are in the "users awaiting email confirmation" (usergroup 4 I think) are being added to the list of members names. as these sometimes run into the hundreds, it looks silly with all the names like ksjdfhaskjh and akjfhdh in the list, so I've had to disable the plugin for now.

There is probably a relatively simple way to fix or change this. I tried changing the legend portion in the options, but that wasnt what I was looking for, I want this whole usergroup to either display as "invisible" to the general populous, or for this plugin to discount them from the list.

please help :/

Thanking you :)

vivapotenza
04-28-2013, 10:22 AM
anyone?

vivapotenza
04-30-2013, 03:17 PM
Alternatively to the above question, Is there any way to hide ALL the names? and only show the one line quoting the members and guests figures in the last XX hours?

Spun2U
05-14-2013, 12:41 AM
Great mod! Thanks for creating it.

But, I'm disabling it until I can modify which usergroups get displayed. I don't want Users Awaiting Moderation to show.

vivapotenza
05-24-2013, 10:30 AM
^^ more or less in the same boat as me then, trying to exclude a certain usergroup. It would be great if the coder could be of some assistance.

blg63rm26
06-25-2013, 05:48 AM
Hi,

Currently, I don't seem to have the hide_errors() problem, but in case this helps others who are on vBulletin v4.1:


forumhome_complete: at this hook location, I replaced the call to PHP function split() by explode() in the actual plugin code.
misc_start: ditto.


Before I made the above changes, I was getting a deprecation warning for function split(). After I made the above changes, the deprecation warning went away, and I think 'tis all working...

In order to access the plugin code you have to go via AdminCP > Plugins & Products > Plugin Manager.

Hope this helps.

john7911
06-28-2013, 06:30 AM
Thank you for the Product ;)

Hi,

When I put the mouse over one user shows "today, H:i" doesn't show the time.

Thanks,

I have the same thing, how can I fix it :confused:
How can I translate "Registered Users - Administrators - Moderators" to French?
http://imageshack.us/a/img707/3307/l5i.png

Thank you :up:

sadiq6210
07-02-2013, 07:14 AM
After upgrade to 4.2.1, "total visitors" always =1 !
for example, 500 members and 1 visitors !

muimui
08-19-2013, 11:34 AM
how to delete usergroup legend under list user?

bntyemen
09-14-2013, 01:26 PM
I need Visitors In Last X Hours in forum sideblock

foreigner_tr
10-09-2013, 09:54 AM
i upgraded from 4.2.1 to 4.2.2 and a message appeared on top of my forum:
"Warning: Function split() is deprecated in ..../forum.php(791) : eval()'d code on line 2"
and i found out that its because of Visitors In Last X Hours plugin. i disabled the plugin and error message went away.
what can i do to fix this?

ozzy47
10-09-2013, 10:09 AM
ACP --> Plugins & Products -->Plugin Manager find the one that is titled, VSa - VILXH - SA, in that plugin find
if (($_REQUEST['show']=='vilxh_users') AND $vbulletin->options['vsa_visitorslastx_enable'] AND ($vbulletin->options['vsa_visitorslastx_cutoff']>0) AND !is_member_of($vbulletin->userinfo, split(',', $vbulletin->options['vsa_visitorslastx_exclgroups'])))
{Change it to this:
if (($_REQUEST['show']=='vilxh_users') AND $vbulletin->options['vsa_visitorslastx_enable'] AND ($vbulletin->options['vsa_visitorslastx_cutoff']>0) AND !is_member_of($vbulletin->userinfo, explode(',', $vbulletin->options['vsa_visitorslastx_exclgroups'])))
{Then in the plugin titled, VSa - VILXH - MN, find,
if ($vbulletin->options['vsa_visitorslastx_enable'] AND !is_member_of($vbulletin->userinfo, split(',', $vbulletin->options['vsa_visitorslastx_exclgroups'])))Change it to this,
if ($vbulletin->options['vsa_visitorslastx_enable'] AND !is_member_of($vbulletin->userinfo, explode(',', $vbulletin->options['vsa_visitorslastx_exclgroups'])))

foreigner_tr
10-09-2013, 10:26 AM
i did exactly what you have said and now i get this error message:

Warning: preg_split() [function.preg-split]: No ending delimiter ',' found in ..../forum.php(791) : eval()'d code on line 1

ozzy47
10-09-2013, 10:38 AM
I changed the above code, try that.

foreigner_tr
10-09-2013, 10:46 AM
okey it worked :) thanks for your kind interest and help.

ozzy47
10-09-2013, 10:54 AM
Not a problem, glad to help. :)

artcrimes
10-09-2013, 02:05 PM
Upgrade to 4.2.1 to 4.2.2

Warning: Function split() is deprecated in ..../forum.php(791) : eval()'d code on line 4

Help me pls...

ozzy47
10-09-2013, 02:26 PM
Read post #160

persianpros
10-09-2013, 02:52 PM
ACP --> Plugins & Products -->Plugin Manager find the one that is titled, VSa - VILXH - SA, in that plugin find
if (($_REQUEST['show']=='vilxh_users') AND $vbulletin->options['vsa_visitorslastx_enable'] AND ($vbulletin->options['vsa_visitorslastx_cutoff']>0) AND !is_member_of($vbulletin->userinfo, split(',', $vbulletin->options['vsa_visitorslastx_exclgroups'])))
{Change it to this:
if (($_REQUEST['show']=='vilxh_users') AND $vbulletin->options['vsa_visitorslastx_enable'] AND ($vbulletin->options['vsa_visitorslastx_cutoff']>0) AND !is_member_of($vbulletin->userinfo, explode(',', $vbulletin->options['vsa_visitorslastx_exclgroups'])))
{Then in the plugin titled, VSa - VILXH - MN, find,
if ($vbulletin->options['vsa_visitorslastx_enable'] AND !is_member_of($vbulletin->userinfo, split(',', $vbulletin->options['vsa_visitorslastx_exclgroups'])))Change it to this,
if ($vbulletin->options['vsa_visitorslastx_enable'] AND !is_member_of($vbulletin->userinfo, explode(',', $vbulletin->options['vsa_visitorslastx_exclgroups'])))

please update the plugin xml and post it here if it's possible for you

ozzy47
10-09-2013, 02:53 PM
I'll see what I can do when I get home.

ozzy47
10-09-2013, 10:58 PM
Here is the xml for vB 4.2.2, should work on earlier versions also.

artcrimes
10-10-2013, 07:30 AM
Here is the xml for vB 4.2.2, should work on earlier versions also.

Thank you so much! Worked!

ozzy47
10-10-2013, 09:43 AM
Not a problem, glad to help. :)

crazyboy1661
10-10-2013, 11:26 AM
Here is the xml for vB 4.2.2, should work on earlier versions also.

Thanks a lot Ozzt47, downloaded and installed. working with no issues.:up:

DemOnstar
10-10-2013, 11:32 AM
Trying this one for size...

Installed updated version...

ozzy47
10-10-2013, 11:43 AM
It should work without error issues.

Valter
10-10-2013, 02:03 PM
Thanks ozzy47.

Product have been updated to fix those PHP errors.

===

v3.0.5 - Oct 10. 2013.
-Fixed some PHP errors in 4.2.2

To upgrade:
- Import XML, allow overwrite

ozzy47
10-10-2013, 02:34 PM
Not a problem, I know you are busy.

I.G.O.T.A.
10-10-2013, 06:34 PM
Since 4.2.2 is loaded with problems I won't be upgrading anytime soon. So should I still update this program since I'm on 4.2.1?

CoZmicShReddeR
10-10-2013, 09:46 PM
Working fine again with 4.2.2

Thank you so much for the update!!

ozzy47
10-10-2013, 10:19 PM
Since 4.2.2 is loaded with problems I won't be upgrading anytime soon. So should I still update this program since I'm on 4.2.1?

It will still work in v4.2.1 if you upgrade.

I.G.O.T.A.
10-10-2013, 10:37 PM
It will still work in v4.2.1 if you upgrade.

Thank you.

ozzy47
10-10-2013, 10:40 PM
Not a problem, glad to help. :)

franzes80
10-13-2013, 12:46 PM
This plugin have the problem on vb 4.2.2.Please update thank you

ozzy47
10-13-2013, 12:47 PM
It was updated three days ago. :)

franzes80
10-13-2013, 12:47 PM
Sorry in new version all work.Thank you

ozzy47
10-13-2013, 12:53 PM
Not a problem, glad to help. :)

vBarsiv
03-16-2014, 03:27 PM
Thanks for the Plugin. I turned to translate Turkish. Good forums :)

sandrose
05-10-2014, 05:05 PM
How can I modify this plugin to make it work on vbulletin 5.1.1?

I installed it as on vbulletin 5.1.1. It is installed correctly but I can see 24 visitor under the online in the forum.

Can you help please?

DreadsUK
05-12-2014, 08:09 AM
Something isn't working right.

I've even doubled the last ours to 48 and either thats on working or the one above it isn't right.

https://vborg.vbsupport.ru/external/2014/05/34.png

i know we've had at least 15k viewers in the last 48 hours because of our last article

Haseenvilla
06-27-2014, 08:47 AM
Great mod and working fine to vb 4.2.2
Thanks for sharing :)

kemraj
09-30-2014, 03:08 AM
How to make it reset when it reaches midnight 00.00 everyday?

kemraj
10-09-2014, 01:06 PM
How to make it reset when it reaches midnight 00.00 everyday?

CheS06
11-12-2014, 07:25 AM
Counting Wrong Always ..

3star
11-12-2014, 07:55 PM
why it not show all my user group

tommyxv
12-24-2014, 07:54 PM
This is showing military time on mouse over the usernames when my forum is set to AM/PM. Any ideas?

EDIT: Thanks Alan!

Fix time problem:


Find:$vilxh_lastactivity = vbdate($vbulletin->options['dateformat'], $vilxh_visitor[lastactivity], 1).', '.vbdate('H\hi', $vilxh_visitor[lastactivity]);
Replace with:$vilxh_lastactivity = vbdate($vbulletin->options['dateformat'], $vilxh_visitor[lastactivity], 1).', '.vbdate($vbulletin->options['timeformat'], $vilxh_visitor[lastactivity]);

kemraj
12-26-2014, 11:11 PM
How to make it reset when it reaches midnight 00.00 everyday?

ozzy47
12-26-2014, 11:19 PM
How to make it reset when it reaches midnight 00.00 everyday?

You can't, the mod is a rolling X hour display, not in the last 24 hours.

ozzy47
12-26-2014, 11:23 PM
How can I modify this plugin to make it work on vbulletin 5.1.1?

I installed it as on vbulletin 5.1.1. It is installed correctly but I can see 24 visitor under the online in the forum.

Can you help please?

This will not work on vb5, no matter how you try to modify it.

Stratis
03-04-2016, 07:06 PM
Did any one made a change some how to exclude unregister users from shown them as visited.?

Thanks

t3h3th32
04-29-2017, 10:42 AM
Hi,

any idea, if this could work on vB 4.2.4?

Thanks for the info.

Regards,
~t3h'Pâr4d0x

MarkFL
04-29-2017, 10:57 AM
Hi,

any idea, if this could work on vB 4.2.4?

Thanks for the info.

Regards,
~t3h'P?r4d0x

It should, since it is said to be working for other vB 4.2.x versions. :)

Darkside2012
01-08-2018, 12:25 PM
does not work with vB 4.2.5

Stratis
01-08-2018, 01:48 PM
does not work with vB 4.2.5


I confirm that it works in my dev site vb4.2.5
156836

:)

afala
04-01-2020, 06:05 PM
4.2.5 sürümunde son 24 saat ziyaretci sayılarını düzgün vermiyor

Hostboard
04-01-2020, 08:15 PM
4.2.5 s?r?munde son 24 saat ziyaretci sayılarını d?zg?n vermiyor

Turkish translation: The last 24 hours in the version does not give the visitor numbers properly.

afala
04-02-2020, 06:12 PM
Turkish translation: The last 24 hours in the version does not give the visitor numbers properly.


Yardım edecek kimse yokmu

shka
04-03-2020, 06:17 AM
Turkish translation: The last 24 hours in the version does not give the visitor numbers properly.

That isn't nice but it would be better he writes what is shown - error / 0 / to high / to low /...
It is the number of registered and viewing members or plus guests (including bots!) and he wants only the count of mebers?

More questions after his post than "?" in his post ;)

yin9
05-25-2020, 11:57 PM
Thanks. Works on 4.2.5 and PHP 7.1.3.

marc276
12-03-2020, 07:35 AM
I like this mod actually, easy and light

StormBreaker
05-23-2023, 03:10 AM
The counters does not reset after 24h, the numbers are raising never resetting. 4.2 php 7.1

It fixed. Installed.