![]() |
I just realised I was having exactly the same problem as Boofo. Though I couldn't find the line of code to fix mentioned... mine was the same but with " $onlineloc; " at the end? So I just added your fix and left $onlineloc; at the end.
|
Mine had that on the end, too, probably from another hack. I also left it in. :)
|
Quote:
|
TWTCommish,
Did you get a chance to check out the board yet? It still seems to be saying the reading private message thing I wrote about a few posts up. And it did the error on not loading the page again on a refresh, but I didn't catch where it happened at this time, sorry. I'll keep an eye on it and see if I can catch it again. Let me know when you have checked it out. Thanks! |
Well done Chris, I love it :D
|
hello Guys!!
Ive installed the hack, and all seems to be perfect. But If someone views the User cp of some other user, and i will klick on the user link in whos online, í get the message "sorry but this user is not registered. All other links are allright. What can the problem be?? I hope that you understand my bad english. :nervous: |
I'm afraid I don't understand. The link titled "User CP" should lead to YOUR User CP...which means you need to be logged in to access it. :)
|
Hello Chris, can i send you my code??
Than you can take a look .... Please |
Surely. :) PM or email it over.
|
hello Chris, you got Post.
I´ll send it to privacy@... Thank you very much. |
I'm looking at the code now...what did you say the problem was? Which link is giving you trouble?
|
...$userinfo[where] = "Schaut sich das Profil an von <a href=\"member.php?s=$session[sessionhash]&action=getinfo&userid=$user[userid]\">$user[username]</a>";
and here is the problem. It looks like: schaut sich das profil an von >>mr.x<<. If i click on mr.x ill get a message that this user are not registered. |
I'm not sure what's wrong, but to make sure the link works, replace this:
PHP Code:
PHP Code:
|
Thank you Chris. I will try it. :D
|
Running well on 2.2.6 apart from 1 issue with the profile userid, it doesn't put the number of the member in the hyperlink.
|
Replace this...
Code:
$user = $DB_site->query_first("SELECT username FROM user WHERE userid = ".intval($userid[1])); Code:
$user = $DB_site->query_first("SELECT userid, username FROM user WHERE userid = ".intval($userid[1])); |
Thanks Chris. Nobody viewing profiles for me to check at the moment, but I'm sure it works! :)
|
It doesn't say the name of the person who's profile they are viewing at all now... I'm gonna check my online.php just to be sure everything is as it should be.
|
Right everything is as it should be, all the file edits are done. Did you deliberately remove that feature Chris? If so wouldn't it be better to have the member name without the link, if it isn't easy to do? I have no idea what I'm talking about by the way. :)
|
The whole block of code should look like this:
Code:
case 'getinfo': |
That test usually works for me, but it doesn't seem to work with profiles. Anyway, it seems to suddenly have started working properly now. So thanks yet again! :)
|
TWTCommish, could you look to this thread :
https://vborg.vbsupport.ru/showthrea...760#post263760 I have installed that hack and it screws up online.php a little! Could you look into this and create a solution so other and I know where the user is instead of showing the sig.php info!! Thank you for your time! |
Yo guys I'm getting some gay ass error:
Parse error: parse error, unexpected T_CASE in /home/sjmadho/public_html/board/online.php on line 188 |
Does this work for every user or can you set this new online.php page to show the extra info *only* for admins?
Cheers, |
Can anyone help???????
|
Can you post just the error line with the 5 lines above it and the 5 below it so we can see what the problem might be?
Quote:
|
PM me your online.php file as an attachment and I'll have a look.
|
I have a very large online crowd and all I get is a blank screen
I am trying to use this great hack. I have a who is online for all the members to see, but I am trying to get this one to work just for my Admin's so we can see the guests and where they are mostly. I would appreciate some help, please. I have the files needed for someone to look at. I am confused with this one, I thought it would be an easy one. Confused??? BowHunt |
I'm sorry, could you describe your problem a little more? What seems to be wrong?
|
This is my site is http://www.gunsnet.net
When you go there you will see the who is online on the main index and on each forum. Here is what I am trying to do, I want a separte WOL for Admin's and Mod's to track the guest's and members so you know what forum they are in without having to go to each forum to find them. here is my online.php as you will see a blank screen. http://www.gunsnet.net/forums/online.php I would appreciate some help on this. |
I've got it working on 2.2.7 for the most part. The only problem is whenever it shows "Viewing Profile of xxx", it doesn't properly link to the user's profile. It just links to /forum/member.php?s=&action=getinfo&userid=. Anyone else having this problem or know how to fix it?
|
Works OK now ... (Click Install) :D
Change the $user variable to this dude.... Code:
$user = $DB_site->query_first("SELECT userid, username FROM user WHERE userid = ".intval($userid[1])); |
looks interesting.....
|
Great hack Chris, exactly what I was looking for :D
I have one related problem maybe you can help me with, as detailed in this thread. Thanks, G! |
Installed on 2.2.8 in about 4 seconds! :D
|
Chris I get this message after redoing my online.php file.
Parse error: parse error, unexpected T_CASE in C:\Web\WebSites\GunsNet\Forums\online.php on line 135 I will send you my online php file BowHunt |
Has anyone else noticed that upgrading to 2.2.9 breaks the Who's Online for Viewing (this members) Profile ?
EDIT: // as in it was working fine afaik before the upgrade but now I seem to have the following error whenever I try to view a Profile and then look @ Who's Online ... Code:
Fatal error: Call to a member function on a non-object in /my/home/directory/forums/online.php on line 122 PHP Code:
//EDIT: Apart from me not reading thru the thread properly LOL :( Sorry! Great hack and thanks :D :D |
Some bug fixes:
find: PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
Now every thing should work correctly. Im also using vbulletin 2.2.9 |
Does it make a difference what order the username and userid is on on the query statement? I have the following query in my online.php:
PHP Code:
|
Quote:
|
All times are GMT. The time now is 08:04 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|