forum.coppermine-gallery.net
Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: tysoh on November 19, 2006, 03:33:29 am
-
In the index page, its shows: "84 files in 40 albums and 1 categories with 2 comments downloaded 4208 times"
I would like to show the number of members that have registered with us also, pls advice, thanks in advance.
-
Then you need extra mysql query to count the number of members from xxx_users table and then add it to $statistics variable under get_cat_list() function of index.php (tip:you can run your mysql query under that function ;D )
-
Nibbler's onlinestats plugin shows the number of registered users, however not in the gallery stats you mentioned
-
Then you need extra mysql query to count the number of members from xxx_users table and then add it to $statistics variable under get_cat_list() function of index.php (tip:you can run your mysql query under that function ;D )
Would mind showing me a step-by-step how to do it? Thanks in advance...
-
Take a look at Nibbler's onlinestat plugin that sramm suggested it will help you to get the idea