Results 1 to 15 of 40
Page 1 of 3
FirstFirst 1 2 3 ... LastLast

Thread: [RELEASE vB2.0] Max Users History

Threaded View

  1. #1
    Former Lead Developer, vBulletin Kier is a jewel in the rough Kier is a jewel in the rough Kier is a jewel in the rough Kier is a jewel in the rough Kier's Avatar
    Join Date
    Sep 2000
    Location
    Reading, UK
    Posts
    8,228
    Blog Entries
    6
    v2 - Updated to use no extra queries

    Okay, seeing as people asked for this, here it is. It's very, very simple in its operation.

    It just keeps a record of the most number of visitors at any one time, and displays it on the main forums page. The time/date format will obey the system you specified in the control panel, including timezone offsets.



    Installation is very simple. Simply download the attachment to this message, unzip it and upload install_maxonline.php to your forums/admin folder, then open that page in a web browser and carefully follow the instructions it will give you.

    The script will only call an extra query if the number of online users is greater than that the previous record. The records are stored in a new template called 'MAXONLINERECORDS', which is automatically installed for you with the supplied script.

    The install script has an upgrade option that will clean up the mess left by the original version...

    You can see it working online at snyx' forum here

    Extraordinarily Important Info
    When you upgrade your board to a new version of vBulletin, you must modify the install script that you run like this:

    Find
    PHP Code:
    $DB_site->query("DELETE FROM template WHERE templatesetid=-1 AND title<>'options'"); 
    and replace it with
    PHP Code:
    $DB_site->query("DELETE FROM template WHERE templatesetid=-1 AND title<>'options' AND title<>'MAXONLINERECORDS'"); 
    If you do not do this, your records will be destroyed when you upgrade.
    Last edited by Kier; Wed 14th Mar '01 at 8:56pm.
    Meh. | Twitter: @KierDarby | Web: KierDarby.com
     

  2. #2
    Senior Member snyx has disabled reputation snyx's Avatar
    Join Date
    Aug 2000
    Location
    Vancouver, BC, Canada (whistler.2010)
    Posts
    1,073
    Looks like my bitching paied off for once! LOL!
    Great hack man!
     

  3. #3
    Senior Member Overgrow is on a distinguished road Overgrow's Avatar
    Join Date
    May 2000
    Location
    Vancouver
    Posts
    381
    thbththt Mine already worked on 2.0 two hours ago you just had to go put in a fancy install routine and screenshot


    btw, I dig your who posted hack!
    vB Retro -> See vBulletin 1.1.2 and travel back to the Year 2000!
    Overgrow the Government: The Edge Forums
    presented by Overgrow Marijuana Magazine


    *warning: adult content since vB1.1... now faster than ever!
     

  4. #4
    Senior Member conan is on a distinguished road
    Join Date
    Sep 2000
    Posts
    389
    Great hack man as always!
     

  5. #5
    Former Lead Developer, vBulletin Kier is a jewel in the rough Kier is a jewel in the rough Kier is a jewel in the rough Kier is a jewel in the rough Kier's Avatar
    Join Date
    Sep 2000
    Location
    Reading, UK
    Posts
    8,228
    Blog Entries
    6
    Sorry, when I put this together you hadn't said whether yours worked in 2.0 or not...

    Ah well, now there's a choice of two
    Meh. | Twitter: @KierDarby | Web: KierDarby.com
     

  6. #6
    Senior Member Overgrow is on a distinguished road Overgrow's Avatar
    Join Date
    May 2000
    Location
    Vancouver
    Posts
    381
    When I posted I didn't even know if it worked in 1.x or not Sometimes I hack blindly at work. That's OK, I see how it works now.. if you put an install routine and a screenshot on your hack you get 5-stars eh?

    heheh :P take care
    vB Retro -> See vBulletin 1.1.2 and travel back to the Year 2000!
    Overgrow the Government: The Edge Forums
    presented by Overgrow Marijuana Magazine


    *warning: adult content since vB1.1... now faster than ever!
     

  7. #7
    Senior Member mrlister is on a distinguished road mrlister's Avatar
    Join Date
    Nov 2000
    Location
    Burnaby, BC
    Posts
    371
    Kier. I don't know what we'd do without you
    - MrLister
     

  8. #8
    Member Shak is on a distinguished road
    Join Date
    Dec 2000
    Posts
    89
    Thanks

    It works and was very simple to install.
     

  9. #9
    Senior Member SystemLogic is on a distinguished road
    Join Date
    Jan 2001
    Location
    University Of Maryland
    Age
    27
    Posts
    119

    Awesome!

    Awesome hack, you've been on a roll Kier!

    It's been installed here if anybody wants to see more example sites.
    SLCentral.com - Your logical choice for computing and technology
    SLBoards - The SLCentral.com message boards. Come join our community!
     

  10. #10
    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
    Something I had planned on adding to vb at one point but never got around to it..
    vBulletin Developer since Dec 2000
     

  11. #11
    Former Lead Developer, vBulletin Kier is a jewel in the rough Kier is a jewel in the rough Kier is a jewel in the rough Kier is a jewel in the rough Kier's Avatar
    Join Date
    Sep 2000
    Location
    Reading, UK
    Posts
    8,228
    Blog Entries
    6
    The hack creates a new table with a single entry that is queried when you load index.php. It compared the value in the table with the $totalonline variable, and if $totalonline is larger than the value in the table, the table is updated.

    [edit] - the above info is now incorrect - [/edit]

    To upgrade your board, you must modify the upgrade script as shown above, and modify the new index.php
    Last edited by Kier; Wed 14th Mar '01 at 9:08pm.
    Meh. | Twitter: @KierDarby | Web: KierDarby.com
     

  12. #12
    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
    Originally posted by eva2000
    cool - is beta 4 gonna have this in it ?
    No..
    vBulletin Developer since Dec 2000
     

  13. #13
    Senior Member Dream will become famous soon enough Dream will become famous soon enough Dream's Avatar
    Join Date
    Mar 2001
    Posts
    1,825
    sweet mod, thank you.
    Last edited by Dream; Tue 13th Mar '01 at 11:02pm.
    - Add a Radio and TV Streaming Player to your forum (3.6.x version / 3.7.x version / 3.8.x version)
    - Visit the vBulletin Spiders Directory to download an updated spiders_vbulletin.xml and submit spiders

     

  14. #14
    Senior Member chrispadfield is on a distinguished road chrispadfield's Avatar
    Join Date
    Aug 2000
    Location
    London, UK
    Age
    28
    Posts
    5,368
    nice, took about 30 seconds to install ! your hacks rule
     

  15. #15
    Former Lead Developer, vBulletin Kier is a jewel in the rough Kier is a jewel in the rough Kier is a jewel in the rough Kier is a jewel in the rough Kier's Avatar
    Join Date
    Sep 2000
    Location
    Reading, UK
    Posts
    8,228
    Blog Entries
    6
    Stop downloading this one for a little while.

    I've devised a way to do this without an extra query on index.php... give me 20 mins and i'll post the new version.
    Meh. | Twitter: @KierDarby | Web: KierDarby.com
     

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

Similar Threads

  1. how many users can vb max
    By dreamhost in forum vBulletin 3.0 How Do I and Troubleshooting Forum
    Replies: 0
    Last Post: Fri 10th Oct '03, 3:52pm
  2. [Release vB2.0.3] ReferralsHack
    By Afterburner in forum Releases: Version 2.x
    Replies: 2
    Last Post: Thu 25th Oct '01, 6:25pm
  3. [Release vb2.0.1] vbPortal 2.0.1
    By wajones in forum Releases: Version 2.x
    Replies: 26
    Last Post: Wed 13th Jun '01, 9:22pm
  4. Max Users....
    By SystemLogic in forum vBulletin 2 'How Do I' and Troubleshooting
    Replies: 3
    Last Post: Fri 13th Apr '01, 2:41pm
  5. Saving a history of sent email to users ?
    By eva2000 in forum vBulletin 2 'How Do I' and Troubleshooting
    Replies: 5
    Last Post: Thu 15th Mar '01, 1:13pm

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