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
  #452  
Old 12-05-2004, 01:13 PM
boo.3 boo.3 is offline
 
Join Date: Nov 2004
Posts: 232
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

NOW CREATE THE FOLLOWING PHRASES:

and

RUN THIS QUERY (IF YOU HAVEN'T RAN
THE INSTALLER.PHP FILE BEFORE)

what do i do with those??

how do i run a query? and how do i create PHRASES?
Reply With Quote
  #453  
Old 12-07-2004, 03:03 AM
alkatraz alkatraz is offline
 
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 384
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed with ease, thank you!

wow! I avg ~50 members online at a time but was suprised to find out i'm getting over 400 members online throughout the day! (I thought it was the same 40 or so post+++++s that never seem to logout, lol)
Reply With Quote
  #454  
Old 12-07-2004, 06:11 AM
fonzerelli_79's Avatar
fonzerelli_79 fonzerelli_79 is offline
 
Join Date: Nov 2001
Posts: 259
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

strange problem with my installation
had it up and running for months
only a while ago i noticed that the most members online was resetting to the same as that day

so i uninstlled and then reinstalled the hack and it was working perfectly for weeks

then today i checked and most members online is now only 2 (ie members online today so far)

what could be wrong??
Reply With Quote
  #455  
Old 12-10-2004, 04:44 AM
alkatraz alkatraz is offline
 
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 384
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I decided I wanted to make this visable to my mods/admins only for bandwidth/query reasons.

Just wanted to share the mini hack if anyone else wanted it,

PHP Code:
Edit the template "FORUMHOME" 

search for,

$todayloggedinusers


replace with
,

<!-- 
only show total users today to mods -->
<if 
condition="$show['modcplink']">

        
$todayloggedinusers

</if>


and 
you're done 
Reply With Quote
  #456  
Old 01-07-2005, 12:11 AM
SHOBizzy SHOBizzy is offline
 
Join Date: Apr 2004
Location: USA
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed tonight on vB 3.0.4 and it works like a charm. Thanks much!

alkatraz, I searched for $todayloggedinusers in my FORUMHOME template like you suggest because I'm interested in having only the mods and admin view this list also but that phrase is nowhere to be found. Is there any other way to add this that you know of?
Reply With Quote
  #457  
Old 01-07-2005, 01:19 AM
alkatraz alkatraz is offline
 
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 384
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

are you using the normal hack or the "new page" version of this hack?

the normal hack instructions say
PHP Code:
OPEN THE FORUMHOME TEMPLATE AND FIND
******************************
<!-- 
end logged-in users -->
******************************
BELOWADD
******************************
$todayloggedinusers 
so if it's not in FORUMHOME then you either installed it wrong and it shouldn't be working *at all* for you. OR you're using the "new page" hack. If it's the later, then check the install instructions and see where $todayloggedinusers is added.
Reply With Quote
  #458  
Old 01-07-2005, 06:10 AM
kisersose kisersose is offline
 
Join Date: Jun 2004
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanx
Reply With Quote
  #459  
Old 01-07-2005, 09:00 PM
Impulse Impulse is offline
 
Join Date: Feb 2004
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Somone help me, quick if possible.

I've just installed this hack (on vb3.0.3, but it works perfectly fine) except for one thing. Whereas the currently online table shows users like this: user1, user2, user3 (note the comma's although they dun appeared bolded, but to make them clearer...)

this hack shows them like users1 , users2 , user3 , how and perhaps more importantly where do I remove this extra unwanted spacial?
Reply With Quote
  #460  
Old 01-07-2005, 11:42 PM
kisersose kisersose is offline
 
Join Date: Jun 2004
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Impulse
Somone help me, quick if possible.

I've just installed this hack (on vb3.0.3, but it works perfectly fine) except for one thing. Whereas the currently online table shows users like this: user1, user2, user3 (note the comma's although they dun appeared bolded, but to make them clearer...)

this hack shows them like users1 , users2 , user3 , how and perhaps more importantly where do I remove this extra unwanted spacial?

it doesnt look like that on my site.

http://emceeplanet.com/forums/index.php?

show us a pic.
Reply With Quote
  #461  
Old 01-07-2005, 11:52 PM
Slapp3r Slapp3r is offline
 
Join Date: Jul 2004
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks nice hack
Reply With Quote
  #462  
Old 01-08-2005, 04:27 AM
Impulse Impulse is offline
 
Join Date: Feb 2004
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kisersose
it doesnt look like that on my site.

http://emceeplanet.com/forums/index.php?

show us a pic.

www.ffimpulse.com/forum/index.php?
Reply With Quote
  #463  
Old 01-08-2005, 06:11 AM
LKJR LKJR is offline
 
Join Date: Nov 2004
Location: Lubbock, Tx
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

upgraded from 3.0.3 tonight (this hack worked wonderful on that) to 3.0.5 and it killed it.

Even though after the hack, and the upgrade the box on the bottom remained, but it was empty and had no values in it (? )

I went through the instructions and moded the index.php and forumhome template but I kept getting this error after moding the template.

Quote:
The following error occurred when attempting to evaluate this template:

Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/.gareth/lkjr/architorture.org/forums/includes/adminfunctions_template.php(3054) : eval()'d code on line 212

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.

any ideas?
Reply With Quote
  #464  
Old 01-09-2005, 01:15 PM
Impulse Impulse is offline
 
Join Date: Feb 2004
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Impulse
Somone help me, quick if possible.

I've just installed this hack (on vb3.0.3, but it works perfectly fine) except for one thing. Whereas the currently online table shows users like this: user1, user2, user3 (note the comma's although they dun appeared bolded, but to make them clearer...)

this hack shows them like users1 , users2 , user3 , how and perhaps more importantly where do I remove this extra unwanted spacial?
Someone? ;___;

(for a link of the forum click here)

edit: I've managed to just remove the comma completely, but I that's not what I want. I want it to function properly. I tried some other modifications of the code, copying the who's online original bit (who's currently online) which makes the comma appears, but w/o no luck.

I'd really appriciate it if someone assist/helps me with this :\
Reply With Quote
  #465  
Old 01-09-2005, 10:48 PM
joeychgo's Avatar
joeychgo joeychgo is offline
 
Join Date: Mar 2004
Location: Chicago, IL
Posts: 933
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed - Again - On my second forum - Thanks for a great hack!!!!!!
Reply With Quote
  #466  
Old 01-10-2005, 05:45 AM
dacho's Avatar
dacho dacho is offline
 
Join Date: Dec 2004
Location: Tell-Aviv
Posts: 224
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how did i CREATE 2 NEW TEMPLATES CALLED ?
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 05:02 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.06015 seconds
  • Memory Usage 2,367KB
  • Queries Executed 30 (?)
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
  • (2)bbcode_php
  • (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
  • (1)pagenav_pagelinkrel
  • (16)post_thanks_box
  • (16)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (16)post_thanks_postbit_info
  • (15)postbit
  • (16)postbit_onlinestatus
  • (16)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