Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Members who have visited today (with last 24 hours option). Details »»
Members who have visited today (with last 24 hours option).
Version: 2.31, by Paul M Paul M is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 3.0.x Rating:
Released: 11-08-2004 Last Update: 07-23-2005 Installs: 627
 
No support by the author.

This modification is no longer available or supported.

A very simple display of all members who have visited the forum 'today' (i.e. since midnight). I looked at the existing hacks that apparently do this, and they either seemed over complicated or had a lot of problems, so I wrote my own simple version.


The main features of Version 2.xx are ;

1. It displays the list on Forum Home under the "Users online" display.

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.


If you prefer, then there is an option to make this hack display a rolling 24 hours - un-comment the relevant line in the code.


Addons:
ericgtr has created a CMPS module for this hack, you will find the files here.
paul41598 has created a pop-up display instead of the collapsable display, you will find the files here.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #422  
Old 07-08-2005, 08:24 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SlipNslide281
Installed and looks great. But one question. Where do I add the Phrases:

NOW CREATE THE FOLLOWING PHRASES:
******************************
last_online_at_x / Last online at {1}
******************************
active_users_today / Number of Active Users Today
******************************
most_users_ever / Most users ever online on a day was {1} on {2}.
******************************
already_visited_today / The following members have already visited the forums today
Um, there are no such instructions in this hack ???
Reply With Quote
  #423  
Old 07-09-2005, 01:18 PM
Jon Matcho Jon Matcho is offline
 
Join Date: Apr 2004
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just FYI, to get this to work in vBadvanced 2.0 I needed to set the Use Module Shell Template to NO. After that, everything worked great.

Thanks!
Reply With Quote
  #424  
Old 07-09-2005, 02:38 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Jon Matcho
Just FYI, to get this to work in vBadvanced 2.0 I needed to set the Use Module Shell Template to NO. After that, everything worked great.

Thanks!
Okay, thanks for sharing this. :up:
Reply With Quote
  #425  
Old 07-12-2005, 12:26 AM
GamTrak GamTrak is offline
 
Join Date: Jun 2005
Location: Denver
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi, I got the following error when modifying the template. Please advise.

The following error occurred when attempting to evaluate this template:

Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in /usr26/home/gamtrak/public_html/GamTrakForum/includes/adminfunctions_template.php(3096) : eval()'d code on line 192

This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.


Thanks

Edit: Now I can not load my main page. Please help.

http://www.gamtrak.com/GamTrakForum/index.php
Reply With Quote
  #426  
Old 07-12-2005, 12:46 AM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The usual reason is missing the </if> in step 2.

In fact, a couple of others have had this problem because they had other template mods installed - so the </if> that's part of the "find" in step 2 was not there, but they replaced the block anyway - and added the extra </if> in the replacement.

I did change the instructions to try and stop people tripping over this, but somewhere along the line the old instructions crept back in. I have reloaded the clearer instructions for you to try (sorry, I had to zip the text file due to the annoying new rule).
Reply With Quote
  #427  
Old 07-12-2005, 12:58 AM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by GamTrak
Edit: Now I can not load my main page. Please help.

http://www.gamtrak.com/GamTrakForum/index.php
Hmm, okay - obviously you continued despite the warning.

My guess is you inserted an extra enf-if.

Try looking for this
Code:
<!-- Todays active users -->
</if>
and remove the hilighted </if>.

If that fails, PM me a copy of your forumhome template.
Reply With Quote
  #428  
Old 07-12-2005, 01:00 AM
GamTrak GamTrak is offline
 
Join Date: Jun 2005
Location: Denver
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi, yes I messed up as I'm new at this. I'll send you the file now.

Thanks for your help as I'm in panic mode. hehe
Reply With Quote
  #429  
Old 07-13-2005, 10:58 PM
NetRover NetRover is offline
 
Join Date: Jul 2004
Posts: 123
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi there, I had this working fine but since upgrading to 3.0.7 my stats are blank unless I uncomment the 24hr rolling line.

When I first re-installed the hack it was working until 12.00 and then nothing even after an hour of members in and out.

I preferred it before the upgrade with the 24hr stats.

As I installed ok last time I can't think where things might have gone wrong. I've redone the forum home template and index.php but no luck yet.

hope you can help
Reply With Quote
  #430  
Old 07-14-2005, 01:13 AM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry but I'm confused as to what your problem actually is.


Quote:
my stats are blank unless I uncomment the 24hr rolling line
and

Quote:
I preferred it before the upgrade with the 24hr stats
Seem to me to suggest you want, and have, the rolling 24 hr display ????
Reply With Quote
  #431  
Old 07-14-2005, 03:36 AM
COBRAws's Avatar
COBRAws COBRAws is offline
 
Join Date: Oct 2002
Location: Buenos Aires
Posts: 864
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is there a way for just showing a number and not all members? What I want is to log all visits (members and guests) and show up a number, like:

Online the last 24Hrs: 848 users

sorry for the question.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:39 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05299 seconds
  • Memory Usage 2,314KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete