Results 1 to 15 of 192
Page 1 of 13
FirstFirst 1 2 3 11 ... LastLast

Thread: [Release v2] Who's Online

  1. #1
    Senior Member tubedogg has disabled reputation tubedogg's Avatar
    Join Date
    Feb 2001
    Location
    Medina, OH
    Age
    28
    Posts
    13,647

    [Release v2] Who's Online (updated to v0.2.2)

    UPDATE: v0.2.2 has been released, fixing the problem of session hashes not always being removed and replaced correctly in the URLs of where people are. It also attempts to fix the problem of members appearing on the list twice, however don't hold your breath on this one.
    To upgrade, just reupload online.php to your server.
    --------------------------------
    Old update: v0.2.1 has been released. If you already have this hack installed and working you DO NOT NEED TO UPGRADE! The only change is I adjusted the instructions to account for an error in the order I had them in. THERE IS NO CHANGE TO THE HACK ITSELF. If you have not gotten this installed and working yet, please download the zip file (online021.zip) and work from that one.
    --------------------------------
    Old Update: You can now see where guests are on your board. To upgrade, simply download the new zip file, and read the UPGRADE INSTRUCTIONS in the online.txt file.
    --------------------------------
    Old Update: I fixed a small bug that was making one long string out of the URL To upgrade, just replace online.php on your server.
    --------------------------------
    Old Update: I added the missing mysql.php file.
    --------------------------------

    This has been requested many, many times. It produces a page that displays who's online and where they are. You can link to it from anywhere on your board, or make it just for Admins and Moderators (instructions for that included).

    Hack version: v0.2.2

    For version: vB2 RC2

    Files needed: online.php

    Files to edit: admin/sessions.php, possibly admin/index.php and mod/index.php

    Templates to edit/create: online, online_userbits, online_guestbits, possibly forumhome_loggedinusers

    Instructions are included in the zip file.

    Feedback wanted.
    Please do not PM or IM me about this hack. Please post it in this thread. Thanks!
    Last edited by tubedogg; Fri 27th Jul '01 at 2:53am.
     

  2. #2
    vBulletin Team eva2000 is on a distinguished road eva2000's Avatar
    Join Date
    May 2000
    Location
    Brisbane, Australia
    Posts
    29,252
    i'll let you know how it goes soon
    _
    * Required server info for server performance issues here
    * Choosing right cpus for high concurrency vB servers

    => Xeon Nehalem-EP 55xx > Xeon 54xx harpertown > Xeon 53xx > Opteron
    => vB4 FAQ | vB 4 Features | vB4 Syle Info | Internet brand Message
    => IBxAnders vB4.0 Search & InnoDB | InnoDB conversion | Large forums drive configs!
     

  3. #3
    Senior Member nuno has disabled reputation nuno's Avatar
    Join Date
    Apr 2001
    Age
    34
    Posts
    4,377
    tubedogg
    i'm getting this message when going to cp after making changes in sessions.php

    There seems to have been a slight problem with the database. Please try again by pressing the refresh button in your browser.

    An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.

    We apologise for any inconvenience.
     

  4. #4
    Senior Member tubedogg has disabled reputation tubedogg's Avatar
    Join Date
    Feb 2001
    Location
    Medina, OH
    Age
    28
    Posts
    13,647
    View the source of the page and copy and paste the error here, or copy and paste the email you got from it, please.
     

  5. #5
    vBulletin Developer Freddie Bingham is just really nice Freddie Bingham is just really nice Freddie Bingham is just really nice Freddie Bingham is just really nice Freddie Bingham is just really nice Freddie Bingham's Avatar
    Join Date
    May 2000
    Location
    California
    Age
    35
    Posts
    13,941
    Blog Entries
    16
    I took a quick glance at your work and I don't see where you told anyone to create the location field in the session table
     

  6. #6
    Senior Member tubedogg has disabled reputation tubedogg's Avatar
    Join Date
    Feb 2001
    Location
    Medina, OH
    Age
    28
    Posts
    13,647
    I think I need to go smack my head against a wall for a while.

    Wow. I cannot believe I forgot that. The file is right here, waiting for inclusion.

    OK let's back up a step. Anyone who has already done so, please redownload the zip file and make sure you run the mysql.php file included. (See the instructions for more on what do to.)



    Thank you, Freddie!
    Last edited by tubedogg; Mon 7th May '01 at 2:54am.
     

  7. #7
    Senior Member nuno has disabled reputation nuno's Avatar
    Join Date
    Apr 2001
    Age
    34
    Posts
    4,377
    now its working but when i go to online.php in location field i get this url:

    http://127.0.0.1/vb2rc2/upload/vb2rc2uploadindex.php

    it should be

    http://127.0.0.1/vb2rc2/upload/vb2rc2/upload/index.php
    Last edited by nuno; Mon 7th May '01 at 3:36am.
     

  8. #8
    Senior Member tubedogg has disabled reputation tubedogg's Avatar
    Join Date
    Feb 2001
    Location
    Medina, OH
    Age
    28
    Posts
    13,647
    nuno, do me a favor and try something. In online.php, find
    Code:
    		$location=str_replace("/","",$location);
    and replace it with
    Code:
    		if (strrpos($location,"/")!==false) {
    			$num = strrpos($location,"/");
    			$location = substr_replace($location,"/",$num,1);
    		}
    and tell me if that fixes it.
     

  9. #9
    Senior Member nuno has disabled reputation nuno's Avatar
    Join Date
    Apr 2001
    Age
    34
    Posts
    4,377
    fixed Kevin
    thank you so much
     

  10. #10
    Senior Member nuno has disabled reputation nuno's Avatar
    Join Date
    Apr 2001
    Age
    34
    Posts
    4,377
    Kevin its not showing Guests location
    And i need to refresh page to see my location when viewing who's online, if i dont refresh page i get that i'm seeing Board Main page
    Last edited by nuno; Mon 7th May '01 at 4:19am.
     

  11. #11
    Senior Member tubedogg has disabled reputation tubedogg's Avatar
    Join Date
    Feb 2001
    Location
    Medina, OH
    Age
    28
    Posts
    13,647
    I hadn't thought about guests...I suppose I could include them. Let me do a little work on it and I'll post the results.
     

  12. #12
    Senior Member tubedogg has disabled reputation tubedogg's Avatar
    Join Date
    Feb 2001
    Location
    Medina, OH
    Age
    28
    Posts
    13,647
    Originally posted by nuno
    And i need to refresh page to see my location when viewing who's online, if i dont refresh page i get that i'm seeing Board Main page
    That I can't fix. It's the same as when you first surf in, you don't always appear as being online on the list on the front page. In this case it's because your location is updated at the same time the page is prepared, or slightly after (by a few milliseconds). If that's the worst problem the script presents, I think we're doing pretty good, eh?
     

  13. #13
    Senior Member nuno has disabled reputation nuno's Avatar
    Join Date
    Apr 2001
    Age
    34
    Posts
    4,377
    That I can't fix

    ok, np.
    Could you please fix it for Guests?
    thank you
     

  14. #14
    Senior Member tubedogg has disabled reputation tubedogg's Avatar
    Join Date
    Feb 2001
    Location
    Medina, OH
    Age
    28
    Posts
    13,647
    I updated the zip file above with v0.2.0. You can now see what guests are doing on your board as well.
     

  15. #15
    Senior Member nuno has disabled reputation nuno's Avatar
    Join Date
    Apr 2001
    Age
    34
    Posts
    4,377
    Done
    Thank you Kevin
     

Page 1 of 13
FirstFirst 1 2 3 11 ... LastLast

Similar Threads

  1. [Release v2 beta 3] Who's online on non-vB page (with usernames)
    By tubedogg in forum Releases: Version 2.x
    Replies: 68
    Last Post: Thu 25th Oct '01, 2:31am
  2. [RELEASE vB2.0] quick 'who posted'
    By Kier in forum Releases: Version 2.x
    Replies: 66
    Last Post: Wed 1st Aug '01, 4:15am
  3. When's the next release due?
    By vbulletin.com in forum vBulletin 2 'How Do I' and Troubleshooting
    Replies: 1
    Last Post: Tue 8th May '01, 5:30am
  4. Replies: 1
    Last Post: Wed 21st Mar '01, 1:16pm

Bookmarks

Posting Permissions

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts