Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

Reply
 
Thread Tools
Improved Who's Online Display Details »»
Improved Who's Online Display
Version: 1.00, by TWTCommish TWTCommish is offline
Developer Last Online: Dec 2022 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 05-12-2002 Last Update: Never Installs: 75
 
No support by the author.

This hack is pretty straightforward: it provides more detail on the Who's Online? page. Here are some examples:
  • Things like "Editing Buddy List" or "Editing Forum Options" are not accompanied by links. "Buddy List" links to the page to edit your own Buddy List, and so on with "Forum Options, "Ignore List," and a few others similar to that.
  • Instead of "Sending Email to Another Forum User" or "Viewing the Profile of a Forum Member," you'll be told which user it is in both cases, and their username will be a link to their profile.
  • Most significantly, IMO: no more vague "Sending Private Message" or "Reading Private Message" messages. Now you have the following:
    -- Reading a Private Message
    -- Reading a Private Message From You
    -- Replying to a Private Message
    -- Replying to Your Private Message
    -- Sending a Private Message
    -- Sending a Private Message to You

    As you can see, this is much more useful, yet it still protects the basic privacy of each member. Cool, eh?
  • "Viewing the Results of a Poll" now links you to the results of that poll, and the word "Post" in "Editing Post" is a link to the post being edited.
  • The word "Attachment in "Viewing Attachmet in Thread Blah Blah Blah" is now a link to the specific attachment being viewed.
That's it, basically. I'm using it on my site: http://www.movieforums.net/online.php

It is *HIGHLY* recommended that you use vBHacker to install this hack, as it involves 14 code edits in one file (online.php)...automating that can save you a lot of time. Attached is an archive containing a vBHacker installation file, as well as a plain text instruction file. Enjoy.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 05-14-2002, 12:05 AM
-=dm=- -=dm=- is offline
 
Join Date: Nov 2001
Posts: 189
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #23  
Old 05-14-2002, 05:21 AM
Warlord's Avatar
Warlord Warlord is offline
 
Join Date: Jan 2002
Location: TN, USA
Posts: 668
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #24  
Old 05-17-2002, 10:07 AM
FleaBag's Avatar
FleaBag FleaBag is offline
 
Join Date: Dec 2001
Posts: 1,674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for this hack Chris, installed manually in under 3 minutes on 2.2.5 and working brilliantly!
Reply With Quote
  #25  
Old 05-18-2002, 09:17 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #26  
Old 05-18-2002, 09:23 PM
StealthAnime StealthAnime is offline
 
Join Date: Apr 2002
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

good hack, will install it right away
Reply With Quote
  #27  
Old 05-19-2002, 01:19 AM
TWTCommish's Avatar
TWTCommish TWTCommish is offline
 
Join Date: Oct 2001
Location: Pittsburgh, PA, USA
Posts: 783
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Boofo: what error do you get?
Reply With Quote
  #28  
Old 05-19-2002, 03:36 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #29  
Old 05-19-2002, 10:00 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
  #30  
Old 05-19-2002, 11:20 AM
TWTCommish's Avatar
TWTCommish TWTCommish is offline
 
Join Date: Oct 2001
Location: Pittsburgh, PA, USA
Posts: 783
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #31  
Old 05-19-2002, 11:54 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
Reply

Thread Tools

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 07:02 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04798 seconds
  • Memory Usage 2,315KB
  • Queries Executed 27 (?)
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_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
  • (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_postinfo_query
  • fetch_postinfo
  • 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