Announcement

Collapse
No announcement yet.

[Release v2] Who's Online

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Johnny
    replied
    Originally posted by tubedogg
    You must upgrade to 2.0.0 to receive support from me or anyone else. Regardless, that exists in 2.0 RC2, so you are obviously not running RC2 or you did not revert a template somewhere along the way.
    when i post my quetion i've 2.0.0!!!
    so..... but the hack is now working!!

    does anybody know the problem that lichtflits have posted???

    Johnny

    Leave a comment:


  • lichtflits
    replied
    every time when I try to see the online members I see this error:

    Warning: Variable $loggedins is not an array or string in /home/l/lichtfli/www/forums/online.php on line 29

    Parse error: parse error in /home/l/lichtfli/www/forums/online.php on line 44


    does anybody now what it is?

    Leave a comment:


  • tubedogg
    replied
    You must upgrade to 2.0.0 to receive support from me or anyone else. Regardless, that exists in 2.0 RC2, so you are obviously not running RC2 or you did not revert a template somewhere along the way.

    Leave a comment:


  • Johnny
    replied
    Originally posted by janw
    You use a newer version of Vbulletin. This hack is based on RC2
    but how must i place than the code?
    can someone maybe post or pm me his forumhome_loggedinusers template here??

    i don't know what i must change... because i have vb 2.0 and the hack is for vb 2.0 RC 2

    Johnny

    Leave a comment:


  • tubedogg
    replied
    Originally posted by catocom
    How do I set MySQL back yo the way it was???
    Run this query:

    ALTER session DROP location;

    and it should be back to normal.

    Leave a comment:


  • Thomas P
    replied
    Thanks tubedogg, that sounds great,
    thank you for your support!
    -Tom

    Leave a comment:


  • catocom
    replied
    I'm trying to reset everything to get rid of the
    hack on mine, because it says there are x amount
    of users online, but doesn't show all the names on the
    main index page anymore.

    I've restored all the original files but it still does it

    How do I set MySQL back yo the way it was???

    Leave a comment:


  • janw
    replied
    You use a newer version of Vbulletin. This hack is based on RC2

    Leave a comment:


  • Johnny
    replied
    in the template forumhome_loggedinusers i can't find this: <b>Currently Active Users</b>

    in my template i well can find this: <b>Currently Active Users: $totalonline</b>

    but this is not the same i guess..
    what can i do....??

    help me!

    johnny

    Leave a comment:


  • express
    replied
    Location

    Is there a board somewhere that I can see this hack in action?


    Joey
    Last edited by express; Sun 1 Jul '01, 6:40pm.

    Leave a comment:


  • tubedogg
    replied
    Just so everyone knows I haven't died and I'm not ignoring you, I'll post a little update.

    Thanks, Freddie, for the point in the right direction.

    For those of you getting parse errors, I'm working on it. Not sure why as it's still running cleanly on my server, might have something to do with php3.

    Leave a comment:


  • daydreamer
    replied
    Hello,

    After carefully following the instructions, I get the following error:

    Warning: Variable $loggedins is not an array or string in /home/noc/dre-www/board/online.php3 on line 29

    Parse error: parse error in /home/noc/dre-www/board/online.php3 on line 44

    Thanks
    dd

    Leave a comment:


  • Freddie Bingham
    replied
    In my research for creating the official version of this for v2.1 (or perhaps even an earlier version if I get it finished soon) I have found that this is the query you need if you want to only have the latest entry for each user. That being said this query is not very nice and I will let you know that I have found others way to achieve what I need without using this resource hog:
    Code:
    $users = $DB_site->query("SELECT s1.userid, username, s1.location, s1.host, invisible
                                FROM session s1, session s2, user
                                WHERE s1.userid = s2.userid AND user.userid = s1.userid
                                GROUP BY s1.userid, s1.lastactivity
                                HAVING Max(s1.lastactivity) = Max(s2.lastactivity)
                                ORDER BY username
                                ")
    Remember you can not grab the guests with this since the GROUP BY would compact them all into one record. You have to use a second query to get them. Just something for you to play around if you want the easiest way to squash multiple users, though not the most efficient way.

    Leave a comment:


  • daydreamer
    replied
    Hooper,

    You are so right... and I do apologize

    It's been a late night and a early morning here.

    Thank you Hooper for showing me the error of my ways.

    dd

    Leave a comment:


  • Hooper
    replied
    Originally posted by daydreamer
    Thomas,

    I guess the $160 didn't include support

    I have been messing with the online file and found only three instantses(sp?) of $loggedins, the rest were $loggedin. So, I renamed them $loggedin. That got rid of the first error.

    Now if we could figure put what a parse error is...

    dd
    DayDreamer,

    Not to be disrespectful in any way but we are talking about a hack here. Not vBulletin. You will need to have patience. TubeDogg as well as others program these hacks for us but he and the others also moderate the forums. He is a very busy guy and I'm sure he is doing the best he can. The Hacks are "free for you to try" and there is never a guarantee that they will work in any way shape or form. Most hacks are in a perpetual state of developement. They are not part of vBulletin or the vBulletin program nor are they supported as such by vBulletin. The $160.00 you paid does include support. If you have a problem with the vBulletin program, please post in the appropriate forum.
    Although TubeDogg tries to answer questions and support his addons, it may take a day or two to get a response. If I could have helped you I would. I didn't have the answer. There very well could be a situation with the .php3 extension but I just don't know what it would be other than maybe a path statement being incorrect somewhere. But I assure you, set aside a few small items that could be improved, this script hack does indeed work.
    I don't know if anything else was mentioned on it, you may go back and read the entire thread.
    Last edited by Hooper; Sun 3 Jun '01, 7:32am.

    Leave a comment:

widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X