Author Topic: "xx images in xx categories" counts wrong  (Read 4939 times)

0 Members and 1 Guest are viewing this topic.

Offline icefox

  • Newbie
  • *
  • Posts: 48
    • View Profile
"xx images in xx categories" counts wrong
« on: November 28, 2005, 03:46:09 PM »
I already searched on this one, but couldn't find anything close:

The counter on my mainpage displays not only the "real" images, he counts the THUMBS also.
So when I have 50 "real" images uploaded (plus 50 thumbs), he says "100 images in 23 categories".

Where can that be changed please? So he counts only the "real" images, not the thumbs too.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: "xx images in xx categories" counts wrong
« Reply #1 on: November 29, 2005, 12:08:51 AM »
The default "counter" does not count the files, it count number of entries in the database, so unless you altered the code this should not be happening.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)