vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Who Was Online Today on forums (https://vborg.vbsupport.ru/showthread.php?t=59579)

Yuber 03-27-2004 01:11 PM

Quote:

Originally Posted by Gary W
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 :)

Thanks for the hack. Will this work with vB 3.0.0 Gold?

sabret00the 03-27-2004 04:11 PM

anyway managed to get this to work on the WOL / online.php yet :(

Gary King 03-27-2004 05:21 PM

Quote:

Originally Posted by sabret00the
anyway managed to get this to work on the WOL / online.php yet :(

Managed, or not managed? lol

sabret00the 03-27-2004 09:40 PM

Quote:

Originally Posted by Gary W
Managed, or not managed? lol

managed i want the who was online today to sit on the bottom of my online.php rather than on the bottom of the Currently Active Users table (forumhome)

Gary King 03-28-2004 01:02 AM

Quote:

Originally Posted by sabret00the
managed i want the who was online today to sit on the bottom of my online.php rather than on the bottom of the Currently Active Users table (forumhome)

Ah, your original post should have had 'anyway' be 'anyone' you mean, right?

BlackxRam 03-28-2004 08:37 AM

Ok... can someone please either upload correct DIRECTIONS for this hack or is there a better one out there? Im not sure if theres 15 pages of errors to be fixed... whats the deal with this hack.... shouldnt this be in BETA?!?!

joeychgo 03-28-2004 08:39 AM

it works fine for gold as is.

Gary King 03-28-2004 02:08 PM

Quote:

Originally Posted by BlackxRam
Ok... can someone please either upload correct DIRECTIONS for this hack or is there a better one out there? Im not sure if theres 15 pages of errors to be fixed... whats the deal with this hack.... shouldnt this be in BETA?!?!

What bugs..?

Ocean 03-29-2004 12:39 AM

This is a nice hack!


But, out of curiosity, what needs to be done in order to make it so that this hack is only visible by Admins or certain User Groups?

Gary King 03-29-2004 01:33 AM

Quote:

Originally Posted by Ocean
This is a nice hack!


But, out of curiosity, what needs to be done in order to make it so that this hack is only visible by Admins or certain User Groups?

In the template, put around the code:

HTML Code:

<if condition="is_member_of($bbuserinfo,6) OR is_member_of($bbuserinfo,X)"><!-- code goes here --></if>
That's for admins and 1 extra usergroup, replace X with the usergroup ID besides 6.


All times are GMT. The time now is 01:09 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.01635 seconds
  • Memory Usage 1,741KB
  • 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
  • (1)bbcode_html_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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