![]() |
Improved Who's Online Display
This hack is pretty straightforward: it provides more detail on the Who's Online? page. Here are some examples:
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. |
very nice.....does it work on 2.2.4?
|
I think so. It should work on all 2.2.x versions...I don't think the online.php file has changed much over the last few versions.
|
Thanks for this great Hack
|
cool hack, although I personally I'm going to stick with my design, which is pop-up version of who's online (just goto my forums and click on who's online to see it).
good though :D |
Sounds cool.. I'll install it now and get back to you.. :)
|
Ok, I get this error after installing it manually....
Fatal error: Call to a member function on a non-object in /home/virtual/site24/fst/var/www/html/vb/online.php on line 172 |
ok.. this is wierd. Now the active users page works and I didn't do anything. But it doesn't have all the features you described.... I had someone view and reply to a PM I sent him and it simply said "Reading a Private Message" amd "Using Private Messenger" or something to that effect....
|
Sounds like a great hack, will install once I can get vbHacker to work...
|
Quote:
|
Ok, you can fix the error by replacing this:
PHP Code:
PHP Code:
|
works great here ! love it :-)
|
great hack, i think it's very usefull!
but, may be you can add features for Store(lesane hack)? for example: Buying "Custom avatar" etc....... |
I don't know enough about his hack to do that offhand...working on a few other things I should probably focus on, too. :) But I don't think adding a few things like that by hand should be too hard.
|
vBHacker couldn't find any of those parts of code to change.....
File edits File edit number 1: The code needed was not found in the online.php file. File edit number 2: The code needed was not found in the online.php file. File edit number 3: The code needed was not found in the online.php file. File edit number 4: The code needed was not found in the online.php file. File edit number 5: The code needed was not found in the online.php file. File edit number 6: The code needed was not found in the online.php file. File edit number 7: The code needed was not found in the online.php file. File edit number 8: The code needed was not found in the online.php file. File edit number 9: The code needed was not found in the online.php file. File edit number 10: The code needed was not found in the online.php file. File edit number 11: The code needed was not found in the online.php file. File edit number 12: The code needed was not found in the online.php file. File edit number 13: The code needed was not found in the online.php file. File edit number 14: The code needed was not found in the online.php file. |
That's odd. Can you send me your online.php file?
|
Hi TWTCommish
thanx for a nice hack :) is it possible to remove the private calender show up, on "whois online"? cuz when our members ad some "private" events other member who are on the "whoisonline" are able to see the subject of the events:( thanx |
I didn't add anything to the hack to allow people to view private events, so if vB doesn't display them by default, it should be okay. :)
|
Hi
it display the subject of the private events, on whois online when user adds a private event. |
Does vB do that standard? I think it must...because I certainly didn't add that functionality in.
|
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. |
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 ;) |
Thanks for this hack Chris, installed manually in under 3 minutes on 2.2.5 and working brilliantly! :D
|
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 |
good hack, will install it right away :)
|
Boofo: what error do you get?
|
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.
|
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! :) |
Ok, you can fix the error by replacing this:
PHP Code:
PHP Code:
|
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? :)
|
That should fix both parts; try it and see. :) As for the install; I'll try to get around to updating it soon. Sorry for the delays.
|
Oh, by the way, I'm just curious...what did that fix actually do? Does it add another query? (I LOVE learning this stuff!) :)
|
good hack
|
Im getting this: Fatal error: Call to a member function on a non-object in /home/httpd/hostchat/html/online.php on line 123 when running the vbhacker file.
Anyone know whats up?? heres whats on that line: $user = $DB_site->query_first("SELECT username FROM user WHERE userid = ".intval($userid[1])); |
fixed thanks to https://vborg.vbsupport.ru/showthrea...446#post252446
Althought whats this? Unknown Location: /updateindex.php?&fid=6&val=1 |
It is still reading "Reading Private Message" instead of "Reading Boofo's Private Message" (or however it is supposed to read. :)
|
Hmm. Odd. I'll register at your board later today and see if I can figure things out. :)
|
The error is gone from what I can tell, though. :)
|
For the people that installed this hack right when it came out, do we need to change or update anything if it seems to be working fine?
|
If it's working fine, then no, I guess you won't need to change anything. I think the only way it could work in spite of that bug, however, is if you've installed another hack within that file that made a similar change.
|
All times are GMT. The time now is 03:28 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|