Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Closed Thread
 
Thread Tools
Details »»

Version: , by tubedogg tubedogg is offline
Developer Last Online: Dec 2016 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 05-06-2001 Last Update: Never Installs: 13
 
No support by the author.

UPDATE: v0.2.2 has been released, fixing the problem of session hashes not always being removed and replaced correctly in the URLs of where people are. It also attempts to fix the problem of members appearing on the list twice, however don't hold your breath on this one.
To upgrade, just reupload online.php to your server.
--------------------------------
Old update: v0.2.1 has been released. If you already have this hack installed and working you DO NOT NEED TO UPGRADE! The only change is I adjusted the instructions to account for an error in the order I had them in. THERE IS NO CHANGE TO THE HACK ITSELF. If you have not gotten this installed and working yet, please download the zip file (online021.zip) and work from that one.
--------------------------------
Old Update: You can now see where guests are on your board. To upgrade, simply download the new zip file, and read the UPGRADE INSTRUCTIONS in the online.txt file.
--------------------------------
Old Update: I fixed a small bug that was making one long string out of the URL To upgrade, just replace online.php on your server.
--------------------------------
Old Update: I added the missing mysql.php file.
--------------------------------

This has been requested many, many times. It produces a page that displays who's online and where they are. You can link to it from anywhere on your board, or make it just for Admins and Moderators (instructions for that included).

Hack version: v0.2.2

For version: vB2 RC2

Files needed: online.php

Files to edit: admin/sessions.php, possibly admin/index.php and mod/index.php

Templates to edit/create: online, online_userbits, online_guestbits, possibly forumhome_loggedinusers

Instructions are included in the zip file.

Feedback wanted.
Please do not PM or IM me about this hack. Please post it in this thread. Thanks!

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #72  
Old 05-14-2001, 01:20 AM
Hooper's Avatar
Hooper Hooper is offline
 
Join Date: Oct 2001
Location: St. Louis, Mo
Posts: 286
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

My server move and restore from a CP backup is totally trashed.
This was my answer.
Thank You,
  #73  
Old 05-14-2001, 01:26 AM
Mitrofan
Guest
 
Posts: n/a
Default

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.
  #74  
Old 05-14-2001, 01:26 AM
tubedogg's Avatar
tubedogg tubedogg is offline
 
Join Date: Oct 2001
Location: Medina, OH
Posts: 785
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
  #75  
Old 05-14-2001, 01:36 AM
Mitrofan
Guest
 
Posts: n/a
Default

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.
  #76  
Old 05-14-2001, 01:46 AM
tubedogg's Avatar
tubedogg tubedogg is offline
 
Join Date: Oct 2001
Location: Medina, OH
Posts: 785
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
  #77  
Old 05-14-2001, 12:40 PM
Mitrofan
Guest
 
Posts: n/a
Default

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.
  #78  
Old 05-14-2001, 02:36 PM
tubedogg's Avatar
tubedogg tubedogg is offline
 
Join Date: Oct 2001
Location: Medina, OH
Posts: 785
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[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.
  #79  
Old 05-14-2001, 02:47 PM
Mitrofan
Guest
 
Posts: n/a
Default

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?
  #80  
Old 05-15-2001, 06:24 AM
tubedogg's Avatar
tubedogg tubedogg is offline
 
Join Date: Oct 2001
Location: Medina, OH
Posts: 785
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry misread your first post.

Looking into it.
  #81  
Old 05-16-2001, 12:46 PM
kesha1
Guest
 
Posts: n/a
Default

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.
Closed Thread


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:47 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.04450 seconds
  • Memory Usage 2,295KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (6)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete