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

Paul M 06-10-2005 01:18 AM

Okay - I applied a slightly different fix (uploaded).

I'll take a proper look tomorrow at the timezone stuff and see which is the best method. :)

volcan 06-10-2005 01:19 AM

Hi.
I install the hack but the only thing is showing is the "Total users that have visited today:"
but there is nothing in it.
Now I dint install the plugin I dont now where to install it.
Where do I upload it please?
I need a detail instractions please.
Thank you.
Regards.

Paul M 06-10-2005 01:23 AM

You are running vB 3.5.0 beta ?

TTG 06-10-2005 02:07 AM

Installed and works fine :)

Paul M 06-10-2005 02:12 AM

Quote:

Originally Posted by TTG
Installed and works fine :)

Click install then please. :)

TTG 06-10-2005 02:20 AM

Quote:

Originally Posted by Paul M
Click install then please. :)

Done

volcan 06-10-2005 02:26 AM

no i have the
(vBulletin 3.0.7)

Link14716 06-10-2005 02:34 AM

Then this isn't the place for you. This hack (and this forum) is for vB 3.5. The vB 3.0.x forums are below these. There are hacks for 3.0.x which will do the same thing.

Paul M 06-10-2005 02:34 AM

Quote:

Originally Posted by volcan
no i have the
(vBulletin 3.0.7)

Then you are installing the wrong version - this is the vB 3.5.0 beta version - you want the vB 3.0.7 version, which is here ;

https://vborg.vbsupport.ru/showthrea...threadid=71533

jpt62089 06-10-2005 04:46 AM

*fixed*

playstation 06-10-2005 12:26 PM

Works great.

*clicks install*

ja3 06-10-2005 01:08 PM

easy to install, easy to use, superb :)

wi11ie1950 06-11-2005 03:32 AM

Works ok for me.. Click Installed

Svenna 06-11-2005 02:03 PM

nice job :nervous:

belinea 06-12-2005 04:24 PM

This Mod doesn´t work.

I see a "Total users that have visited today:" and an empy table.

Paul M 06-12-2005 05:13 PM

Quote:

Originally Posted by belinea
This Mod doesn?t work.

I see a "Total users that have visited today:" and an empy table.

I beg to differ, but yes it does. Did you actually do step 3 ?

belinea 06-12-2005 05:25 PM

Quote:

Originally Posted by Paul M
I beg to differ, but yes it does. Did you actually do step 3 ?

Yes, I did.

Paul M 06-12-2005 05:27 PM

and have you turned the plugin system on (in the vb options) ?

belinea 06-12-2005 05:36 PM

Quote:

Originally Posted by Paul M
and have you turned the plugin system on (in the vb options) ?

Yepp, other Plugins works fine. :disappointed:

Paul M 06-12-2005 06:24 PM

<shrug> It works for me and everyone else - is it listed, and active in the plugin manager.

belinea 06-12-2005 07:00 PM

I have restarted my Apache. Now it works.

Many thanks for your help.

Paul M 06-12-2005 07:01 PM

Bizarre is about all I can say to that. :)

You can click on install now ;)

uae 06-13-2005 04:41 AM

Thank you Paul.

kall 06-13-2005 05:38 AM

I think you might have an extra </if> in the end of the FORUMHOME addition Paul.

Either that, or you missed it out in the FIND statement.

(Or my first day working after 18 months playing around with vB has reduced my brain to mush, and everything is correct.) :)

Paul M 06-13-2005 02:00 PM

Quote:

Originally Posted by kall
I think you might have an extra </if> in the end of the FORUMHOME addition Paul.

Either that, or you missed it out in the FIND statement.

(Or my first day working after 18 months playing around with vB has reduced my brain to mush, and everything is correct.) :)

Nope - you were right - an extra if sneaked in on the last upload, now removed. Thanks. :)

OmaniMan 06-13-2005 08:50 PM

install >>
Great :) >>

neil b 06-14-2005 09:32 PM

This works well on my board.

mholtum 06-16-2005 07:05 PM

very nice!
/me installs

havefun 06-17-2005 06:31 PM

thanks, works fine :)

dreck 06-18-2005 04:58 PM

*install*


All times are GMT. The time now is 12:11 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.01834 seconds
  • Memory Usage 1,818KB
  • 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
  • (10)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