Advanced search  

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

Pages: [1]   Go Down

Author Topic: How to display stats on top of cat list?  (Read 4916 times)

0 Members and 1 Guest are viewing this topic.

DefenceTalk.com

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 230
    • http://www.defencetalk.com
How to display stats on top of cat list?
« on: October 23, 2003, 05:49:38 am »

Hey...

I would like to display this:

Quote

1046 pictures in 167 albums and 49 categories with 14 comments viewed 22958 times


http://www.defencetalk.com/pictures

On top of very top right below the menu/admin menu - How can i do it? I tried playing with config but... :( didn't do much good!!!

Thank u
Logged
(http://www.defencetalk.com/pictures/signature_cpg.php)

jasendorf

  • VIP
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 350
    • http://www.338tharmyband.com
How to display stats on top of cat list?
« Reply #1 on: October 23, 2003, 06:23:28 am »

see if changing line 145 in index.php from:
Code: [Select]

 if ($cat == 0) {


to
Code: [Select]

 if (0 == 0) {


does the trick for you.
Logged
Read the Online DOCs,FAQ, and SEARCH the board BEFORE posting questions for help.

DefenceTalk.com

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 230
    • http://www.defencetalk.com
How to display stats on top of cat list?
« Reply #2 on: October 23, 2003, 06:38:35 am »

Noope...  :?


thanks
Logged
(http://www.defencetalk.com/pictures/signature_cpg.php)

jasendorf

  • VIP
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 350
    • http://www.338tharmyband.com
How to display stats on top of cat list?
« Reply #3 on: October 23, 2003, 06:41:54 am »

hmmm... worked for me...

OHHHHH... I thought you wanted it on every page...  oooops.  you wanted it on the "very" not "every".... sorry about that.

Well, that place I showed you is where that piece is created (it's called stat1 I think)...
Logged
Read the Online DOCs,FAQ, and SEARCH the board BEFORE posting questions for help.

DefenceTalk.com

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 230
    • http://www.defencetalk.com
How to display stats on top of cat list?
« Reply #4 on: October 23, 2003, 03:29:11 pm »

I wonder, if i can could use anycontent.php to display the stats on top of the categories instead of bottom? :?
Logged
(http://www.defencetalk.com/pictures/signature_cpg.php)

DefenceTalk.com

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 230
    • http://www.defencetalk.com
How to display stats on top of cat list?
« Reply #5 on: October 24, 2003, 06:00:07 am »

:?

Well, I managed to display SOMETHING somehow!!!  :wink:

Check it out- right below the drop down menu... "gallery stats" [/url]
Logged
(http://www.defencetalk.com/pictures/signature_cpg.php)
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 19 queries.