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 (or in the last 24 hours). (https://vborg.vbsupport.ru/showthread.php?t=121883)

agilent 08-21-2007 08:12 PM

This is a great mod, Paul M did a great job. I just gave this mod 5 stars.

wickland 08-21-2007 09:46 PM

Installed, I love your mods, simple but sweet. 5 stars

Thanks!
Best Regards

SnowBot 08-21-2007 10:50 PM

Installed Paul, thanks very much :)

agilent 08-22-2007 02:15 PM

Sorry to be so persistent, but I would really like to make this a "who visited in the last 48 hours". Has anyone made this change and if so, do you care to share the code modification?

Paul M 08-22-2007 03:45 PM

You must edit plugin (2) to change the cutoff value (from 86400 to 172800). You will also need to edit the phrase(s).

Shazz 08-22-2007 03:51 PM

Paul sorry if its been asked many many times, could this work on vbadvanced? if so please point me in the right direction.

Paul M 08-22-2007 07:55 PM

I believe there is a vba module based on this, best to ask on their forum.

agilent 08-22-2007 08:31 PM

Quote:

Originally Posted by Paul M (Post 1323251)
You must edit plugin (2) to change the cutoff value (from 86400 to 172800). You will also need to edit the phrase(s).

Thanks Paul, I appreciate it.

agilent 08-22-2007 08:38 PM

Paul, when you hover over a username it shows time they were last active by displaying the time like 03:00 PM for example. Is there any way I can get it to display the date with that as well. For example, 08/21/07 03:00 PM.

Paul M 08-22-2007 10:21 PM

Again you would need to edit the section of the plugin that builds this information and edit it. I believe it's 'wrdate' you need to look for.

agilent 08-23-2007 03:02 AM

Quote:

Originally Posted by Paul M (Post 1323557)
Again you would need to edit the section of the plugin that builds this information and edit it. I believe it's 'wrdate' you need to look for.

Paul M, it calls the time from the $vbulletin->options['timeformat'] which is no problem, but if you change the time format there is changes it board wide. Does anyone know how I can call it to m-d (month day like 08-21) without effecting the board wide time display?

Something like display equals both dateformat and timeformat? not sure

agilent 08-23-2007 03:40 AM

Where do we set it to list users alphabetically or randomly?

Paul M 08-23-2007 07:07 AM

Sorry but you are basically asking me to look into ways of customising this modification for you, this is beyond the level of support I currently have time to provide.

David Bott 08-23-2007 07:46 PM

VER 3.6.8

Greetings...Would you think this hack would make or server load increases? I ask for right after I installed it, the server loads on all 5 server went out of control.

Got the servers under control and disabled the program. Reopened site all was well. Watched the loads for awhile and then turned the program back on. Loads started to increase again. Tuned it off, they fell.

Did not have the option set to show all the names for, well, we are a very busy site. (24 hour counter when I looked was 28,000+)

Just wanted to check in on this. Thanks.

(Note...only 10 queries on the forums display page with it OFF.)

Paul M 08-23-2007 09:24 PM

28,000 is an awful lot of users.

The answer (for the current release) is probably yes, I would expect it to have some sort of effect on that sort of scale - this is because even when name display is disabled, it still reads the data for all 28,000 members from the user table.

This is actually a problem I've known about since the 3.5 version (i.e. a long time) but is very low on my fix list, simply because it's a rare problem.

Since it's now been bought up, I'll take another look at changing that [over the weekend] and see if that improves it. It would be helpful to me if you could try the changed version, even if you ultimately decide not to use it, just so I get an idea on whether the improvement actually works.

David Bott 08-23-2007 10:18 PM

Hi Paul...

Thanks for responding. I am guessing you are not aware of AVSForum. :) We have over 450 thousand registered users and see about 210,000 unique visitors a day. As such, if it looks though the user table to check the last visit time and date, well, yupper, that is why I more or less crashed. :)

As of this post...

Currently Active Users: 4788 (1980 members and 2108 guests)
Most users ever online was 8,818, 01-17-07 at 03:41 PM.
AVS Forum Statistics
Threads: 860,522, Posts: 11,101,217, Members: 457,824

If I can be of help, be happy to. For now I can see if happen and quickly turn off the plug in.

Happy to work with you via AIM. PM me to keep this off site.

Thanks

DJRu 08-24-2007 04:38 PM

Great easy hack!

Installed in 2 minutes and working just fine!
thanks

Skavenger 08-28-2007 11:44 PM

Quote:

Originally Posted by Shazz (Post 1323265)
Paul sorry if its been asked many many times, could this work on vbadvanced? if so please point me in the right direction.

http://www.vbadvanced.com/forum/show...+visited+Today

btw, in history it says v4.42, but in the mod details it says 4.41

DeiseHost 08-29-2007 12:16 AM

I just installed the update for this and now it doesn't work.
Any ideas?

Michael Biddle 08-29-2007 01:13 AM

Quote:

Originally Posted by DeiseHost (Post 1327754)
I just installed the update for this and now it doesn't work.
Any ideas?

Same, I reimported older product

TheWhite 08-29-2007 01:37 AM

Quote:

Originally Posted by Paul M (Post 1324377)
28,000 is an awful lot of users.

The answer (for the current release) is probably yes, I would expect it to have some sort of effect on that sort of scale - this is because even when name display is disabled, it still reads the data for all 28,000 members from the user table.

This is actually a problem I've known about since the 3.5 version (i.e. a long time) but is very low on my fix list, simply because it's a rare problem.

Since it's now been bought up, I'll take another look at changing that [over the weekend] and see if that improves it. It would be helpful to me if you could try the changed version, even if you ultimately decide not to use it, just so I get an idea on whether the improvement actually works.

Can you make a version that just lists the user visits without the relative info so that the load stays low?

Regards

Paul M 08-29-2007 07:29 AM

Quote:

Originally Posted by DeiseHost (Post 1327754)
I just installed the update for this and now it doesn't work.
Any ideas?

Quote:

Originally Posted by whitemike (Post 1327779)
Same, I reimported older product


You needed to check the (new) Usergroup Display options, by default this was set to include only the usergroups listed - but your list probably contained no usergroups (or just '0'). I've changed the default to include all usergroups on first install, but you should still check the option, esp if you used to only include certain usergroups .

Paul M 08-29-2007 07:34 AM

Quote:

Originally Posted by TheWhite (Post 1327795)
Can you make a version that just lists the user visits without the relative info so that the load stays low?

As it says ;

Quote:

v4.42 : Usergroup display and other options added. Updated to prevent loading user data when name display is disabled.
That's the best that can be done.

You should note that this creates it's own index on first install - that may take some time to actually happen on large forums, so you may want to disable it until mysql has completed the index build (you may also want to install it at a quiet time).

Skavenger 08-29-2007 03:07 PM

there is a space between each username and the comma, how can i remove it?

Gryphon 08-29-2007 03:57 PM

Quote:

Originally Posted by Skavenger (Post 1328164)
there is a space between each username and the comma, how can i remove it?

Edit template Display_Visitors_User and remove the new lines from the beginning and end.

Nathan2006 08-29-2007 04:23 PM

Thanks for the update Paul working great! :)

Paul M 08-29-2007 08:12 PM

Quote:

Originally Posted by Gryphon (Post 1328184)
Edit template Display_Visitors_User and remove the new lines from the beginning and end.

Indeed, they shouldn't be there, I'll remove them.

BadgerDog 08-29-2007 08:17 PM

Quote:

Originally Posted by Paul M (Post 1328312)
Indeed, they shouldn't be there, I'll remove them.

Can you advise when the newest version with that change is ready for download?

I want to upgrade this excellent mod from v4.41 that we're currently using...

Thanks .. :)

Regards,
Badger

Paul M 08-29-2007 08:25 PM

It was uploaded about 60 seconds after I posted ;)

BadgerDog 08-29-2007 08:28 PM

Roger that .... :up:

I'll download it again....

Thanks for the update(s)...

Regards,
Badger

Edit: Installed v4.42 and working great.... :up:

SCRIPT3R 08-29-2007 10:33 PM

lots of updates lately.

Paul M 08-29-2007 10:39 PM

Do you mean to this, or in general ?

I believe this was last updated (4.41) in January.

I usually release updates across my mods in batches rather than drips and drabs.

Nathan2006 08-29-2007 11:43 PM

Thanks Paul :D

Updated

obmob 08-30-2007 03:41 PM

Thanks for the update! :D

Masiello 08-30-2007 03:55 PM

Thanks for the update Paul :)

Shazz 08-30-2007 04:04 PM

I haven't seen a update by email yet :o

Masiello 08-30-2007 04:10 PM

Hey Paul, it's normal that after the update the module that show "Member who have visited" change the position?
Now it is showing just above the "Forum Statistics"

Masiello 08-30-2007 04:18 PM

Quote:

Originally Posted by Shazz (Post 1328942)
I haven't seen a update by email yet :o

Me too

TheWhite 08-30-2007 04:21 PM

like i said elsewhere can you make it so that the database isn't queried or stressed by just adding the members names without the last login information when hovering above it?

Paul M 08-30-2007 07:53 PM

Quote:

Originally Posted by Masiello (Post 1328946)
Hey Paul, it's normal that after the update the module that show "Member who have visited" change the position?


That's quite possible, one of the hooks used has changed, which could affect the order the code is run if you have other mods installed.


Quote:

Originally Posted by Shazz (Post 1328942)
I haven't seen a update by email yet :o

Quote:

Originally Posted by Masiello (Post 1328948)
Me too


You won't unless you have auto-notifications enabled for this mod. I only send manual updates if the changes are such that upgrading is recommended rather than optional.


Quote:

Originally Posted by TheWhite (Post 1328952)
like i said elsewhere can you make it so that the database isn't queried or stressed by just adding the members names without the last login information when hovering above it?


The last login information (on it's own) makes no detectable difference to load, it's just a bit of php to format/display the timestamp.


All times are GMT. The time now is 09:34 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.02152 seconds
  • Memory Usage 1,825KB
  • 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
  • (17)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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