Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Users Chatting result is FlashChat users Chatting

  1. #1
    Administrator Smoge's Avatar
    Join Date
    Mar 2005
    Posts
    6,634
    Blog Entries
    5

    Default Users Chatting result is FlashChat users Chatting

    make this change; around line 1923 in admin.inc.php

    Code:
    //  IdeasSoft - make chatting number come from flashchat, not aeDatings IM
    //			$onl_arr = db_arr("SELECT  count(DISTINCTROW IDFrom) AS count_onl FROM IMessages  WHERE `When` > SUBDATE(NOW(), INTERVAL $min MINUTE)");
    			$onl_arr = db_arr("SELECT  count(DISTINCTROW userid) AS count_onl FROM fc_messages  WHERE `created` > SUBDATE(NOW(), INTERVAL $min MINUTE)");
    ModMySite Administrator

    Problems? Questions? Need modifications or other help with your site?

    Open A Ticket , Send Us An Email Or Give Us A Telephone Call +1 518-632-4152.

  2. #2
    MHL
    Guest

    Default

    NICE! Worked great, except it was line 2075 for me.
    Running version 3.3

  3. #3
    Administrator Smoge's Avatar
    Join Date
    Mar 2005
    Posts
    6,634
    Blog Entries
    5

    Default

    Quote Originally Posted by MHL
    NICE! Worked great, except it was line 2075 for me.
    Running version 3.3
    Yea, in the future - we will drop the line numbers from mods - they tend to make more trouble than they are worth.

    Smoge
    ModMySite Administrator

    Problems? Questions? Need modifications or other help with your site?

    Open A Ticket , Send Us An Email Or Give Us A Telephone Call +1 518-632-4152.

  4. #4

    Join Date
    Jun 2005
    Posts
    34

    Default

    Nice one Is this possible with Userplane chat?

  5. #5
    Net Warrior
    Guest

    Default UserPlane

    I'd like to know how this can be modded to indicate Userplane Chats as well?

  6. #6
    Administrator Smoge's Avatar
    Join Date
    Mar 2005
    Posts
    6,634
    Blog Entries
    5

    Default

    I'll give it a try in IQ - hit me back on it in a couple of days in case I forget.

    Rob
    ModMySite Administrator

    Problems? Questions? Need modifications or other help with your site?

    Open A Ticket , Send Us An Email Or Give Us A Telephone Call +1 518-632-4152.

  7. #7
    Prometheus
    Guest

    Default Display who is chatting in FlashChat not AE IM BS

    All,

    Here is the exact code to make this work using IQ 4.1.2
    Just replace everything starting with // chatting in the admin.inc.php file (in the inc folder) and use the code below.
    All that had to be added was break;
    And remember that AE is slow to show results. give it a minute and then open a new window to your site to see the results. Just did it and it works great


    // chatting
    case 't':
    case 'T':
    $onl_arr = db_arr("SELECT count(DISTINCTROW IDFrom) AS count_onl FROM IMessages WHERE `When` > SUBDATE(NOW(), INTERVAL $min MINUTE)");
    $onl_arr = db_arr("SELECT count(DISTINCTROW userid) AS count_onl FROM fc_messages WHERE `created` > SUBDATE(NOW(), INTERVAL $min MINUTE)");break;

  8. #8
    Direct_Effect
    Guest

    Default how bout on dolphin 5.1

    How can I do this on dolphin?? anyone?

  9. #9
    keremyildiz
    Guest

    Default

    I use this code For AeDating IQ 4.1 Patch 0000

    PHP Code:
    $onl_arr db_arr("SELECT  count(DISTINCTROW userid) AS count_onl FROM flashchat_connections WHERE `updated` > SUBDATE(NOW(), INTERVAL $min MINUTE)"); 
    its Working Correctly...

    P.s: Flash Chat v.4.4.2

  10. #10

    Join Date
    Sep 2006
    Posts
    431

    Default

    I tried this in dating. The code line was identical, but wehn I used the fchat code it did not work. It still always registers "0" chatters.

    My default is to show on line after 5 minutes

    Any suggestions? I don't like my front page saying "0" chatters.

    Thanks

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. 10,000 Users
    By Smoge in forum Announcements
    Replies: 0
    Last Post: 03-10-2010, 12:24 AM
  2. Users in the database - 6.005 ?
    By Legend in forum Dolphin General Discussion v6.00 and above
    Replies: 5
    Last Post: 03-26-2008, 01:13 PM
  3. chatting counter is still showing 0 !!!!
    By tarif in forum Free Mod Exchange
    Replies: 3
    Last Post: 07-17-2007, 11:15 AM
  4. Number of people chatting not working
    By webbuddy in forum Ray Community Widget Suite
    Replies: 8
    Last Post: 06-22-2007, 08:24 AM
  5. Users polls
    By BAVARAC in forum Dolphin General Discussion v5.3 to v5.6.5
    Replies: 11
    Last Post: 01-07-2007, 06:45 AM

Bookmarks

Posting Permissions

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