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)

SmEdD 05-30-2003 04:14 AM

Alright I installed it. It worked mint. Now it's a new day and nothing shows up and it's 0 visitors yet there have been like 20 visits. Oh and the record is still there. And the .php file dosn't show anything also.

SmEdD 05-31-2003 02:27 AM

To reduce this to one query use this modifacition.

Find:
PHP Code:

// today online hack begin 

Add after:
PHP Code:

    $tempupdate=$DB_site->query("UPDATE template SET template='$maxloggedin' WHERE title='maxloggedin'"); 

Find:
PHP Code:

$DB_site->query("UPDATE template SET template='$maxloggedin' WHERE title='maxloggedin'"); 

Replace with: (Do at both locations)
PHP Code:

  $tempupdate


AlexanderT 05-31-2003 03:13 AM

I dont think you will always save 1 query with that. Notice that both
PHP Code:

$DB_site->query("UPDATE template SET template='$maxloggedin' WHERE title='maxloggedin'"); 

are within conditional IFs which are not always true. Your modification, however, always runs that one query.

I could be wrong of course :)

SmEdD 05-31-2003 04:29 PM

Ya thoes ifs are pretty much aways gonna run. If they didn't the online today hack wouldn't.

SmEdD 05-31-2003 04:35 PM

Oh and neither have a else tag wich means they arn't a option

AlexanderT 06-01-2003 12:16 AM

SmEdD:

This doesn't make any sense. Just because there is no ELSE does not imply that the IF clause is always executed.

And fact is, it is not always executed. Only when the Who-Was-Online-List changes, the query is executed. Otherwise it is read from cache.

Your modification, however, always runs the query - even when it is not necessary.

Linus 06-02-2003 01:09 PM

I forgot how to change the colours of the users online (eg. admin get diff. colour) can anyone remind me how ? Thanks

Hostc 06-11-2003 02:35 AM

I don't know if this has been posted before but when I click on the Number of Active Users Today the onlinetoday.php page just comes up as a blank page?
useing the Version with usernames on extra site (onlinetoday.php)

I've double checked the code and haven't found anything wrong that I did during the installaion.

S.Shady 06-11-2003 05:06 AM

Works fine for me
you upload the php file to your forums dir if you used the file ?

Xube 06-12-2003 03:55 AM

Will this work for vBulletin 2.3.0? Is there an update that's compatible with 2.3.0?

Crinos 06-12-2003 04:01 AM

It works in 2.3.0 :)

lostsoul2k 06-12-2003 10:36 AM

ARGG i get this annoying thing it shows the number of active users perfect and it also shows all Most users ever online on a day was 3 on 06-11-2003. when i first installed but for some reson it doesen't show the usernames of that user ??? do you no how to fix im also using 2.3.0 and the Emerge skin from vbskinz.com ??

Xube 06-12-2003 12:49 PM

Quote:

Today at 06:01 AM Crinos said this in Post #371
It works in 2.3.0 :)

I'm running vB 2.3.0 but for some reason I installed it but all I get is zeros. It's not adding any stats to the readout.

Quote:

Number of Active Users Today: 0
Most users ever online on a day was 0 on 06-12-2003. | The following members have already visited the Board today:

Any hints to what may be wrong? :(

Xube 06-12-2003 01:33 PM

Ok, it appears to be a misunderstanding on my part of how the invisible users thing works.

From the hack docs:
Quote:

Hint: If you wish that "Number of Active Users Today:" only counts Users who are not invisible,
replace $numbertodayonline with $todayonline. (Admins always see the right number!)
Wording this differently, it says that...


if we want the "Number of Active Useres Today" area to only count users that are visible, replace $numbertodayonline with $todayonline.


...So what do we do if we want the "following members have already visited the Board today" list of those that visited/were online during the given day to INCLUDE the invisible members on that list?

S.Shady 06-12-2003 01:48 PM

dont change it if you want the invisable to be on there. its set up like that. the change is to stop invisable from being there

Xube 06-12-2003 02:52 PM

Quote:

Today at 03:48 PM S.Shady said this in Post #375
dont change it if you want the invisable to be on there. its set up like that. the change is to stop invisable from being there
:) No, I mean, for the list that is generated and displays of actual member names that visited the board that day.... what would I do to INCLUDE those that visited the board that day (in invisible mode) on the list that displays?

My thinking is that those visiting in invisible mode don't want to be shown & possibly IM'd during their visit, but once they've left the board it won't matter if it shows that they were there earlier.

lostsoul2k 06-12-2003 08:22 PM

well my bulletin board it says it active users and active users been on today is : # but it doesen't show the usernames of them users ??? and there were 34 online but the usernames don't appear

jdmuniverse 06-19-2003 12:47 AM

Mine keeps resetting for the most users part for some reason... One day it will say 290 user then the next day 240?

Any ideas?

cYbercOsmOnauT 06-30-2003 11:10 PM

Mystics rulez!

[high]* cYbercOsmOnauT clicks on install ;)[/high]

Sabrina 07-04-2003 10:42 PM

super cool hack!!! thanks! :laugh:

Big Kahuna 07-07-2003 12:22 AM

I installed this hack a year and half ago -- and it has always worked great for me.

I've seen a couple boards use this hack to where it displays all of the user online today in the table -- instead of the onlinetoday.php link.

I've tried a 100 ways to make that happen, spent an hour searching this forum and another reading every post in this thread for the answer. If the answer is here -- I'll be dipped if I can find it.

Anyone want to point me in the right direction?

Mystics 07-07-2003 09:02 PM

@Big Kahuna

Take a look at the first posting :)
Quote:

So, depending on which version of the Hack you prefer, you have to download this:
Version with usernames on the main Site of the Forum

or this:
Version with usernames on extra site (onlinetoday.php)

Master Computer 07-07-2003 10:01 PM

how can I display the guests between the users who were online today?

Master Computer 07-07-2003 10:03 PM

and how can I count the guests between "Most users ever online on a day"?

kevinnguyen 07-11-2003 04:52 AM

dunno why I can't get it work w/ v2.3.0
It always display Users Online Today: 0
How did you get it work w/ v2.3.0?
Please help!
Thanx

Salazar 07-11-2003 10:04 AM

The German version works fine with my 2.3.0

As you can see here: http://www.hogwarts-forum.de ;)

-God-iZ-iLLa- 07-16-2003 07:58 AM

for some reason the number stays at 0... anyone know how to fix it? or is there anything i forgot?

-God-iZ-iLLa- 07-16-2003 07:59 AM

for some reason the number stays at 0... anyone know how to fix it? or is there anything i forgot?

-God-iZ-iLLa- 07-16-2003 07:59 AM

for some reason the number stays at 0... anyone know how to fix it? or is there anything i forgot?

Xelation 07-19-2003 06:35 AM

Hey Mystics, If I install this instead of the original hack..

https://vborg.vbsupport.ru/showthrea...507#post258507

This part changes all the time, it never stays the same..

Most ever online was 89 on 07-10-2003 at 02:57 PM

It will be 200 one day and then a couple days later or even an hour later it will be back down to 40 or soemthing like that.. It always goes back down.. anyway of fixing that problem?

Kaelon 08-02-2003 02:04 PM

Xelation - I have the same problem. My maximum seems to change sporratically.

DiscussAnything 08-02-2003 06:39 PM

Instead of on the forum index, how do I make this show up on the vbhome index? It that an easy modification? The code you need to edit in the instructions is different in the Vbhome index

thanks

romeshomey 08-05-2003 05:43 PM

I just have a question with why my Currently Active Users Panel went.

When I installed this one, my currently active users panel dissappeared.

Any help?

romeshomey 08-05-2003 06:10 PM

Yea, I cant figure it out. Im not sure how to get my current users online panel back.

The Online for the Day works great but when it was added the other one dissappeared.

Check it out, I need some help :(

http://www.romesleague.com/forums/

heynurse 08-05-2003 07:18 PM

Quote:

Today at 02:10 PM romeshomey said this in Post #394
Yea, I cant figure it out. Im not sure how to get my current users online panel back.

The Online for the Day works great but when it was added the other one dissappeared.

Check it out, I need some help :(

http://www.romesleague.com/forums/

In the instructions it says:
Edit template 'forumhome'

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

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

Are you sure that you didn't REPLACE $loggedinusers

Look to see if you still have $loggedinusers
in your forumhome template, if not add it just above $todayloggedinusers

romeshomey 08-05-2003 07:53 PM

Quote:

Today at 09:18 PM heynurse said this in Post #395
In the instructions it says:
Edit template 'forumhome'

Are you sure that you didn't REPLACE $loggedinusers

Look to see if you still have $loggedinusers
in your forumhome template, if not add it just above $todayloggedinusers

Yea Im sure, I already checked that out.

I am about to just reverse everything and do it again. lol Pain in the ass but I really want my current uses online back and cant figure out how it got deleted.

Here is my template code. See if you notice anything missing from that part of it.

Code:

</table>
</td></tr></table><br>
<table cellpadding="0" cellspacing="0" border="0" bgcolor="#0A293E"  width="95%" align="center"><tr><td>
<table cellpadding="4" cellspacing="1" border="0"  width="100%">

$loggedinusers
$todayloggedinusers
$birthdaybits
</table>
</td></tr></table>

Im thinking, do I need to seperate the 3 into seperate tables? I didnt see that in the instructions though.

romeshomey 08-05-2003 08:00 PM

Quote:

Im thinking, do I need to seperate the 3 into seperate tables? I didnt see that in the instructions though.
Nope, that idnt work either. Page continued to look the same. :( Strange lol..

romeshomey 08-06-2003 11:29 AM

Im going to change everything back to what it was before the hack, and see what happens.. :( Im really bummed, I have no clue why the current users online panel dissappeared :(

centris 08-10-2003 04:34 PM

I have installed this hack on every version of vbulletin since release, but today with version 2.3.2 it fails to appear on the forums page, all templates are ok (in the default set) I have no other styles installed. And the forumhome template addition is fine, but nothing shows???

Big Kahuna 08-13-2003 03:01 PM

Whoa -- this thread is just in time as I was going to upgrade from 2.2.7 today. I'll wait this out to see what the solution to some iof the hacks is.

BTW -- works great on the version I'm running. Thanx again


All times are GMT. The time now is 03:49 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.01819 seconds
  • Memory Usage 1,830KB
  • 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_code_printable
  • (5)bbcode_php_printable
  • (8)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