Displaying number of members in index page Displaying number of members in index page
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Displaying number of members in index page

Started by tysoh, November 19, 2006, 03:33:29 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

tysoh

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.

Sami

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 )
‍I don't answer to PM with support question
Please post your issue to related board

Stramm

Nibbler's onlinestats plugin shows the number of registered users, however not in the gallery stats you mentioned

tysoh

Quote from: Sami on November 19, 2006, 12:06:00 PM
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...

Sami

Take a look at Nibbler's onlinestat plugin that sramm suggested it will help you to get the idea
‍I don't answer to PM with support question
Please post your issue to related board