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)
-   -   [Release v2] Who's Online (https://vborg.vbsupport.ru/showthread.php?t=16152)

Hooper 05-14-2001 01:20 AM

My server move and restore from a CP backup is totally trashed.
This was my answer.
Thank You,

Mitrofan 05-14-2001 01:26 AM

Do you think it had something to do with this hack?

I don't do cp backups, I only do it from telnet, either mysqldump or complete copy of forum database.

I just installed this hack and it seems to be working so far, I hope there will be a new version with more intelligent way to guess what users are doing, and to also I would like the way to split the output into several pages because my board usually has over 140 members/guests and the who's online page gets really long.

Just a suggestion.

I also using this hack together with the first who's online hack which I am using to display the number of users online on non-vb page and then have a link to this new script for more info on users online.

tubedogg 05-14-2001 01:26 AM

Quote:

Originally posted by Mitrofan
If I'm not mistaken the session table is HEAP type, meaning that it's completely in RAM, and is lost when mySQL server is shutdown

Does this mean that I will have to run the mysql sctipt included in this hack every time after I restart mySQL database?

Yes. The trick is to not shut down the MySQL server. ;)

Mitrofan 05-14-2001 01:36 AM

It's a good thing I asked. I shut down the server often before backing up and when running myisamchk

The other way around it would be to change the session table type to MYISAM, this way the changes will not be lost. This is what it used to be before they changed it to HEAP some versions back.

There must be a way to edit some other script to make the session table created the way it should for this hack to word.

Please look into that.

Tubedogg, will you be adding more features to this hack soon?

Also please respond to my question for you in the other who's online hack" thread.

Thanks.

I do have both of your hacks working now.

tubedogg 05-14-2001 01:46 AM

I'm not sure exactly what changes I could make so that shutting it down wouldn't affect it. I'm currently looking into it though.

As for other features, I'm not sure exactly what you'd want. Some ideas would help. :)

Mitrofan 05-14-2001 12:40 PM

One nice feature I would really like to see is to link the names of users online to their profile.

I think it a must have!

Other than that the hack is great, and together with the first who's online it's exactly what I was looking to add to my site.

I also removed the part that shows what guests are doing because on my board it is not uncommon to have over 150 (I have 170 guests right now) guests at a time and the list gets really long.

Also I read in your previous post about the idea to add more intelligence to the hack as far as guessing what users are doing.

tubedogg 05-14-2001 02:36 PM

[QUOTE]Originally posted by Mitrofan
I also removed the part that shows what guests are doing because on my board it is not uncommon to have over 150 (I have 170 guests right now) guests at a time and the list gets really long.[QUOTE]

To me that completely defeats the point of the hack. If you just want a list of who's online then there is a list on the main page (the names are linked to their profiles). The whole point of this hack is to provide info about where they are.

Mitrofan 05-14-2001 02:47 PM

I only removed the part for guests

I still have the part that shows what members are doing.

Right now I have 68 members and 280 guests on my board. Imagine how long the list of who's online would be if I show what guests are doing in addition to what members are doing.

Still, how about linking the usernames to their profiles?

tubedogg 05-15-2001 06:24 AM

Sorry misread your first post.

Looking into it.

kesha1 05-16-2001 12:46 PM

I have to confess:
I'm the one who emailed you twice list night about the IP and stuff.
And as if it was not enough :) I'm writing here as well :)

Firs of all - THANK YOU KEVIN, nice job!

Second: I'm comparing how it works with the one from UBB, and couple of things look ...different.
Whole thing is working a little slow: you can try these experiments: close all your browsers after being on WOL page, and go back to that page, - the chances are - you'll see your self printed twice there.
Close your browser again (or just click quickly to different parts of the forum, or open cp and change smtn) and most likely you'll see your self 3 times being printed there, e.t.c.
I've had 5 instances of my self on that WOL page , and it showed that I was at different pages at the same time.
Third: If you are inactive for a while and then click on refresh, you might find that there's nobody on (even you are not there).
My question is: has anyone else observe this kind of problems?
Thank you.


All times are GMT. The time now is 11:51 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.01433 seconds
  • Memory Usage 1,740KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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