Thumbnail Statistics in thumbnails.php... ...please help. Thumbnail Statistics in thumbnails.php... ...please help.
 

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

Thumbnail Statistics in thumbnails.php... ...please help.

Started by jedi, November 03, 2004, 07:15:53 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jedi

Hello again,

I sincerely apologize if this has been posted before.  I did a search, and I couldn't, for the life of me, find something that exactly matched my problem.

I need to remove the statistics on the album thumbnail page.  Not the main page, I've already done that thanks to a successful search of the archives.  I'm talking about "thumbnails.php", where the pictures in the individual albums are shown.

Once I get this done, I'll finally be able to launch the site, and it will be in very large part due to the experts here at the coppermine's technical support team!

Thank you!

Joachim Müller

coppermine config, set "Display number of views below the thumbnail" to "no".

Joachim

jedi

That's not quite what I was looking for..

I'm looking to remove the statistics regarding number of images on number of pages at the bottom of the page.

I tried looking for something similar to the fix for removing the main page's statistics, but I couldn't find anything.

Joachim Müller

edit themes/yourtheme/theme.php, find$theme_thumb_tab_tmpl['left_text'] = strtr($theme_thumb_tab_tmpl['left_text'], array('{LEFT_TEXT}' => $lang_thumb_view['pic_on_page']));and replace with$theme_thumb_tab_tmpl['left_text'] = strtr($theme_thumb_tab_tmpl['left_text'], array('{LEFT_TEXT}' => ''));
Joachim

jedi

I did that, and it returned this error:


Parse error: parse error in /usr/home/angeles/htdocs/ussangeles.org/Awaymissions/themes/lcars/theme.php on line 1258
Template error
Failed to find block 'c_album_cell'(#(<!-- BEGIN c_album_cell -->)(.*?)(<!-- END c_album_cell -->)#s) in :

What happened?

Joachim Müller

oops, sorry - wrong place to edit. Undo above modifications, instead: find $template_tab_display = array('left_text' => '<td width="100%%" align="left" valign="middle" class="tableh1_compact" style="white-space: nowrap"><b>{LEFT_TEXT}</b></td>' . "\n",and replace$template_tab_display = array('left_text' => '<td width="100%%" align="left" valign="middle" class="tableh1_compact" style="white-space: nowrap"><b><!--{LEFT_TEXT}--></b></td>' . "\n",

Joachim

jedi

Nope, it didn't quite remove what I'm looking to make disappear...

Here's the part on thumbnails.php I'm talking about...

Casper

The easy way is to open your language file, i.e., english.php, and find;

'pic_on_page' => '%d files on %d page(s)',

Change it to;

'pic_on_page' => '',
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here