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)

tubedogg 05-08-2001 12:16 AM

I should have seen this one coming. The problem is sessions.php is already modified to look for the location field, and not finding it, it errors out when running mysql.php. I have revised the directions to account for this.

JJR, can you run that query via Telnet or phpMyAdmin? That should solve your problem. Just continue with the instructions from there (go to your Admin CP and create the templates).

Everyone else, please redownload the zip file (if you have already downloaded it) and make sure your instructions say "v0.2.1" at the top. Those are the updated instructions.

nuno 05-08-2001 12:53 AM

Thank you Kevinhttps://vborg.vbsupport.ru/

tubedogg 05-08-2001 12:57 AM

Quote:

Originally posted by Dioxin
some links in my online.php page look like this:
http://www.aktienboard.com/vb/showth...0348#post20348post20348post20348
Is this happening for just logged-in members, just guests, or both? I mean, in the list, are the members with the triple repeated post number members, guests, or both?

nuno 05-08-2001 01:04 AM

Quote:

Originally posted by tubedogg


That I can't fix. It's the same as when you first surf in, you don't always appear as being online on the list on the front page. In this case it's because your location is updated at the same time the page is prepared, or slightly after (by a few milliseconds). If that's the worst problem the script presents, I think we're doing pretty good, eh? ;)

Kevin, would it be possible to fix this by doing an automatically refresh when users see online.php?

Dioxin 05-08-2001 08:09 AM

Quote:

Originally posted by tubedogg


Is this happening for just logged-in members, just guests, or both? I mean, in the list, are the members with the triple repeated post number members, guests, or both?

mhmm, strange. i looked at the script this morning and now it seems to generate correct links. sorry for my bug report.

but i have another problem:

the session variable in each link is different. i think it's a better way to change the variable to the viewers session-id, or??

another enhancement idea: include a profile link in the name and make a pm link nearby, perhaps an icon or so...

just ideas :) greets dioxin

Mas*Mind 05-08-2001 12:25 PM

Great hack tubedogg :)

It would be great if vb would officially support the location field again in 2.0 so that we don't have to edit sessions.php everytime we upgrade.

JJR512 05-08-2001 04:41 PM

Thanks tubedogg. Since I had to use the non-edited original version of sessions.php as long as I couldn't get mysql.php to work, basically the hack was not installed at all. So I just downloaded your new version and installed it as per the new instructions, and it worked fine. Thanks!

furious 05-08-2001 05:42 PM

very nice hack :)
but sometimes when i click on the link for a thread on the who's online page i get this error message :

Fatal error: Unable to open showthread.php in Unknown on line 0


do you know why?

tubedogg 05-08-2001 08:50 PM

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?
This should not affect that at all. If you are the only user on the board, you may not show up on the list at first. If it shows more than one member, but they are not showing up on the list, then you may indeed have a problem but I really don't see how this could affect it.

tubedogg 05-08-2001 08:56 PM

Quote:

Originally posted by furious
but sometimes when i click on the link for a thread on the who's online page i get this error message :

Fatal error: Unable to open showthread.php in Unknown on line 0
This is a problem with your server's PHP. It means for whatever reason it decided to take a break. ;) But seriously, unknown at line 0 isn't anything to do with my hack, and it's nothing that can really be fixed in terms of the scripts.


All times are GMT. The time now is 05:44 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.02234 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
  • (5)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