a way to erase Timestamps/Viewing statistics on main page? a way to erase Timestamps/Viewing statistics on main page?
 

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

Main Menu

a way to erase Timestamps/Viewing statistics on main page?

Started by albertvillain, May 21, 2008, 04:30:50 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

albertvillain

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

Joachim Müller

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

albertvillain

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)

albertvillain

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

albertvillain

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

albertvillain

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

Joachim Müller

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

albertvillain

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