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 last 24H [dynamic one] (https://vborg.vbsupport.ru/showthread.php?t=60111)

tHe Rk 01-16-2004 02:11 PM

Does this work in 2.3.4? If so what do I need to do specifically?

NTLDR 01-16-2004 02:16 PM

This forum is for vB3 hacks only. Look further down on the main page for vB2 hacks where you'll find a version by Mystics IIRC.

97cobracpe 01-16-2004 03:47 PM

Nice hack. Install was easy as pie.

Installed. :)

elefekt 01-18-2004 11:16 PM

This is an awesome mod :) good job!

Cyricx you can use the following to make its own box:


Find: (in the template FORUMHOME)
<!-- end logged-in users -->

Add after:

<!-- Active Today -->
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_activeusers')"><img id="collapseimg_forumhome_activeusers" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_activeusers].gif" alt="" border="0" /></a>
<phrase 1="$nbusers">$vbphrase[connectes_dernieres_24h]</phrase>
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_activeusers" style="$vbcollapse[collapseobj_forumhome_activeusers]">
<tr>
<td class="alt2"><a href="online.php?$session[sessionurl]"><img src="$stylevar[imgdir_statusicon]/forum_link.gif" alt="$vbphrase[view_whos_online]" border="0" /></a></td>
<td class="alt1" width="100%">
<div class="smallfont">
<div>$usernameonline</div>
</div>
</td>
</tr>
</tbody>
<!-- end Active Today -->

VBDev 01-22-2004 09:49 PM

Sorry for all that have requested modifications like hidding invisible users (something that I forget to do sorry) but I don't have time actually to do it while I am working to finish with a friend a quite big portal for vb3 :)

kuska 02-06-2004 06:06 PM

Any way to make the who is online box a scroll box so it dosent streach out like the shout out box? I have a bunch of users loggin and 1/2 of my index is full of nick names :)

lasto 02-06-2004 06:45 PM

looks like just me who got a prob with this then

Fatal error: Call to undefined function: print_form_middle()

whowasonline24h_rc2.php on line 43

im running it on vb3 rc3

any idea why i getting that error at all ???

/me is a dumbo its for rc2 - wierd all these hacks should be sorted into relevant sections to avoid what does work on each platform.

kuska 02-06-2004 07:42 PM

I need to make this a set table, with a scroll box :rolleyes:

HTML Code:

<!-- what's going on box -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
        <tr>
               
        </tr>
</thead>
<if condition="$show['loggedinusers']">
<!-- logged-in users -->
<tbody>
        <tr>
                <td class="thead" colspan="2">
                        <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_activeusers')"><img id="collapseimg_forumhome_activeusers" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_activeusers].gif" alt="" border="0" /></a>
                        <a href="online.php?$session[sessionurl]">$vbphrase[currently_active_users]</a>: $totalonline (<phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_and_y_guests]</phrase>)
                </td>
        </tr>
</tbody>
<tbody id="collapseobj_forumhome_activeusers" style="$vbcollapse[collapseobj_forumhome_activeusers]">




        <tr>
                <td class="alt2">
<a href="online.php?$session[sessionurl]"><img src="images/onnow.gif" alt="$vbphrase[view_whos_online]" border="0" /></a></td>
                <td class="alt1" width="100%">


                        <div class="smallfont">
                                <div style="white-space: nowrap"><phrase 1="$recordusers" 2="$recorddate" 3="$recordtime">$vbphrase[most_users_ever_online_was_x_y_at_z]</phrase></div>
                                <div>$activeusers</div>

<!-- WHO WAS ONLINE TODAY HACK -->
<span class="smallfont">
        <b><phrase 1="$nbusers">$vbphrase[connectes_dernieres_24h]</phrase>
        </b> $usernameonline
</span>

<!-- END WHO WAS ONLINE HACK -->


                        </div>
                </td>
        </tr>
</tbody>
<!-- end logged-in users -->


kuska 02-07-2004 06:05 AM

Nevermind. Got it :D

Osterling 02-10-2004 11:36 AM

can this be used for rc4?


All times are GMT. The time now is 08:43 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.01137 seconds
  • Memory Usage 1,748KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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