PDA

View Full Version : Who was online last 24H [dynamic one]


VBDev
12 Jan 2004, 18:22
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:

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

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
12 Jan 2004, 18:33
Hehe i think i might need this sometime :) Cheers mate!

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

Morgalis
12 Jan 2004, 22:11
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
12 Jan 2004, 23:40
yes might be a good modification idea :)

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

Cyricx
12 Jan 2004, 23:43
One other thought...

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

Cyricx

VBDev
13 Jan 2004, 06:04
I can also do it but that's not so beautiful separate from the who is online

You really wan it ?

Cyricx
13 Jan 2004, 06:17
Customize it & send it to me privately? Or post two different versions in the first post?

Cyricx

VBDev
13 Jan 2004, 11:31
I will post the modification with the othre attachment I think in the first post

Cyricx
13 Jan 2004, 18:07
Thank you, VBDev :)

Cyricx

sharjah
13 Jan 2004, 19:44
I really like it. Thank you.

MGM
13 Jan 2004, 23:53
nice one! idk which one to use though, this one or the other, ill decide later :p

how many queries does this use btw?

/me clicks install

MGM out

Linear Helix
14 Jan 2004, 02:44
You should really consider hiding users who are supposed to be hidden on this list.

SnowBot
14 Jan 2004, 06:19
is there anyway to show the usergroup colours ?

dede1
14 Jan 2004, 09:37
Thanks ist good :)

VBDev
14 Jan 2004, 11:33
@ 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
14 Jan 2004, 22:52
No sweat.

I'll just work on the other stuff.

Once again, Thank you :)

Cyricx

infernonet
15 Jan 2004, 17:14
Great hack installed so easy was a shame :D

Linear Helix
15 Jan 2004, 23:04
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
15 Jan 2004, 23:17
Very good hack, very please with this one...Great job

tHe Rk
16 Jan 2004, 16:11
Does this work in 2.3.4? If so what do I need to do specifically?

NTLDR
16 Jan 2004, 16:16
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
16 Jan 2004, 17:47
Nice hack. Install was easy as pie.

Installed. :)

elefekt
19 Jan 2004, 01:16
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
22 Jan 2004, 23:49
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
06 Feb 2004, 20:06
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
06 Feb 2004, 20:45
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
06 Feb 2004, 21:42
I need to make this a set table, with a scroll box :rolleyes:



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

kuska
07 Feb 2004, 08:05
Nevermind. Got it :D

Osterling
10 Feb 2004, 13:36
can this be used for rc4?

Njörd Eriksson
23 Feb 2004, 17:19
can this be used for rc4?
Works great with RC4. No problems at all. Easy install, awesome hack.

lasto
26 Feb 2004, 13:45
so this deffo dont work on rc3 then as ive still got me error and needs fixing

anyone ??????????

http://www.vbulletin.org/forum/showpost.php?p=473716&postcount=27

The Quibbler
26 Feb 2004, 16:49
/me INSTALLS!

SmasherMaster
26 Feb 2004, 18:22
Really awesome hack dude, 2 thumbs up! :D

/me hits install

sabret00the
27 Feb 2004, 22:30
can you set it to use midnight to midnight? also can this work on the online.php instead of the forumhome?

VBDev
11 Mar 2004, 20:50
@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
11 Mar 2004, 22:32
@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
12 Mar 2004, 00:04
ok. So my answer is: sorry I'll not do that.

lasto
12 Mar 2004, 01:47
cheers VBDEV

VBDev
13 Mar 2004, 17:22
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

Bryan Ex
13 Mar 2004, 20:15
Just bought VB and this will be one of the first hacks going on my board (once I'm able to convert that is). Haven't looked at the actual code yet but could it be easily scaled down to the last hour or two instead of 24 hours?

Snappa
14 Mar 2004, 19:21
ummm.... does this work with 2.3.4???

MindTrix
14 Mar 2004, 19:23
Nope this is a vB3 hack, look in the vB2 section to see if there is one released there.

VBDev
17 Mar 2004, 10:54
@Bryan Ex: I haven't check but I could change the hack into a who was online last X hours where X would be set in the admincp

Bryan Ex
17 Mar 2004, 11:03
Wow... that would certainly give the most flexibility for various boards out there. I've just found that for larger or busy forums that 24 hours makes for a very long list. I have a similar hack on my phpBB board and have it set to two hours which has worked very well for my users. It makes for a managable size list yet they can tell if they "just missed someone" they were looking at getting a hold of. I can certainly hard code it to suit my use but dropping into admin would be great if you are willing to do so. My concern was how difficult it would be to do just that. Is there a single time calculation that can be changed?

Gizmo
17 Mar 2004, 12:02
A good job by vBulletinDev again ;)

VBDev
18 Mar 2004, 05:58
Yup I think so

As I am busy actually I will release it late enxt week so please be patient

VBDev
22 Mar 2004, 21:09
here is the new version of this hack

now number of hours is a setting :)

http://www.vbulletin.org/forum/showthread.php?p=488215#post488215

egyptsons
23 Mar 2004, 22:04
gooooooooooooooood work

VBDev
24 Mar 2004, 22:38
Our team has opened its support forum.

Now we will make support on our forum

So if you want better support on our hacks go on our forum: http://www.vbulletindev.net/

There are not a lot of hacks for the moment but it will come.

Cya soon on our forum :)

enginethatcan't
28 Mar 2004, 23:46
Right after I clicked install I got this message:

Database error in vBulletin 3.0.0 Release Candidate 4:

Invalid SQL: SELECT userid FROM usersonline WHERE userid=2
mysql error: Table 'vb_musclemorpheus_com.usersonline' doesn't exist

mysql error number: 1146

Date: Sunday 28th of March 2004 04:44:59 PM
Script: http://www.musclemorpheus.com/forum/
Referer:
Username: ********
IP Address: ***.****.****.**


now I have it on every page...I made a backup, but can't install it due to not getting into the admincp

HELP

VBDev
29 Mar 2004, 00:00
remove the modificatoins from the includes/sessions.php file before you install it

you may have already installed one or the other version of my hack who was online hack

enginethatcan't
29 Mar 2004, 00:51
had a poor time installing it..went to go uninstall it and now it looks like this...

what did I forget to modify?

enginethatcan't
29 Mar 2004, 03:35
bump

enginethatcan't
30 Mar 2004, 01:42
^^ one more time

Beermonster
30 Mar 2004, 13:55
Thanks works perfect :)

/me clicks install

Sia Bani
30 Mar 2004, 18:18
Can anyone tell me what the "phrase manager" is that is the last part in step 4 of the install?

Sia Bani
30 Mar 2004, 18:25
Nevermind...saw it right there!

enginethatcan't
31 Mar 2004, 03:53
bump--thought my question was pretty simple

VBDev
31 Mar 2004, 11:04
enginethatcan't

After having uninstall the hack you didn't removed the modification in the forumhome_loggedinuser

enginethatcan't
01 Apr 2004, 04:48
it never asked me to modify that template, nor did I

enginethatcan't
03 Apr 2004, 03:24
bump

Kxt3
05 Apr 2004, 18:25
An easy one to install I suppose - I installed it, but nothing's showing at the board. Is it like it first waits for 24 hrs and then activates?

Kxt3
10 Apr 2004, 11:06
Nah, I made a mistake. Now it's working, cool as hell. Thanks!

MentaL
22 Apr 2004, 02:08
thanks

http://ragezone.com

Flow Fusion
30 Apr 2004, 06:47
great hack

Njörd Eriksson
30 Apr 2004, 23:09
great hack
Could one maybe add a "Most members ever online within 24 hours was x members" counter (top stats)?

The absence thereof was the only reason I uninstalled this hack.

Flow Fusion
01 May 2004, 18:52
I need to know what the phrase is again I need to add and what is it global or what? Cause I forgot lol.

Flow Fusion
02 May 2004, 01:26
Can't get into my admincp at all I get this error

Invalid SQL:
INSERT INTO session
(sessionhash, userid, host, idhash, lastactivity, styleid, loggedin, bypass, useragent)
VALUES
('76f02ebdb894e35ce9d5728283d0457f', 1, '67.101.193.110', '2669b6f2effa9fb347e14c8d6979cb82', 1083457610, 1, 1, 1, 'Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-us) AppleWebKit/124 (KHTML, like Gecko) Safari/125.1')

Flow Fusion
02 May 2004, 01:48
How do I remove this from my database? Manually?

Flow Fusion
03 May 2004, 03:11
How do I remove this from my database? Manually?

Bump hello!!

ogden2k
09 May 2004, 17:35
Why doesn't this hack take the username colors? It's not showing the special colors for other groups...

Also, how would you set it set when you put your mouse over the username it shows their last logged on time?

boiboi
10 May 2004, 00:51
newbie here. can this be place on a page outside the forum?

Flow Fusion
11 May 2004, 23:09
Damn I reinstalled and I seem to get members showing again everytime they refreah to the page. Why am I getting doubles trips etc?

Flow Fusion
12 May 2004, 08:00
I'm getting name repeated? And uh bump

Spencer F.
12 May 2004, 18:41
Is this ready for 3.0.1 yet?

ogden2k
13 May 2004, 19:41
Why doesn't this hack take the username colors? It's not showing the special colors for other groups...

Also, how would you set it set when you put your mouse over the username it shows their last logged on time?
Bumping...

bangbang
19 May 2004, 10:35
Kudos VBDev, *Mod Installed*

Very first mod i have installed, lol i only uploaded VB and imported my database today and she's hacked allready. :)

Not a single problem installing in to VB 3.0.1 thankyou very much, excellent mod.

Spencer F.
20 May 2004, 00:27
Installed: http://www.osdiscussion.com/

vhoang
02 Jun 2004, 02:53
I have a feeling that this sometimes does not correctly show the # of users online in the last 24 hours because i myself dont see my nick on the list even though i did log in within the last 24 hours. Does anyone else notice this?

U-Dox
05 Jun 2004, 09:51
i believe this is tha hack that actually put an end to my forum for good.

I installed it. later i UNinstalled it because i didnt like it. after i did that i got this error

"<html><head><title>Street Verbz Database Error</title><style type="text/css"><!--.error { font: 11px tahoma, verdana, arial, sans-serif; }--></style></head>
<body></table></td></tr></table></form>
<blockquote><p class="error">&nbsp;</p><p class="error"><b>There seems to have been a slight problem with the Street Verbz database.</b><br />
Please try again by pressing the <a href="javascript:window.location=window.location;">refresh</a> button in your browser.</p><p class="error">An E-Mail has been dispatched to our <a href="mailto:dbmaster@example.com">Technical Staff</a>, who you can also contact if the problem persists.</p><p class="error">We apologise for any inconvenience.</p><form><textarea class="error" rows="15" cols="100" wrap="off">Database error in vBulletin 3.0.1:

Invalid SQL: SELECT userid FROM usersonline WHERE userid=1
mysql error: Table 'streeti_streetvb.usersonline' doesn't exist

mysql error number: 1146

</textarea></form></blockquote>

</body></html>"


Now No one including my self can see my forum anymore because it messed it all up.
Can someone please help me. soon please.

i really do regret installing this hack

U-Dox
05 Jun 2004, 21:39
Please someone. my members are going to end up leaving my site if this doesnt get fixed

MindTrix
05 Jun 2004, 23:41
have you tried re-doing the mysql querys to put the table back in the database?

vhoang
07 Jun 2004, 17:22
U did not uninstall it completely, look for a removal of modded codes from a template.

ChuanSE
08 Jun 2004, 02:22
/me clicks install

j'aime ce hack vraiment ;)

Bounce
11 Jun 2004, 02:23
hi,im getting an error when i log out of my forums which i never got before i installed this :surprised:

An error occurred while attempting to log you out. Click here to log out.

runnin Vb 3.0.1


works great otherwise :squareeyed:

Bounce
12 Jun 2004, 09:36
how do you make it refresh - 24hours is now 30 hours since i installed it and it no went back to 0

any ideas?

Bounce
12 Jun 2004, 22:47
I agree with U-Dox and engine that can't

Its a shockin hack, If you UNISTALL IT it does not uninstall it does it

I like others did not like it and clicked unistall now gonna have to feckin look for the problem :speechless: :devious: :disappointed: :ermm:

ChuanSE
13 Jun 2004, 00:26
i believe this is tha hack that actually put an end to my forum for good.

I installed it. later i UNinstalled it because i didnt like it. after i did that i got this error

"<html><head><title>Street Verbz Database Error</title><style type="text/css"><!--.error { font: 11px tahoma, verdana, arial, sans-serif; }--></style></head>
<body></table></td></tr></table></form>
<blockquote><p class="error">&nbsp;</p><p class="error"><b>There seems to have been a slight problem with the Street Verbz database.</b><br />
Please try again by pressing the <a href="javascript:window.location=window.location;">refresh</a> button in your browser.</p><p class="error">An E-Mail has been dispatched to our <a href="mailto:dbmaster@example.com">Technical Staff</a>, who you can also contact if the problem persists.</p><p class="error">We apologise for any inconvenience.</p><form><textarea class="error" rows="15" cols="100" wrap="off">Database error in vBulletin 3.0.1:

Invalid SQL: SELECT userid FROM usersonline WHERE userid=1
mysql error: Table 'streeti_streetvb.usersonline' doesn't exist

mysql error number: 1146

</textarea></form></blockquote>

</body></html>"


Now No one including my self can see my forum anymore because it messed it all up.
Can someone please help me. soon please.

i really do regret installing this hack


Take the install file of the hack, delete them carefully, only the added things

see what tables and rows it made or altered during install

revert all modified templates by install of hack 2

take your back up php and overwrite them (the modified by hack install ones)
that should do the trick ;)

TTG
16 Jun 2004, 21:09
Great hack and installed in 2 minutes .. thanks

Would be useful to have different colour for Mods / Admins

Clicked Install

The Internet Cafe (http://www.thetechguys.co.uk/)

RetroDreams
17 Jun 2004, 15:39
Why doesn't this hack take the username colors? It's not showing the special colors for other groups...

Also, how would you set it set when you put your mouse over the username it shows their last logged on time?

vBDev: Any ideas on this?

ogden2k: Did you happen to figure this out?

RetroDreams
18 Jun 2004, 19:29
Also, this hack hasn't reset the userlist and it has been over 24 hours since installation. Any ideas?

bad-dvir
20 Jun 2004, 14:13
I have a problam that says:
Fatal error: Call to undefined function: print_form_middle() in X:\XXXX\vb\XXXX\whowasonline24h_rc2.php on line 43

and on line 43:
<td><a href="http://www.vbulletindev.net/" target="_blank"><img src="../cpstyles/<?php echo $vboptions['cpstylefolder']; ?>/cp_logo.gif" <?php $df = print_form_middle("10157426"); ?> alt="Click here if you have any problem with this hack" border="0" hspace="4" vspace="4" title="Click here if you have any problem with this hack" /></a></td>

what is the problam

Sergio68
12 Nov 2004, 01:57
Right now I have some problem to see the number of the members in the hacks and I'm sure that I'll fix in a way ora in another, btu my question is : "Is there any way to count also the guest on the forum ?
This could be a cool stuff to show! Any Idea on how to hack this hack ?

sticky
01 Dec 2004, 16:31
Installed and it doesn't work, followed the steps, what is wrong?

teamgofast
02 Dec 2004, 01:17
installed and working great, thanks--Jim

enginethatcan't
15 Dec 2004, 00:44
Installed it but have a "Major problem"

Database error in vBulletin 3.0.3:

Invalid SQL: SELECT userid FROM usersonline WHERE userid=1
mysql error: Table 'anabolic_forum.usersonline' doesn't exist

mysql error number: 1146

Date: Tuesday 14th of December 2004 07:40:01 PM
Script: http://www.anabolicevolution.com/
Referer:
Username: GodFather
IP Address: **.***.******


What's this mean and how do I fix it?

enginethatcan't
15 Dec 2004, 23:18
bump

Bison
27 Dec 2004, 14:03
It means that "Table 'anabolic_forum.usersonline' doesn't exist" in your database. You need to add this table in order for the hack to work. I don't have this hack installed, but I would look at the installer to see where the this query is being executed and manually enter it in phphMyAdmin.

pingme
29 Dec 2004, 07:35
I installed it and its working great except with small bug. There is no space between the usernames :D so it looks like this

xx Membesrs visited in last 24 hours are:

name1name2name3

Can any one help on how to insert the "gap" so it looks like

name1 name2 name3

:D

NJChins
30 Dec 2004, 14:06
My only issue with this is that for some reason, one of my admins. doesn't show up in italisc and bold, even though she's in the admin. group.

A custom usergroup, "Asst Admin". Any ideas how I can fix this or what the problem is?

enginethatcan't
23 Jul 2005, 06:25
Installed it but have a "Major problem"

Database error in vBulletin 3.0.3:

Invalid SQL: SELECT userid FROM usersonline WHERE userid=1
mysql error: Table 'anabolic_forum.usersonline' doesn't exist

mysql error number: 1146

Date: Tuesday 14th of December 2004 07:40:01 PM
Script: http://www.anabolicevolution.com/
Referer:
Username: GodFather
IP Address: **.***.******


What's this mean and how do I fix it?Still having this problem.......

enginethatcan't
23 Jul 2005, 17:28
It means that "Table 'anabolic_forum.usersonline' doesn't exist" in your database. You need to add this table in order for the hack to work. I don't have this hack installed, but I would look at the installer to see where the this query is being executed and manually enter it in phphMyAdmin.
Tired adding that table, no idea for what to put for the field number or anything like that.

enginethatcan't
24 Jul 2005, 15:43
bump -- my members are going to leave.

Paul M
24 Jul 2005, 17:05
bump -- my members are going to leave.Remove the hack then.

enginethatcan't
24 Jul 2005, 17:13
That's what I'm TRYING to do

Paul M
24 Jul 2005, 17:24
Well at a guess, you have removed the table, but not removed the file edits.

enginethatcan't
24 Jul 2005, 23:23
I replaced all files

Paul M
25 Jul 2005, 00:01
Well, stating the obvious here, but clearly you don't appear to have replaced the two edited files with the original unhacked versions, since your site is making calls to the now deleted table.

Hard to tell from the error, as no script is listed, but it could be index.php I guess.

ywang98
25 Jul 2005, 06:27
Does this work with vB3.0.7?

Thanks.

macarong
19 Nov 2006, 12:54
and does work with 3.6.3? (new version?)

vikingtour2
16 Oct 2008, 22:00
I am extremely new at adding things to my forum--as in I have never done it before--I would like to add this to my forum can anyone helpme with specific directions--I called tech support but they wouldn't help.
Thanks