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: a way to erase Timestamps/Viewing statistics on main page?  (Read 4088 times)

0 Members and 1 Guest are viewing this topic.

albertvillain

  • Coppermine newbie
  • Offline Offline
  • Posts: 8

dEar Gentlemen,

On the gallery main page, is there a way Not to make visible to public information like :

"164 files in 4 albums with 0 comments viewed 0 times"

or

"33 files, last one added on May 21, 2008"

I would like the site to look kind of pro (I have voting/comments options turned off) and having written on it stuff like "viewed 0 times" could rather mean something bad and also I don't want people to see that the gallery is brand new from yesterday.
 
I have to say I don't have any idea about html...I only managed to get rid of unused menu buttons so far after reading your nice discussion efforts here. For what I want to thank you very much. I am using 1.4Coppermine available in Fantastico of my domain provider UK2.net

Thank you for any help!
Rex
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: a way to erase Timestamps/Viewing statistics on main page?
« Reply #1 on: May 21, 2008, 05:57:56 pm »

Has been asked and answered very often already - use the search. Search terms that come to mind are "remove stats" or "remove album stats".
Logged

albertvillain

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: a way to erase Timestamps/Viewing statistics on main page?
« Reply #2 on: May 21, 2008, 06:43:12 pm »

Thank you, I am searching now inside my language_cat_list and I am about to erase this in User_Admin menu array, am I right?

$lang_cat_list = array(
  'category' => 'Category',
  'albums' => 'Albums',
  'pictures' => 'Files',
);

$lang_album_list = array(
  'album_on_page' => '%d albums on %d page(s)',
);

$lang_thumb_view = array(
  'date' => 'DATE',
  //Sort by filename and title
  'name' => 'FILE NAME',
  'title' => 'TITLE',
  'sort_da' => 'Sort by date ascending',
  'sort_dd' => 'Sort by date descending',
  'sort_na' => 'Sort by name ascending',
  'sort_nd' => 'Sort by name descending',
  'sort_ta' => 'Sort by title ascending',
  'sort_td' => 'Sort by title descending',
  'position' => 'POSITION', //cpg1.4
  'sort_pa' => 'Sort by position ascending', //cpg1.4
  'sort_pd' => 'Sort by position descending', //cpg1.4
  'download_zip' => 'Download as Zip file',
  'pic_on_page' => '%d files on %d page(s)',
  'user_on_page' => '%d users on %d page(s)',
  'enter_alb_pass' => 'Enter Album Password', //cpg1.4
  'invalid_pass' => 'Invalid Password', //cpg1.4
  'pass' => 'Password', //cpg1.4
  'submit' => 'Submit', //cpg1.4
);


And would it mean for example that if I erase this here, when you hover with the mouse above a thumbnail this information won't be displayed?:

$lang_display_thumbnails = array(
  'filename' => 'Filename=', //cpg1.4
  'filesize' => 'Filesize=', //cpg1.4
  'dimensions' => 'Dimensions=', //cpg1.4
  'date_added' => 'Date added=', //cpg1.4
);

Sorry but I am mere doing it by luck, I have no idea of the system...

PS and nice to directly meet you Gaugau! You're the elite master here and your avatar looks like Kahn, the goalkeeper of the German soccer team (we liked him a lot)
Logged

albertvillain

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Now I really NEED HELP!
« Reply #3 on: May 21, 2008, 07:22:02 pm »

I erased something and ended up in
Parse error: syntax error, unexpected ')' in /home2/adeytoco/public_html/telescope/lang/english.php on line 196

Can I reset the English.php to default somehow? Do you have the entire code somewhere so that I can copy and paste all back? I don't know what and where was ersed, now all gallery is GONE...
Logged

albertvillain

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Replying to myself
« Reply #4 on: May 21, 2008, 07:28:54 pm »

Thanx god I am smrt enough given the fact I have NO idea about html or similar. I found the British english sheet and copied and pasted all back, now I can try this experiment all over and over thanx God there is also British English not only just English language...

and you my followers learn from my mistakes
Logged

albertvillain

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
THE REAL ANSWER
« Reply #5 on: May 21, 2008, 07:38:34 pm »

People, go to your language and choose english.php or whatever language you use.
Open the directory and scroll down to this and erase it.
All damned stats will be gone from public eye!

YAY!!!!!!!!!

// ------------------------------------------------------------------------- //
// File index.php
// ------------------------------------------------------------------------- //

$lang_list_categories = array(
  'home' => 'Home',
  'stat1' => '<b>[pictures]</b> files in <b>[albums]</b> albums and <b>[cat]</b> categories with <b>[comments]</b> comments viewed <b>[views]</b> times',
  'stat2' => '<b>[pictures]</b> files in <b>[albums]</b> albums viewed <b>[views]</b> times',
  'xx_s_gallery' => '%s\'s Gallery',
  'stat3' => '<b>[pictures]</b> files in <b>[albums]</b> albums with <b>[comments]</b> comments viewed <b>[views]</b> times',


$lang_list_albums = array(
  'n_pictures' => '%s files',
  'last_added' => ', last one added on %s',
  'n_link_pictures' => '%s linked files', //cpg1.4
  'total_pictures' => '%s files total', //cpg1.4
);
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: a way to erase Timestamps/Viewing statistics on main page?
« Reply #6 on: May 21, 2008, 10:02:45 pm »

@all: don't do that! Do not erase the entire array!
Logged

albertvillain

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: a way to erase Timestamps/Viewing statistics on main page?
« Reply #7 on: May 22, 2008, 03:23:54 pm »

Yes, I wasn't clear enough, erase only the html text written under the

======================
File Index
======================

this above here must be kept at all times! Sorry for not specifying it...
Logged
Pages: [1]   Go Up
 

Page created in 0.027 seconds with 19 queries.