Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: How to display stats on top of cat list?  (Read 4167 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.015 seconds with 20 queries.