vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Members who have visited the forum (Today or last 24 hours). (https://vborg.vbsupport.ru/showthread.php?t=82769)

Paul M 06-09-2005 10:00 PM

Members who have visited the forum (Today or last 24 hours).
 
This modification is no longer available or supported.

This adds a simple display of all members who have visited the forum - either today (i.e. since midnight) or in the last 24 hours. Please note that it is not possible for this hack to count guests.

The main features of Version 4.xx are basically the same as previous versions ;

1. It displays the list on the Forum Home.
2. The list view is collapsable, so you just see the number.
3. Invisible users are only displayed to those allowed to see them (with a "*")
4. Users who should display as coloured or bold etc should be displayed correctly (based on the display usergroup).
5. If you 'hover' over a username it will show the time they were last active.
6. The list is in member name order.
7. The hack is now phrased.
8. The ability to turn it on/off is in the ACP Forum Home Options.
9. The ability to allow only certain usergroups to view the list is an ACP option (vBulletin Options > Who has visited today).
10. The switch between Visited Today and Rolling 24 Hours is an ACP option (many seem to miss this actually exists).
11. The listing of members can now be suppressed (a simple message is displayed instead).
12. The list of names can be set to be always collapsed on initial view.

Unzip the XML and import into vB using the ACP Product Manager.

To upgrade from version 4.10 onwards, you need to re-import the product with the overwrite option set to yes. To upgrade from version 4.01/4.02 to version 4.10 onwards, you need to uninstall the product and remove the template code in FORUMHOME - then upload the new product. To upgrade from version 3.xx to version 4.xx you need to delete the existing plugin and remove the template code in FORUMHOME - then upload the new product.

* Add-ons etc *

* An add-on to display a 'Most ever posters' count is available here.

* If you want the WVT display on a seperate page - see this post by EvilHawk - now updated to version 4.21.

* There is also a CMPS module that makes use of this plugin (by tgmorris).


History:

v4.10 : Removed the need to edit the FORUMHOME template.
v4.11 : Hyperlinked display icon to members list. Added vb number formatting to count.
v4.12 : Added ALT tag to above hyperlink.
v4.13 : Fixed problem affecting the most visitors add-on when more than 999 visit in a day.
v4.14 : Added name suppression & always collapsed options.
v4.15 : Updated the install code to only create the index if it doesn't already exist.
v4.16 : Fixed error in new install code (changed DROP to ADD !).
v4.17 : Updated ACP view permission option to take into account secondary groups.
v4.18 : Not publicly released.
v4.19 : Added 'nofollow' attribute to listed usernames.
v4.20 : Minor changes, no update necessary.
v4.21 : Minor changes to settings group, instructions updated.

Chris M 06-09-2005 11:19 PM

Installed and working fine :)

Satan

Link14716 06-09-2005 11:32 PM

This isn't working for me. It just shows " Total users that have visited today: 0" and an empty table.

StarBuG 06-09-2005 11:44 PM

After uploading the xml file I get a white page in the acp.
The plugin can be found in the Plugin Manager and is set to active.

On index.php however there is no change at all. :(

StarBuG

Paul M 06-09-2005 11:45 PM

Quote:

Originally Posted by StarBuG
After uploading the xml file I get a white page in the acp.
The plugin can be found in the Plugin Manager and is set to active.

On index.php however there is no change at all. :(

StarBuG

Did you do the template change ?

Paul M 06-09-2005 11:46 PM

Quote:

Originally Posted by Link14716
This isn't working for me. It just shows " Total users that have visited today: 0" and an empty table.

Interesting - the code must be running for you to get a zero. Can you provide a link to your site, and a test login if possible. :)

StarBuG 06-09-2005 11:55 PM

DOH

I thought it was the xml alone :D
I will do the changes after the bug is fixed that I can?t access my templated :(

StarBuG

Link14716 06-10-2005 12:33 AM

Quote:

Originally Posted by Paul M
Interesting - the code must be running for you to get a zero. Can you provide a link to your site, and a test login if possible. :)

I have disabled it. It works over 24 hours, just not since midnight.

Link14716 06-10-2005 12:53 AM

I fixed it by changing this:
PHP Code:

$now TIMENOW intval($vbulletin->options['hourdif']); 

to this:
PHP Code:

$now TIMENOW intval(($vbulletin->options['timeoffset'] + $vbulletin->options['dstonoff']) * 3600); 


Chris M 06-10-2005 12:59 AM

I've altered it in my plugin code and it still works...

So so far so good ;)

Satan


All times are GMT. The time now is 08:48 PM.

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.01658 seconds
  • Memory Usage 1,750KB
  • 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
  • (2)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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