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
  #172  
Old 07-01-2001, 12:38 PM
learner
Guest
 
Posts: n/a
Default

Thank you so much tubedogg...
I did what you told me and the problem was fixed...thanks again...
  #173  
Old 07-02-2001, 03:23 AM
RobAC RobAC is offline
 
Join Date: Oct 2001
Posts: 314
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For some reason, I'm getting nothing but binary text spit back. I'm calling online.php on the homepage and it's full of binary text. I've gone back and made sure that the files were uploaded in ascii and tried running the mysql.php file again. When I do that, I get a database error message:

Database error in vBulletin Control Panel: Invalid SQL: ALTER TABLE session ADD location VARCHAR(225) not null
mysql error: Duplicate column name 'location'
mysql error number: 1060
Date: Monday 02nd of July 2001 12:12:44 AM
Script: /forums/admin/mysql.php
Referer:

Any ideas what I should do?
  #174  
Old 07-02-2001, 04:13 AM
SFishy SFishy is offline
 
Join Date: Nov 2001
Location: NY
Posts: 188
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hola hola,

I'm going to ask two questions (and I'll feel really dumb if it IS in fact covered within all the replies -- I've looked through them and couldn't find it)...

Uno: Is is possible to change how the logged in users are sorted? I'd love to see mine sorted by latest activity first.

Dos: Has the duplicated listing of users things been resolved and I missed it? It's not a huge problem, but it would make for a much tidier list if users weren't listed two, three or even four time. Is it possible that hitting "refresh" or "reload" has something to do with this (might be a dumb questions, but I'm no .php wizard, so be nice!)

Thanks!
  #175  
Old 07-02-2001, 07:38 PM
Mutt's Avatar
Mutt Mutt is offline
 
Join Date: Nov 2001
Posts: 331
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm working on a cleaned up version of this hack but need a little help. I've gotten rid of the bad urls and and duplicate listings but I'd like to make it even better

see this thread
http://www.vbulletin.com/forum/showt...threadid=21516

my main problem is that the sessions table will list the same person more than once. I've told the script to ignore these duplicates, but I'd perfer to get rid of the duplicates. If you have any knowledge of sessions.php, the sessions table and how it's used please check out the above thread. I don't want to edit the code so it cleans out the duplicates if they are needed elsewhere by another script.

Thank in advance
  #176  
Old 07-02-2001, 07:52 PM
RobAC RobAC is offline
 
Join Date: Oct 2001
Posts: 314
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Mutt,

Keep us posted on your progress. I'd just be happy to get this cool hack working again.

-Rob
  #177  
Old 07-02-2001, 11:05 PM
99SIVTEC 99SIVTEC is offline
 
Join Date: Nov 2001
Posts: 281
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have a quick question that should be easy. I have this on my site and am using an SSI call to show it on my main page. The problem is the text color. Its black by default which makes it invisible in my table. Where would I change the color. I'm not sure if its using a forum color from the templates or if its imbedded into the code or what...

My site is at www.highaltitudeimports.com you can see the problem after you enter the site..
  #178  
Old 07-05-2001, 12:19 PM
Mutt's Avatar
Mutt Mutt is offline
 
Join Date: Nov 2001
Posts: 331
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have a beta version that could use some testing. If you already have the who's online hack installed and working, install is a snap. follow the link to a thread with details


http://www.vbulletin.com/forum/showt...threadid=21935
  #179  
Old 07-05-2001, 09:28 PM
Ruth Ruth is offline
 
Join Date: Oct 2001
Posts: 171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks for this script, i have some questions before installing:

(1) will this work for vb version 2 ?

(2) most importantly: if i use a Mod_Auth_MySQL with .htaccess, and the user logs into my site, but not into any of the vB forums...will i get to see the online members? if not, can the script recall the members from the .htaccess, i'm not familiar with php and MySQL, please help.

(3) if #2 is achieved, can you be able to track the users?

Thanks
  #180  
Old 07-09-2001, 11:32 PM
dwh's Avatar
dwh dwh is offline
 
Join Date: Feb 2002
Posts: 278
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

1. There are multiple instances in v 2.01 that we aren't told to replace. Do we replace each instance?
2. This hack would be more expandable if the list of programs -> Title (e.g.
PHP Code:
    } elseif (strpos($location,"private")!==false) {
        
$locationtitle="Viewing private messages";
        
$location="index.php?s=$session[sessionhash]";
        
$f="1";
    } else {
        
$location="index.php?s=$session[sessionhash]";
        
$locationtitle="Browsing Board"
would be placed in a template or in phpinclude or a text file modified in the CP, so we can change the wording, add new scripts etc...

otherwise, nice hack!
  #181  
Old 07-10-2001, 09:58 AM
Christian Christian is offline
 
Join Date: Nov 2001
Location: wuerzburg.germany.earth
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I also asked before what exactly has to be replaced in vB 2.0.1, because the lines don't fit anymore!
Also some pieces of code are there now more than once!

Anyone uses it with 2.0.1?

What did you replace and what not?
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 11:29 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.05408 seconds
  • Memory Usage 2,307KB
  • 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_php
  • (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
  • (10)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