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)

VBDev 01-11-2004 10:00 PM

Who was online last 24H [dynamic one]
 
This hack allows you to add on forumhome the list of members who visited your forum the last 24 hours.
This is not as the othre whowasonline released here cose this version is completely dynamic ! This means that it doesn't initialize itself again
at a specific time but update the list of connected members during the last 24h preceding the current posting of the page.




Ce Hack vous permet d'ajouter sur votre page la liste des membres qui se sont connet?s
durant les derni?res 24H.
L'avantage de cette version est qu'elle est totalement dynamique. C'est ? dire qu'elle ne se
r?initialise pas ? telle heure mais met ? jour la liste des connect?s dans les derni?res 24H
pr?c?dant l'affichage actuel de la page.



Installation time : 10 min
Files to modify : 2
Phrases to add: 1
Template to modify: 1


Thanks goes to a friend of my vb team svaliotti (p0s3id0n on vborg) and CXII who have done the really first version of that hack (a french hacker)
:devious:

[HIGH]This hack has been released by VBulletinDev's team : http://www.vbulletindev.net

Ce hack a ete realis? par la team de VBulletinDev et est telechargeable en FR sur http://www.vbulletindev.net[/HIGH]


Sorry for the screenshot, it's in french but I didn't have a big forum so I can't show you one as good as the one attached here.

MindTrix 01-12-2004 04:33 PM

Hehe i think i might need this sometime :) Cheers mate!

DarkJediKiller 01-12-2004 06:07 PM

Heh, Good job :) I'll install this when i get the chance! As for now, off to StarCraft: Brood War!

Morgalis 01-12-2004 08:11 PM

Quote:

Originally Posted by DarkJediKiller
Heh, Good job :) I'll install this when i get the chance! As for now, off to StarCraft: Brood War!

is it possible to get this to display on a seperate page?

i have close to 1000 users logging in a day and i would love to be able to display this

VBDev 01-12-2004 09:40 PM

yes might be a good modification idea :)

I'll do that this week if I have time :)

Cyricx 01-12-2004 09:43 PM

One other thought...

Put that in its own "Expand & Contract" block?

Cyricx

VBDev 01-13-2004 04:04 AM

I can also do it but that's not so beautiful separate from the who is online

You really wan it ?

Cyricx 01-13-2004 04:17 AM

Customize it & send it to me privately? Or post two different versions in the first post?

Cyricx

VBDev 01-13-2004 09:31 AM

I will post the modification with the othre attachment I think in the first post

Cyricx 01-13-2004 04:07 PM

Thank you, VBDev :)

Cyricx

sharjah 01-13-2004 05:44 PM

I really like it. Thank you.

MGM 01-13-2004 09:53 PM

nice one! idk which one to use though, this one or the other, ill decide later :p

how many queries does this use btw?

[high]* MGM clicks install
[/high]

MGM out

Linear Helix 01-14-2004 12:44 AM

You should really consider hiding users who are supposed to be hidden on this list.

SnowBot 01-14-2004 04:19 AM

is there anyway to show the usergroup colours ?

dede1 01-14-2004 07:37 AM

Thanks ist good :)

VBDev 01-14-2004 09:33 AM

@ Linear Hellix: aren't they hidden ??

@ Snowbot: That would be an addon to do ...

@ Cyricx: I will not be able to do the modifications this week because I am working to finish the beta 2 of the portal developped by my team (which is reserved for french for the moment but when it becomes RC it will be released here)

Cyricx 01-14-2004 08:52 PM

No sweat.

I'll just work on the other stuff.

Once again, Thank you :)

Cyricx

infernonet 01-15-2004 03:14 PM

Great hack installed so easy was a shame :D

Linear Helix 01-15-2004 09:04 PM

VBDev, users that are hidden at my forum will appear in the Last 24 Hours list while appearing as hidden* in the Users Online list. So I'm thinking no.

blubber12 01-15-2004 09:17 PM

Very good hack, very please with this one...Great job

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?

Nj?rd Eriksson 02-23-2004 03:19 PM

Quote:

Originally Posted by exasko
can this be used for rc4?

Works great with RC4. No problems at all. Easy install, awesome hack.

lasto 02-26-2004 11:45 AM

so this deffo dont work on rc3 then as ive still got me error and needs fixing

anyone ??????????

https://vborg.vbsupport.ru/showpost....6&postcount=27

The Quibbler 02-26-2004 02:49 PM

/me INSTALLS!

SmasherMaster 02-26-2004 04:22 PM

Really awesome hack dude, 2 thumbs up! :D

[high]* SmasherMaster hits install[/high]

sabret00the 02-27-2004 08:30 PM

can you set it to use midnight to midnight? also can this work on the online.php instead of the forumhome?

VBDev 03-11-2004 06:50 PM

@lasto : I am going to make it work with RC3 & RC4 tonight

@sabret00the: no as it shows the real members that where online last 24h

What do you mean to work with the online.php instead of forumhome ?

SmasherMaster 03-11-2004 08:32 PM

Quote:

Originally Posted by VBDev
@lasto : I am going to make it work with RC3 & RC4 tonight

@sabret00the: no as it shows the real members that where online last 24h

What do you mean to work with the online.php instead of forumhome ?

He means make the mod that is visible on the forumhome visible in the Who's Online page as well.

And it workso n rc4 for me...=/

VBDev 03-11-2004 10:04 PM

ok. So my answer is: sorry I'll not do that.

lasto 03-11-2004 11:47 PM

cheers VBDEV

VBDev 03-13-2004 03:22 PM

Will change the zip file next week :)

now if you're not allowed to see invisible users then you don't see them in the who was online


All times are GMT. The time now is 04:45 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.01212 seconds
  • Memory Usage 1,818KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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