Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Who Was Online Today on forums Details »»
Who Was Online Today on forums
Version: 1.00, by Gary King Gary King is offline
Developer Last Online: Jun 2020 Show Printable Version Email this Page

Version: 3.0.4 Rating:
Released: 01-02-2004 Last Update: 03-16-2004 Installs: 527
 
No support by the author.

PLEASE CLICK THE INSTALL BUTTON IF INSTALLED!

What does this hack do?

It shows the users who visited your forums in the last 24 hours (or today). This hack works similiarly like the one released for vBulletin 2.

NOTE: If you want to show 'Who was online today' on a separate page from forumhome, then download instructions-newpage.txt and onlinetoday.php instead of instructions-regular.txt

Modifications
  • 1 file modification
  • 3 template modifications
  • 0 queries to run

Features
  • supports and uses phrases
  • usernames are formatted properly
  • invisible users only show to people who are supposed to see them (admins and whoever else you allowed)
  • integrated (makes it so that the Who Was Online bar is now collapseable

Screenshots
Look below

Credits: Thanks goes to Mystics, where this hack is based on his

Show Your Support

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

Comments
  #162  
Old 02-14-2004, 12:31 PM
Gary King's Avatar
Gary King Gary King is offline
 
Join Date: Jan 2002
Posts: 2,046
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by []\[]emesis
Do this:
In forumhome_todayloggedinusers
Replace everything with the following.
HTML Code:
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onClick="return toggle_collapse('forumhome_todayactiveusers')"><img id="collapseimg_forumhome_todayactiveusers" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_todayactiveusers].gif" alt="" border="0" /></a>
$vbphrase[active_users_today]: $todayonline
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_todayactiveusers" style="$vbcollapse[collapseobj_forumhome_todayactiveusers]">

<tr>

<td class="alt2"><img src="$stylevar[imgdir_statusicon]/forum_link.gif" alt=" Number of Active Users Today" border="0" /></td>

<td class="alt1" colspan="0"><div class="smallfont">
<nobr><phrase 1="$todayrecordusers" 2="$todayrecorddate">$vbphrase[most_users_ever]</phrase></nobr> | 
<nobr>$vbphrase[already_visited_today]:</nobr><br />
        $todayloggedinuser<br />
        </div></td>
</tr>
</tbody>
Go to http://www.computerproblems.org/forums

to see what that will do. Hope that helps.
I added that to the instructions now, looks better than what I have right now
Reply With Quote
  #163  
Old 02-14-2004, 02:43 PM
trinitym's Avatar
trinitym trinitym is offline
 
Join Date: Jan 2004
Location: between hell & insanity
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Woohoo! Everything is now working like a well-oiled machine. Erm, or something like that. Thanks for the fix, I really love this hack. Now I can click the happy button.

[high]* trinitym clicks install[/high]
Reply With Quote
  #164  
Old 02-14-2004, 07:24 PM
Logikos Logikos is offline
 
Join Date: Jan 2003
Posts: 2,924
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No problem guys, love the hack! Nice smooth install, thats what i like to see.
Reply With Quote
  #165  
Old 02-15-2004, 01:14 AM
94DROPTOPZ 94DROPTOPZ is offline
 
Join Date: Dec 2003
Location: Arizona
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The phrases are missing on mine I think since I redid the install...

How do I manually add the phrases? I know that I goto the phrase manager and click add new phrase but :

what phrase type?

what Varname?

what text?

I also re read through the next install.txt file and all I see are the phrases (but not the rest of how to add them), sorry for the stupid question but I'm new to this

Also if you click on some of the usernames at the bottom it shows their last active date as being 2/13/04 and today is the 14th hmmm just wondering?
Reply With Quote
  #166  
Old 02-15-2004, 01:20 AM
Gary King's Avatar
Gary King Gary King is offline
 
Join Date: Jan 2002
Posts: 2,046
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by 94DROPTOPZ
The phrases are missing on mine I think since I redid the install...

How do I manually add the phrases? I know that I goto the phrase manager and click add new phrase but :

what phrase type?

what Varname?

what text?

I also re read through the next install.txt file and all I see are the phrases (but not the rest of how to add them), sorry for the stupid question but I'm new to this

Also if you click on some of the usernames at the bottom it shows their last active date as being 2/13/04 and today is the 14th hmmm just wondering?
Phrase type, use GLOBAL, varname is the text before the / and text is after that.
Reply With Quote
  #167  
Old 02-15-2004, 01:31 AM
94DROPTOPZ 94DROPTOPZ is offline
 
Join Date: Dec 2003
Location: Arizona
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Gary W
Phrase type, use GLOBAL, varname is the text before the / and text is after that.

Thanks for answering such a ridiculous question I figured it out right after I posted and I apologize... I manually added the phrases and it fixed that problem now I'm just not too sure why some of the members it said visited the board today when you look at their profile it says last avtivity 2/13

Thanks Gary
Reply With Quote
  #168  
Old 02-15-2004, 01:38 AM
Gary King's Avatar
Gary King Gary King is offline
 
Join Date: Jan 2002
Posts: 2,046
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by 94DROPTOPZ
Thanks for answering such a ridiculous question I figured it out right after I posted and I apologize... I manually added the phrases and it fixed that problem now I'm just not too sure why some of the members it said visited the board today when you look at their profile it says last avtivity 2/13

Thanks Gary
Because the hack checks 'today' differently from the actual server times, etc. so it would probably be a few hours off.
Reply With Quote
  #169  
Old 02-15-2004, 08:15 AM
natralis natralis is offline
 
Join Date: Mar 2002
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed and working took 5 mins thankyou gary appreciated m8
Reply With Quote
  #170  
Old 02-15-2004, 12:13 PM
trilOByte's Avatar
trilOByte trilOByte is offline
 
Join Date: Nov 2001
Location: England
Posts: 325
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there any way to get this to reset to different timezones? My site is for the UK (server is in the US) and this seems to start it's daily calculation at about 5am GMT (which is roughly midnight where my server is). Also, the last activity "mouseover" doesnt reflect the difference in timezones - it's 5hrs out for 99% of my users.

What I would like is the count to reset itself to mkidnight GMT, not midnight server time, and the last activity to reflect GMT not EST.
Reply With Quote
  #171  
Old 02-15-2004, 09:27 PM
M.C. M.C. is offline
 
Join Date: Jan 2002
Posts: 463
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

start making phrases self and then saw, that you already add that to hack Cool!

Just question - is that hack add query to DB and if yes how many...

And last - can you do it like it was on vB2., when list of online users can be shown on single page (like onlinetoday.php) instead of index.php?

Thanks!
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 01:25 AM.


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.05933 seconds
  • Memory Usage 2,317KB
  • 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_html
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)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