Hi! Two questions Hi! Two questions
 

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]

Main Menu

Hi! Two questions

Started by swissgroover, January 22, 2008, 12:50:03 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

swissgroover

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!

Abbas Ali

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.
Chief Geek at Ranium Systems

swissgroover

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 ;)

Abbas Ali

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.
Chief Geek at Ranium Systems

swissgroover

In english.php I have...



$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...

$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?

Joachim Müller

#5
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.

swissgroover

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

Abbas Ali

Chief Geek at Ranium Systems