vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Who was online today [available in english & german] (https://vborg.vbsupport.ru/showthread.php?t=34014)

flup 12-12-2002 03:11 PM

Hack does not work with 2.2.9 :'( I dont know what im doing wrong, but it isn't working.
I did what they said me to do.

[edit]
I see some other 1s with a problem here on 2.2.9
I can't see anything of the hack on my forums
[/edit]

flup 12-12-2002 05:57 PM

Have got it working.
Forgot to make a template

PHPSUN 12-13-2002 12:26 PM

Version with usernames on the main Site of the Forum https://vborg.vbsupport.ru/attachmen...&postid=212495

I am using VB 2.2.9 and I installed above hack as instructed, however it gives me zero on today total members online and does not show any users in the list blow. Any clue.

flup 12-13-2002 01:01 PM

Maybe you forgot to make 1 of the templates.
That's the mistake i made.

There are
forum_todayonlineuser
forum_todayonlineusers

Not many difference in the names.

ukcobra 12-15-2002 09:30 AM

Quote:

Originally posted by flup
Maybe you forgot to make 1 of the templates.
That's the mistake i made.

There are
forum_todayonlineuser
forum_todayonlineusers

Not many difference in the names.

Thought the templates are :

forumhome_todayonlineuser
forumhome_todayonlineusers

Like flup, I too have followed the details, and cannot see any evidence of this hack on 2.2.9. Note, I have no other Hacks installed.

Any help would be appreciated.

Mark

webgaul 12-23-2002 07:51 PM

I need TimeZone fix, can someone PM me the link or send me the code or attach it ?
I want every user can see how many active users today and all users see the same figures, regardless of their TimeZone.

Thanks

NexDog 12-23-2002 10:14 PM

There is no such fix....

BlackDeath 12-24-2002 05:32 AM

hmm, i've installed it but nothing shows up on my page? a problem w/ the template perhaps? i'll take a look. help...

BlackDeath 12-24-2002 05:47 AM

Quote:

Originally posted by BlackDeath
hmm, i've installed it but nothing shows up on my page? a problem w/ the template perhaps? i'll take a look. help...
yeah. that was the problem. this hack works fine w/ 2.28. i dont think anyone's mentioned that.

btw, how do i get it to show at the bottom of my forum and not the top? thanks.

webgaul 12-24-2002 04:33 PM

Quote:

Originally posted by NexDog
There is no such fix....
Ok, I have an idea to solve this problem.
Can I query the db with server time ?

$todayusers=$DB_site->query("SELECT userid, username, usergroupid, lastactivity, invisible FROM user
WHERE lastactivity > " . (mktime(0,0,0,date("m"),date("d"),date("Y")) + (($bbuserinfo['timezoneoffset']-$timeoffset)*3600)) . "
ORDER BY username");

What variable to change if I want to use server time regardless of user timezone ? (text to change is in RED)

Thanks

Quest4DSS 12-30-2002 12:52 AM

Hi everyone,
I see a lot of people saying it works and then a lot of people saying it don't. I am running vBulletin Version 2.2.8, followed the steps and all I get is errors. Now please don't take this as a complaint... it is not. I am just trying to learn.

Could you please post the exact steps to make this work, or a link to the spot where I can find it with out having to read for hours. lol

Thanks for your time!

BlackDeath 12-30-2002 02:30 AM

Quote:

Originally posted by Quest4DSS
Hi everyone,
I see a lot of people saying it works and then a lot of people saying it don't. I am running vBulletin Version 2.2.8, followed the steps and all I get is errors. Now please don't take this as a complaint... it is not. I am just trying to learn.

Could you please post the exact steps to make this work, or a link to the spot where I can find it with out having to read for hours. lol

Thanks for your time!

what errors do u get? it worked fine for me w/ no problems other than it showed up at the top instead of the bottom. but i fixed that on my own.

Taco John 12-30-2002 10:15 PM

Is there a way to reset the most active users online? I just did a board import from a different system, and because of it, my entire forum is registered as being online in the same day...

"Most users ever online on a day was 1134 on 12-30-2002"

Anyone know how I can reset this?

NTLDR 12-30-2002 10:17 PM

[sql]UPDATE template SET template="" WHERE title="maxloggedin";[/sql]

Taco John 12-30-2002 11:08 PM

MySQL said:

Unknown column 'templatename' in 'where clause'

NTLDR 12-30-2002 11:14 PM

Its late ;)

I updated the query :)

Taco John 12-31-2002 05:02 AM

Perfect!

You da man! :D

Banana 01-06-2003 04:19 AM

Does anyone know why my mouseovers don't work anymore(!) Don't remember doing anything to the code. View Source says
Code:

<td bgcolor="#F1F1F1" colspan="6"><font face="verdana,arial,helvetica" size="1" >
        <nobr>Most users ever online on a day was 286 on 9th December 2002.</nobr> | <nobr>The following members have already visited the Board today:</nobr><br>
        <a href="member.php?s=&action=getinfo&userid=1345" title="Last online at 20:19 ">237bee</a>, <a href="member.php?s=&action=getinfo&userid=273" title="Last online at 18:55 ">A406 Bee</a>,

etc.

Banana 01-07-2003 05:26 AM

interestly working again now. Thanks for all those who rushed to help.

maestrosdelweb 01-14-2003 01:43 PM

Great hack. I translate it to spanish for my forum. If you're interested I can translate the instructions for an extra language in the hack ;-)

mistyl 01-15-2003 09:22 PM

I have got it up and running on 2.2.9

Small problem it showing the *same* usernames 2 or 3 times. Like my name is there 3 times?

mistyl 01-15-2003 09:40 PM

It's working now properly. I had some extra codes added in the PHP :rolleyes:

XrayHead 01-16-2003 09:07 PM

Installed with some HTML mods of my own, thanks for the hack :-)

Skyrender 01-20-2003 06:20 PM

Ok im trying to install on VBB 2.2.8, On the last step it says

Edit forum home template. I goto

Forum Home Page Templates
Then
I click Expand
and then i click:
forumhome

Then the instructions say:

"Search for:"

Quote:

<a href="member.php?s=$session[sessionhash]&action=getinfo&userid=$userid" title="Last online at $lastactivetime">$username</a>$invisibleuser
So I search it. it said serach not found. What do I do? Right now the forums still work right and everything but the code dosnt.

Mystics 01-20-2003 06:30 PM

Please look again at the instructions....
Code:

Create new Template 'forumhome_todayloggedinuser' with the following content
-------------------------------------------------------------
<a href="member.php?s=$session[sessionhash]&action=getinfo&userid=$userid" title="Last online at $lastactivetime">$username</a>$invisibleuser
-------------------------------------------------------------

________________________________________________________________________________________

Edit template 'forumhome'

Search for:
-------------------------------------------------------------
$loggedinusers
-------------------------------------------------------------

Add BELOW it:
-------------------------------------------------------------
$todayloggedinusers
-------------------------------------------------------------


Skyrender 01-20-2003 06:38 PM

Then the instruction i got where messed up or somthing I checked again.....but thanks :) .

-edit-
Ive followed all the instructions I havnt missed a thing but at the start it says:

Quote:


Hack-Description: This Hack adds something like the "Currently Active Users:"-Feature of vBulletin.
The difference is, instead of showing the users, who are _currently_ online, it shows
all Users, who _were_ online on a _day_ & "Most users ever online on a day".

Version: 1.0.2

Updates in 1.0.2: Fixed a little Bug with the "Most users ever online on a day"-Count
(Replace '$maxusers[2] = $todayonline;' with '$maxusers[2] = $numbertodayonline;' in index.php)

Updates in 1.0.1: Inserted the two new templates into the template precaching (first step)
Do i have to do that? I havnt used any of the old versions.

Mystics 01-20-2003 07:40 PM

Quote:

Originally posted by Skyrender
Do i have to do that?
No.

Skyrender 01-20-2003 07:45 PM

Do you know y it wouldnt be working with VBB 2.2.8?

Mystics 01-20-2003 07:48 PM

It works perfect with vB 2.2.x....Just follow the instructions correctly ;)

Template Modifications, PHP Modifications etc..

Skyrender 01-20-2003 07:52 PM

I did everything. But the instructions I got were messed up at the end, so maybe all the instructions were :( . But I did do everything it said.

Mystics 01-20-2003 07:54 PM

Just re-download the instructions in this thread....empty your Browser Cache before and verify all your modifications.

Skyrender 01-20-2003 07:58 PM

ok hopefuly it works this time. :/

Still dosnt work. Ive checked double checked and triple checked everything!

eva2000 01-23-2003 06:58 PM

i just readded this hack but after the next 24hrs my today online stayed at 0 for hours until now ??

http://animeboards.com/indextoday.php

Banana 01-30-2003 12:38 AM

Is there any way this hack could be modified so that the number of users "yesterday" can be displayed. It'd be good to see how many people logged on the previous day - unless I'm around at 23:59 I never know!

forumsinfo 02-03-2003 06:08 AM

Skyrender,
I'm all mixed up. Which of the attached here files I should download if I have 2.2.8?

BigCheeze 02-08-2003 04:01 PM

Thanks! Installed and working great!!!

mdx381 02-10-2003 01:26 AM

Installed. Nice hack.

KeithMcL 02-12-2003 12:19 PM

I'm seeing the same. It's shows 0 users depending on what time of the day I visit my forums. I have my forum time offset from that of my server. From reading previous posts here, I take it that's what is causing it?

mikeB 02-16-2003 04:24 PM

My problem is this: When a user is logged in, they see a large amount more members that were logged in than someone who is ungegistered or logged out. I DISABLED invisible users yesterday and set every previously invisible user to visible, but the number of users that visited today doesn't match

any idea why?

the forum is http://www.highradiation.com/learn

right now if you're logged in Number of Active Users Today: 162
right now if you're loggged out/unreg: Number of Active Users Today: 102

thanks>!

peanut666 02-19-2003 07:47 PM

i thought every thing was fine but nope sry i have one problem in my users on line the members stay even once they have signed out i tryed to log out it now says 4 online 2 members 2 guest
the other bits working fine so far

im using 2.2.9 i have vbindex 3.1 installed

my site is here
any help most gratefull

ok strange seems to be working now lol its very slow refreshing that information
the only thing wrong is the most ever on line one says 5 one says 9 how do i get them to say the same


All times are GMT. The time now is 09:32 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.01663 seconds
  • Memory Usage 1,821KB
  • 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
  • (2)bbcode_code_printable
  • (7)bbcode_quote_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
  • (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