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)
-   -   Improved Who's Online Display (https://vborg.vbsupport.ru/showthread.php?t=38576)

-=dm=- 05-14-2002 12:05 AM

I have never noticed it before :(
today I installed u r hack and I was longtime on the whoisonline and suddenly I saw a private event title.

Warlord 05-14-2002 05:21 AM

Ok, I have added $DB_site to that string of code and I'm not getting any errors.. I'll have to see if the extras work as people use the different features....

For now, I'm clicking on install ;)

FleaBag 05-17-2002 10:07 AM

Thanks for this hack Chris, installed manually in under 3 minutes on 2.2.5 and working brilliantly! :D

Boofo 05-18-2002 09:17 PM

I get an error in online.php in line 175 (or around there) when someone is writing or sending a private message. If they read it, it seems fine. The error starts on the line that begins with:

Code:

$pm = $DB_site->query_first("SELECT fromuserid FROM privatemessag
Any ideas?

StealthAnime 05-18-2002 09:23 PM

good hack, will install it right away :)

TWTCommish 05-19-2002 01:19 AM

Boofo: what error do you get?

Boofo 05-19-2002 03:36 AM

You'd have to ask me that. :) It gives me the error as I load the screen (or refresh it is how I first saw it). I call it the "white page error" where is tells me the line of code and file the error is in. The page won't re-load until they are out of it. I will try to catch it again and let you know.

Boofo 05-19-2002 10:00 AM

TWTCommish,

I finally got the error again tonight (this early AM actually). Here it is:

Fatal error: Call to a member function on a non-object in /home/virtual/site3/fst/var/www/html/forum/online.php on line 175

It happened right after they were "Reading a private message". Actually the message was from me (isn't it supposed to say "Reading your private maeesage"?). then I got the error and the page would not load. After about 5 refreshes, it re-loaded and then I had a box pop up for a new peivate message. The line in the error is the line that I told you about in my previous post about the error. Hope this helps! :)

TWTCommish 05-19-2002 11:20 AM

Ok, you can fix the error by replacing this:

PHP Code:

global $thread$post$forum$event$gotforum$hideprivateforums$bbuserinfo$timeformat$enableemail$enablepms$bbtitle$usergroupdef$numberguests

with this:

PHP Code:

global $DB_site$thread$post$forum$event$gotforum$hideprivateforums$bbuserinfo$timeformat$enableemail$enablepms$bbtitle$usergroupdef$numberguests


Boofo 05-19-2002 11:54 AM

Ok, done! Will that also fix the problem of it not showing that they are Reading My Private Message (instead of just reading a private message) or just the error part? And are you going to update the install with this or do I need to copy it down somewhere? :)


All times are GMT. The time now is 03:44 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.02943 seconds
  • Memory Usage 1,735KB
  • 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_code_printable
  • (2)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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