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
  #52  
Old 05-08-2001, 09:03 PM
Hooper's Avatar
Hooper Hooper is offline
 
Join Date: Oct 2001
Location: St. Louis, Mo
Posts: 286
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone have this up and running correctly? Please post your sites. Ben working on a server move, glad to see this one.
If I missed a working site forgive me.
  #53  
Old 05-08-2001, 09:05 PM
tubedogg's Avatar
tubedogg tubedogg is offline
 
Join Date: Oct 2001
Location: Medina, OH
Posts: 785
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

JJR has it up and running.

http://www.jjr512.com/forums/online.php
  #54  
Old 05-08-2001, 09:26 PM
Hooper's Avatar
Hooper Hooper is offline
 
Join Date: Oct 2001
Location: St. Louis, Mo
Posts: 286
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh Me Gosh Tubbey,

I beta tested the heck out of Borgs WOL before the purchase of vB. I am so grateful. Cannot wait to get that installed looks great.

Thanks for the hard work.
Hooper
  #55  
Old 05-08-2001, 11:39 PM
fruitsalad fruitsalad is offline
 
Join Date: Nov 2001
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by insdel
After installing this hack the loggedin members are no properly shown any more (as you can see in the pic I've attached)
Only after refreshing the page some 3 times it works.
Any suggestions?

insDEL
I had this same problem, so i've removed this hack for the meantime. it was doing funny things with my sessions and logged in users.

has anyone tried this on a very busy forum?

out of curiosity i took a look at jjr's implementation and noticed the same discrepancies which i was noticing. please see attached file. I suspect the session table is not being updated properly??
  #56  
Old 05-08-2001, 11:41 PM
Hooper's Avatar
Hooper Hooper is offline
 
Join Date: Oct 2001
Location: St. Louis, Mo
Posts: 286
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok....... We're back to waiting.
  #57  
Old 05-09-2001, 12:09 AM
tubedogg's Avatar
tubedogg tubedogg is offline
 
Join Date: Oct 2001
Location: Medina, OH
Posts: 785
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

fruitsalad: Are you missing members from the list on the main page, or are you noticing the members appearing multiple times on the Who's Online page? Those would be two different problems. The first has nothing to do with my hack, I'm quite sure, as it does not have any control over the main listing.

The second thing I'm working on. I don't understand how it happens because it should be selecting distinct records from the DB based on the userid, meaning pull one record per time it sees a particular number...I'll see what I can do.
  #58  
Old 05-09-2001, 12:28 AM
Mas*Mind's Avatar
Mas*Mind Mas*Mind is offline
 
Join Date: Oct 2001
Location: Amsterdam, The Netherlands, currently living in Cape Town, South Africa
Posts: 103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

just a question:

What kind of events will be listed? Eg: Will 'user is replying on thread 'bla'' also be listed etc..?
  #59  
Old 05-09-2001, 12:30 AM
tubedogg's Avatar
tubedogg tubedogg is offline
 
Join Date: Oct 2001
Location: Medina, OH
Posts: 785
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good question I should probably have given a list anyway. Let me put one together and I'll post it.
  #60  
Old 05-09-2001, 12:48 AM
tubedogg's Avatar
tubedogg tubedogg is offline
 
Join Date: Oct 2001
Location: Medina, OH
Posts: 785
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Code:
If they are on this page			This list will say this
newthread.php				User is starting a new thread in forumtitle forum
showthread.php
--Using a post #				Viewing post #n in thread threadtitle
--Using a post # that has a title		Viewing post posttitle (post #n) in thread threadtitle
--Without a post number			Viewing thread threadtitle
forumdisplay.php				Viewing forumtitle forum
online.php				Viewing Who's Online
index.php					Viewing the Main Page
newreply.php				Posting a reply to threadtitle
editing a post				Editing their post in thread threadtitle
search.php?action=showresults		Viewing search results
search.php				Using Search
memberlist				Viewing the Memberlist
calender.php				Viewing the calendar
misc.php?action=faq			Viewing the FAQ
usercp.php					In their User CP
private.php or private2.php			Viewing private messages
anywhere else				Browsing Board
This only applies to members listed. Guests listed are basically the same, except without the members-only functions (replying, etc.)
  #61  
Old 05-09-2001, 04:21 AM
fruitsalad fruitsalad is offline
 
Join Date: Nov 2001
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by tubedogg
fruitsalad: Are you missing members from the list on the main page, or are you noticing the members appearing multiple times on the Who's Online page? Those would be two different problems. The first has nothing to do with my hack, I'm quite sure, as it does not have any control over the main listing.

The second thing I'm working on. I don't understand how it happens because it should be selecting distinct records from the DB based on the userid, meaning pull one record per time it sees a particular number...I'll see what I can do.
I cant say for sure, cos my board is not that busy, but with the edited sessions.php running my board always said 0 members, 0 guests when i first logged in to the main page. it was only refreshing it that i would then be able to see myself.

However i opened up and browed the sessions table in phpmyadmin and there are alot more sessions recorded in that table than are showing on the board. but i dont think this was related to your script issit? the sessions table didnt seem to be updating.

as for the problems i witnessed first hand. My guest count was always zero and also the problem of more than 1 entry for the members on the who's online page as on the screenshot of jjr page i included earlier
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 05:06 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.04341 seconds
  • Memory Usage 2,308KB
  • 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_code
  • (2)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
  • (11)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