vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Forum Home Enhancements - Members who have visited today. (https://vborg.vbsupport.ru/showthread.php?t=221579)

Paul M 08-22-2009 10:00 PM

Members who have visited today.
 

--------------------------------------------------------------------------------
This modification has been withdrawn.
vBulletin 4.0.x and 4.1.x are no longer supported.

The feature is already built into the core vBulletin 4.2.x code.
--------------------------------------------------------------------------------


This adds a simple display of all members who have visited the forum - either today (i.e. since the users midnight) or in the last 24 hours.

This modification cannot count guests, it is members only.

Note that installing this will automatically remove the "Member Tracking" modification.

The main features of the vB4 version are as follows ;

1. It displays the list on the Forum Home.
2. Invisible users are only displayed to those allowed to see them (with a "*")
3. Users who should display as coloured or bold etc will be displayed correctly (based on the display usergroup).
4. If you 'hover' over a username it will show the time they were last active.
5. The list is in member name order.
6. The ability to turn it on/off is in the ACP Options.
7. The ability to allow only certain usergroups to view the list is an ACP option (include or exclude groups).
8. An option to record and display the Most Ever Members can be enabled.
9. The switch between Visited Today and Rolling 24 Hours is an ACP option.
10. The listing of members can be suppressed (a simple message is displayed instead).
11. The list view is collapsable, so you just see the number .
12. The display can be set as always collapsed on initial page load.

(Options are in vBulletin Options > Who has visited today)

To install just download the XML and import into vB using the ACP Product Manager.


History:

v4.0.1 : 21-Dec-2009 : Initial release for vb 4.0.0 Gold.
v4.0.2 : 22-Dec-2009 : Minor display changes (Icon).
v4.0.3 : 24-Dec-2009 : Install code updates.
v4.0.4 : 16-Jan-2010 : Added always collapsed option.
v4.0.5 : 26-Jan-2010 : Various updates.
v4.0.6 : 18-Feb-2010 : Installer update.
v4.0.7 : 29-May-2010 : Fix error in upgrade section of install code.
v4.0.8 : 22-Oct-2010 : Fixed for WGO style changes in vB 4.0.8.
v4.0.9 : 06-Nov-2010 : Install code updated.

v4.1.0 : 04-Dec-2010 : Updated for vBulletin 4.1.

v4.1.7.0 : 16-Oct-2011 : Updated for vBulletin 4.1.7.
v4.1.8.0 : 18-Nov-2011 : Updated for vBulletin 4.1.8 onwards (only).
v4.1.11.0 : 03-Mar-2012 : Updated for vBulletin 4.1.11 image changes.


Ohiosweetheart 08-23-2009 09:59 PM

Fantastic! Going to install and test it now.

Paul M 08-23-2009 10:25 PM

JFYI, you may want to note the bug in the Forumhome template that affects the display of this atm.

http://www.vbulletin.com/forum/proje...?issueid=28904

cellarius 08-23-2009 10:32 PM

Installed and fixed the bug, works like a charm :)

Razasharp 08-24-2009 12:01 AM

Glad this one's done already Paul! :)

Andreas 08-24-2009 06:50 AM

Does not work with Memcache as Datastore Cache.

Paul M 08-24-2009 08:23 AM

I have no way of testing that since I dont use memcache, but could you be a little more specific than "does not work" :)

JFYI, I use xcache for the datastore normally, but xcache support appears completely broken in vb4 atm so I cant even test that.

veenuisthebest 08-24-2009 08:29 AM

Quote:

Originally Posted by Andreas (Post 1873179)
Does not work with Memcache as Datastore Cache.

May I know please, how do we determine/test that a mod is working with various cache systems?

Paul M 08-24-2009 08:37 AM

You cant, unless you have them installed.

BTW, Just to be clear about something, the only part that uses the datastore is the "Most ever" display, not the main display.

veenuisthebest 08-24-2009 10:10 AM

Quote:

Originally Posted by Paul M (Post 1873229)
You cant, unless you have them installed.

Obviously, so like I have XCache installed. How do I test now?

Andreas 08-24-2009 10:33 AM

Quote:

Originally Posted by Paul M (Post 1873223)
I have no way of testing that since I dont use memcache, but could you be a little more specific than "does not work" :)

Hehe, sure ;)
(In fact I didn't test it, I just looked at the code):
You are calling do_fetch(), which does work just fine for connectionless caches like APC, XCache, eAccelerator.

Memcache however does need a connection, and do_fetch() does not check if there is one - so you end up with an error (or a segfault in worst case).

Paul M 08-24-2009 11:23 AM

So this is a bug in vbulletin, the memcache class should check/create a connection when do_fetch() is used. :)

As it happens, that code only runs if maxloggedin does not exist, which should never be the case on the forumhome, it was a backup in case the code was run on other pages (which used to be an option, but got removed in the 3.8 version). So even if you run memcache, this should actually always work.

In fact, I think I can take out the datastore fetch, as the reason for it being there no longer exists.

Paul M 08-24-2009 11:24 AM

Quote:

Originally Posted by veenuisthebest (Post 1873268)
Obviously, so like I have XCache installed. How do I test now?

Sorry, I dont really understand what you are asking.

Andreas 08-24-2009 11:41 AM

Nope, as do_fetch() is a "private" method that really only gets called from within the class - you are abusing it by calling it from the outside ;)

Marco van Herwaarden 08-24-2009 12:08 PM

Then it should be set as private so it can't be used from outside the class.

Paul M 08-24-2009 12:08 PM

Abusing it, lol, a bit extreme :)

I havent looked at that for a couple of years, since I first played with it, but yes, I presume fetch() should be used.

Paul M 08-26-2009 02:34 PM

Build 13 - added the collapse option back.

Andreas 08-26-2009 08:39 PM

Quote:

Originally Posted by Marco van Herwaarden (Post 1873312)
Then it should be set as private so it can't be used from outside the class.

If it was PHP 5 code - sure.
But it is PHP 4 code still.

Paul M 09-09-2009 07:09 PM

Build 16 uploaded.

Various changes based on testing and learning of vb4.

Charlie98902 11-15-2009 03:05 PM

Thanks Paul this is one of the many mods I use :)

tom001 11-15-2009 03:07 PM

Nice I downloaded it.

CThiessen 11-15-2009 03:29 PM

Works fine on my Test Forum.
Prior to Update (v3>v4) i disabled all AddOn´s but leave them installed.
Just installed this AddOn and it works fine. Kept the old "Highscores"

Thanks for that
Christian

PixelFx 11-15-2009 04:06 PM

wow fast to get updates out. :D

Paul M 11-15-2009 04:22 PM

Quote:

Originally Posted by PixelFx (Post 1914647)
wow fast to get updates out. :D

LOL, this has been in development since Alpha 1 :)

PixelFx 11-15-2009 04:47 PM

I didn't come in till beta 1, but seems only today I could see it .. ;) *cough*

Ascor 11-15-2009 06:25 PM

Thanks Paul :)

The Coon 11-15-2009 06:30 PM

Thank you, Paul! That was fast ;)

I would like to have this statistic icon in front of it:

Attachment 106153

Greetz!

nomoreturn 11-15-2009 06:31 PM

Installed and working great thanks

Paul M 11-15-2009 09:45 PM

Quote:

Originally Posted by The Coon (Post 1914743)
I would like to have this statistic icon in front of it:

Indeed, I agree, it will be in the next release.

Booth 11-15-2009 10:00 PM

Excellent, works perfectly thanks for the update :)

merk_aus 11-15-2009 10:08 PM

Thanks for this Paul, this is normally one of the first mods I install and am glad to see that this has been released etc. Installed and works fine.

bart6767 11-15-2009 10:11 PM

I get a bug in this as the names go of the page and i get a scrollbar ?

iCafe 11-16-2009 12:13 AM

bug on my site

https://vborg.vbsupport.ru/external/...=e7c4_4b00b4b2

Charlie98902 11-16-2009 12:14 AM

Looks like it may be conflicting with another mod?

ukDesign 11-16-2009 06:11 AM

Works well thanks.

bart6767 11-16-2009 10:36 AM

Quote:

Originally Posted by iCafe (Post 1914955)

I get the same bug .

Paul M 11-16-2009 10:50 AM

Since I cannot view that link at work, I cannot see what you mean. However, going on the description, there is no bug in this mod, since it uses the standard vb style - there is however a known bug like this in the current beta style, which affects IE8 I think.

cellarius 11-16-2009 01:03 PM

Yep, Paul, that's the known issue with the who's online block has with IE 8. Definitely a vB4 style issue, not your mod.

rtyagis 11-16-2009 01:33 PM

Thanks

OmekaTeam 11-16-2009 02:35 PM

Hi
I have a problem, the names customer go outside from the forum, also with the skin of default. Use firefox and IE8.


All times are GMT. The time now is 12:02 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01813 seconds
  • Memory Usage 1,811KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete