Results 1 to 15 of 40

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
     

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