Results 1 to 6 of 6

Thread: stats question

  1. #1
    Join Date
    Aug 2007
    Posts
    60

    Default stats question

    Hello
    how would i find the file (php) that tabulates the total members & mailing list subscribers? I know the block it is in but i need to know where it pulls that from... some function page maybe? Would like to see..

    thanks
    http://NassauCountyBusinessDirectory.com - Your One Stop Source for Nassau County NY
    Nashville Business Directory - Your Tennessee Capital Business Directory

  2. #2
    Join Date
    Aug 2007
    Posts
    60

    Default duh

    found it.. but how would i be able to add say 100 to the members count through the php file not adding them manually...code is:

    $query = "select count(*) as tu from idx_users where status = 1";
    $result = $dbConn->Execute($query);
    $total_member = $result->Fields("tu");
    http://NassauCountyBusinessDirectory.com - Your One Stop Source for Nassau County NY
    Nashville Business Directory - Your Tennessee Capital Business Directory

  3. #3
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    why not just generate 100 users and import them into phpmyadmin. It would take less than one minute to do

  4. #4
    Join Date
    Aug 2007
    Posts
    60

    Default ok

    u have any mySQL dump data to share for this? thank you!
    http://NassauCountyBusinessDirectory.com - Your One Stop Source for Nassau County NY
    Nashville Business Directory - Your Tennessee Capital Business Directory

  5. #5
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    Export your users table, copy one line and paste it 100 times. Then add an increasing number to the username and reimport.

    Ensure that you copy a line from a user who is already verified otherwise your user count will not increase.

  6. #6
    Join Date
    Apr 2003
    Location
    Atlanta GA
    Posts
    3,395

    Default

    Quote Originally Posted by kosmo101 View Post
    found it.. but how would i be able to add say 100 to the members count through the php file not adding them manually...code is:

    $query = "select count(*) as tu from idx_users where status = 1";
    $result = $dbConn->Execute($query);
    $total_member = $result->Fields("tu");
    two seconds:
    $total_member = $result->Fields("tu")+100;


    .
    esm
    "The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology."

    .

Similar Threads

  1. Stats
    By Mitchell in forum INDEXU DELUXE v1.x
    Replies: 6
    Last Post: 05-06-2008, 05:23 PM
  2. Pagerank Stats Box
    By mbarnett in forum v5.x
    Replies: 2
    Last Post: 07-31-2006, 07:41 AM
  3. More stats for Indexu
    By aladdin1 in forum v5.x
    Replies: 1
    Last Post: 08-15-2005, 03:32 AM
  4. Advanced Stats
    By persut in forum v3.2
    Replies: 8
    Last Post: 03-27-2004, 10:44 AM
  5. stats
    By slamcity1 in forum v5.x
    Replies: 3
    Last Post: 12-14-2002, 02:21 AM

Posting Permissions

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