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: Hi! Two questions  (Read 3793 times)

0 Members and 1 Guest are viewing this topic.

swissgroover

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Hi! Two questions
« on: January 22, 2008, 12:50:03 pm »

1) How can I make my own statisticas page, where is how many pictures, albums, pageviews are.
Very easy page, just:
10 000 pictures, in 100 album. 1 000 000 pageviews.

2) How I can but MOST VISITED ALBUMS list into frontpage - like topn?

Thanks!
« Last Edit: January 22, 2008, 07:01:57 pm by Joachim Müller »
Logged

Abbas Ali

  • Administrator
  • Coppermine addict
  • *****
  • Country: in
  • Offline Offline
  • Gender: Male
  • Posts: 2165
  • Spread the PHP Web
    • Ranium Systems
Re: Hi! Two questions
« Reply #1 on: January 22, 2008, 01:00:37 pm »

We have a strict one question per thread policy and you agreed to it while registering on this forum.

1) Can be done with a little programming. Afaik there is no such mod being coded as yet.
2) Coppermine does not support MOST VISITED ALBUMS meta set. Again custom code is needed.

Search the forum to make sure you are the first one to ask above questions.
Logged
Chief Geek at Ranium Systems

swissgroover

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Hi! Two questions
« Reply #2 on: January 22, 2008, 01:06:26 pm »

Really sorry ;) English isn't my motherlanguage.

But, can I print someway $picture_count or [PICTURE_COUNT]
That file will be located CPG catalog.

I'm in trouble. I deleted some code what printed picture count, but now i can't undo this step.
I'm not programmer ;)
Logged

Abbas Ali

  • Administrator
  • Coppermine addict
  • *****
  • Country: in
  • Offline Offline
  • Gender: Male
  • Posts: 2165
  • Spread the PHP Web
    • Ranium Systems
Re: Hi! Two questions
« Reply #3 on: January 22, 2008, 01:11:22 pm »

Replace the file you modified with the corresponding file from a fresh download. You cannot print $picture_count and get the count magically. $picture_count needs to be populated with correct data with the help of some code.
Logged
Chief Geek at Ranium Systems

swissgroover

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Hi! Two questions
« Reply #4 on: January 22, 2008, 01:20:26 pm »

In english.php I have...

Code: [Select]

$lang_list_categories = array(
  'home' => 'Index',
  'stat1' => '<b>[pictures]</b> pictures. <b>[albums]</b> albumbs. <b>[comments]</b> comments and <b>[views]</b> pageviews.',
  'stat2' => '<b>[pictures]</b> pictures. <b>[albums]</b> albums. Pagevisits <b>[views]</b>.',
  'xx_s_gallery' => '%s gallery',
  'stat3' => 'mysite - <b>[pictures]</b> pictures. <b>[albums]</b> albumbs.',

... and...
Code: [Select]
$lang_album_list = array(
  'album_on_page' => '%d albumit %d lehel',


Last one... that is printed to my webpage.

Mabey i can print pictures count too?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Hi! Two questions
« Reply #5 on: January 22, 2008, 01:25:10 pm »

Yours is just wishfull thinking. You can't make things up, you need to code them. As you appear to have no idea how this can be accomplished, you'll need to hire someone to code this for you. It can't be done easily and is beyond of what you can expect from free support.
« Last Edit: January 22, 2008, 07:01:48 pm by Joachim Müller »
Logged

swissgroover

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Hi! Two questions
« Reply #6 on: January 22, 2008, 01:27:30 pm »

Is some differnt way I can watch how many pictures is in CPG?
Logged

Abbas Ali

  • Administrator
  • Coppermine addict
  • *****
  • Country: in
  • Offline Offline
  • Gender: Male
  • Posts: 2165
  • Spread the PHP Web
    • Ranium Systems
Re: Hi! Two questions
« Reply #7 on: January 22, 2008, 01:34:13 pm »

No way apart from coding.
Logged
Chief Geek at Ranium Systems
Pages: [1]   Go Up
 

Page created in 0.031 seconds with 19 queries.