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)

learner 07-01-2001 12:38 PM

Thank you so much tubedogg...
I did what you told me and the problem was fixed...thanks again...:D

RobAC 07-02-2001 03:23 AM

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?

SFishy 07-02-2001 04:13 AM

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!

Mutt 07-02-2001 07:38 PM

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

RobAC 07-02-2001 07:52 PM

Mutt,

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

-Rob

99SIVTEC 07-02-2001 11:05 PM

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

Mutt 07-05-2001 12:19 PM

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

Ruth 07-05-2001 09:28 PM

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

dwh 07-09-2001 11:32 PM

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!

Christian 07-10-2001 09:58 AM

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?


All times are GMT. The time now is 02:16 PM.

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.01435 seconds
  • Memory Usage 1,745KB
  • 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_php_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